/* ==========================================================================
   buildingthrough.com - homepage redesign (2026)
   Standalone stylesheet: only loaded by the homepage template.
   ========================================================================== */

:root {
  --bt-ink: #0e1c2e;
  --bt-ink-2: #3d4b5f;
  --bt-muted: #6d7a8c;
  --bt-line: #e5e9f0;
  --bt-bg: #f4f6f9;
  --bt-card: #ffffff;
  --bt-navy: #0b2948;
  --bt-navy-2: #123c66;
  --bt-accent: #f07d1f;
  --bt-accent-dark: #d9660b;
  --bt-radius: 14px;
  --bt-shadow: 0 8px 28px rgba(13, 33, 56, 0.08);
  --bt-wrap: 1240px;
  --bt-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.bt-body {
  margin: 0;
  background: var(--bt-bg);
  color: var(--bt-ink);
  font-family: var(--bt-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.bt-body img { max-width: 100%; border: 0; }
.bt-body a { color: inherit; text-decoration: none; }
.bt-body a:hover { color: var(--bt-accent-dark); }
.bt-body ul { margin: 0; padding: 0; list-style: none; }
.bt-body h1, .bt-body h2, .bt-body h3, .bt-body h4, .bt-body p { margin: 0; }

.bt-wrap {
  width: 100%;
  max-width: var(--bt-wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.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-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--bt-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 10px; color: #fff; }

:focus-visible {
  outline: 3px solid rgba(240, 125, 31, .55);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Top utility bar
   -------------------------------------------------------------------------- */
.bt-topbar {
  background: #071c31;
  color: #c7d5e5;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.bt-topbar .bt-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}
.bt-topbar-left { display: flex; align-items: center; gap: 8px; }
.bt-topbar-left svg { flex: 0 0 auto; opacity: .85; }
.bt-topbar-links { display: flex; align-items: center; gap: 18px; }
.bt-topbar a { color: #c7d5e5; }
.bt-topbar a:hover { color: #fff; }
.bt-topbar .sep { color: #3a5977; }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */
.bt-masthead {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--bt-line);
  box-shadow: 0 1px 0 rgba(13, 33, 56, .02);
}
.bt-masthead.is-stuck { box-shadow: 0 8px 24px rgba(13, 33, 56, .1); }
.bt-masthead .bt-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}
.bt-brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.bt-brand img { height: 40px; width: auto; display: block; }
.bt-brand-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  background: #eaf1f9;
  color: var(--bt-navy-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bt-search {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  height: 46px;
  border: 2px solid var(--bt-navy-2);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  max-width: 700px;
}
.bt-search-select {
  flex: 0 0 auto;
  width: 122px;
  border: 0;
  border-right: 1px solid var(--bt-line);
  background: #f6f8fb;
  color: var(--bt-ink-2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 10px;
  cursor: pointer;
}
.bt-search-select:focus { outline: none; background: #eef3f9; }
.bt-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--bt-ink);
  background: transparent;
}
.bt-search-input::placeholder { color: #93a0b1; }
.bt-search-input:focus { outline: none; }
.bt-search-btn {
  flex: 0 0 auto;
  border: 0;
  padding: 0 26px;
  background: var(--bt-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: background .15s ease;
}
.bt-search-btn:hover { background: var(--bt-accent-dark); }

.bt-head-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bt-ink-2);
}
.bt-head-actions .divider { width: 1px; height: 18px; background: var(--bt-line); }
.bt-head-actions a:hover { color: var(--bt-accent-dark); }
.bt-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 210px;
}
.bt-user-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Primary navigation
   -------------------------------------------------------------------------- */
.bt-nav {
  background: #fff;
  border-bottom: 1px solid var(--bt-line);
}
.bt-nav .bt-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
}
.bt-nav-item { position: relative; }
.bt-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--bt-ink-2);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.bt-nav-link:hover, .bt-nav-item:focus-within > .bt-nav-link { color: var(--bt-navy); border-bottom-color: var(--bt-accent); }
.bt-nav-link svg { opacity: .55; }
.bt-nav-hot {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--bt-muted);
  overflow: hidden;
  white-space: nowrap;
}
.bt-nav-hot a:hover { color: var(--bt-accent-dark); }

.bt-mega {
  position: absolute;
  top: 100%;
  left: 0;
  width: 660px;
  padding: 18px 20px 20px;
  background: #fff;
  border: 1px solid var(--bt-line);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--bt-shadow);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px 26px;
  z-index: 95;
}
.bt-nav-item:hover .bt-mega,
.bt-nav-item:focus-within .bt-mega { display: grid; }
.bt-mega a {
  display: block;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--bt-ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bt-mega a:hover { background: #f3f6fa; color: var(--bt-navy); }
.bt-mega-all {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--bt-line);
  font-weight: 700;
  color: var(--bt-navy) !important;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.bt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 360px at 88% 10%, rgba(240, 125, 31, .22), transparent 60%),
    radial-gradient(700px 320px at 4% 90%, rgba(47, 118, 185, .28), transparent 65%),
    linear-gradient(118deg, #081f36 0%, #0d3355 55%, #123f68 100%);
  color: #fff;
}
.bt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
  pointer-events: none;
}
.bt-hero .bt-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
  align-items: center;
}
.bt-hero-copy { min-width: 0; }
.bt-hero-search input { width: 0; }
.bt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #e7f0fa;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bt-hero-badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .18);
}
.bt-hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.bt-hero h1 em { font-style: normal; color: #ffb15f; }
.bt-hero-sub {
  max-width: 540px;
  color: #bfd3e8;
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 26px;
}
.bt-hero-search {
  display: flex;
  align-items: stretch;
  height: 54px;
  max-width: 580px;
  background: #fff;
  border-radius: 12px;
  padding: 5px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
}
.bt-hero-search select {
  flex: 0 0 auto;
  width: 118px;
  border: 0;
  background: #f3f6fa;
  border-radius: 8px;
  color: var(--bt-ink-2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 0 10px;
  cursor: pointer;
}
.bt-hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--bt-ink);
}
.bt-hero-search input:focus, .bt-hero-search select:focus { outline: none; }
.bt-hero-search button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 9px;
  padding: 0 26px;
  background: var(--bt-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease;
}
.bt-hero-search button:hover { background: var(--bt-accent-dark); }

.bt-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  max-width: 620px;
}
.bt-hero-chips .label { color: #8fb0cf; font-size: 12.5px; align-self: center; margin-right: 2px; }
.bt-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .17);
  color: #dbe8f5;
  font-size: 12.5px;
  transition: background .15s ease, border-color .15s ease;
}
.bt-chip:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .34); color: #fff; }

.bt-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.bt-stat-num {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.bt-stat-num span { color: #ffb15f; }
.bt-stat-label { margin-top: 3px; font-size: 12.5px; color: #9cb7d2; }

.bt-hero-visual {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 132px 132px;
  gap: 12px;
}
.bt-hero-tile {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #163a5c;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
}
.bt-hero-tile:first-child { grid-row: 1 / 3; }
.bt-hero-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.bt-hero-tile:hover img { transform: scale(1.05); }
.bt-hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 17, 31, .82), rgba(4, 17, 31, .02) 58%);
  pointer-events: none;
}
.bt-hero-tile .cap {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bt-hero-tile .cap small {
  display: block;
  margin-top: 2px;
  color: #ffc78c;
  font-size: 11.5px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.bt-section { padding: 46px 0 8px; }
.bt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.bt-section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--bt-ink);
  line-height: 1.25;
}
.bt-section-title small {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--bt-muted);
  letter-spacing: 0;
}
.bt-section-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bt-navy-2);
  white-space: nowrap;
}
.bt-section-link:hover { gap: 9px; color: var(--bt-accent-dark); }

/* Category cards */
.bt-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.bt-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--bt-card);
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  padding: 16px 16px 12px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bt-cat-card:hover { border-color: #cbd8e6; box-shadow: var(--bt-shadow); transform: translateY(-2px); }
.bt-cat-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.bt-cat-icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1f9;
  color: var(--bt-navy-2);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.bt-cat-card:nth-child(4n+2) .bt-cat-icon { background: #fdf0e3; color: #c2650c; }
.bt-cat-card:nth-child(4n+3) .bt-cat-icon { background: #e9f7f2; color: #0e7a5a; }
.bt-cat-card:nth-child(4n+4) .bt-cat-icon { background: #f1edfb; color: #5b3fb0; }
.bt-cat-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bt-ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bt-cat-links { display: flex; flex-direction: column; gap: 1px; margin-bottom: 6px; }
.bt-cat-links a {
  font-size: 12.5px;
  color: var(--bt-muted);
  padding: 3px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bt-cat-links a:hover { color: var(--bt-accent-dark); }
.bt-cat-more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--bt-navy-2);
  padding-top: 6px;
}

/* Product cards */
.bt-prod-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.bt-prod-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bt-prod-card {
  display: flex;
  flex-direction: column;
  background: var(--bt-card);
  border: 1px solid var(--bt-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.bt-prod-card:hover { border-color: #cbd8e6; box-shadow: var(--bt-shadow); transform: translateY(-2px); }
.bt-prod-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef2f7;
  overflow: hidden;
}
.bt-prod-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.bt-prod-card:hover .bt-prod-media img { transform: scale(1.06); }
.bt-prod-badge {
  position: absolute;
  left: 8px; top: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(11, 41, 72, .9);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bt-prod-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 10px 11px 12px; }
.bt-prod-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--bt-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.bt-prod-card:hover .bt-prod-name { color: var(--bt-accent-dark); }
.bt-prod-price {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--bt-accent-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bt-prod-price.is-empty { color: #a3adba; font-weight: 500; font-size: 12px; }

/* Suppliers */
.bt-sup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.bt-sup-card {
  display: flex;
  flex-direction: column;
  background: var(--bt-card);
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
  padding: 18px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bt-sup-card:hover { border-color: #cbd8e6; box-shadow: var(--bt-shadow); }
.bt-sup-head { display: flex; align-items: center; gap: 12px; }
.bt-sup-logo {
  position: relative;
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 12px;
  border: 1px solid var(--bt-line);
  background: #f5f8fb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bt-sup-logo img { width: 100%; height: 100%; object-fit: contain; }
.bt-sup-logo.logo-empty::before {
  content: attr(data-initial);
  font-size: 20px;
  font-weight: 800;
  color: var(--bt-navy-2);
}
.bt-sup-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bt-sup-country {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--bt-muted);
}
.bt-sup-country svg { opacity: .6; }
.bt-sup-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.bt-sup-products a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f7;
}
.bt-sup-products img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-sup-cta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--bt-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bt-navy-2);
}

/* Category showcase blocks */
.bt-showcase {
  margin-top: 16px;
  padding: 22px;
  background: var(--bt-card);
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
}
.bt-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.bt-showcase-title { font-size: 19px; font-weight: 800; }
.bt-showcase-title small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--bt-muted);
}
.bt-showcase .bt-prod-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Countries */
.bt-country-box {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 22px;
  background: var(--bt-card);
  border: 1px solid var(--bt-line);
  border-radius: var(--bt-radius);
}
.bt-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--bt-line);
  background: #f8fafc;
  font-size: 13px;
  color: var(--bt-ink-2);
  transition: all .15s ease;
}
.bt-country-chip:hover { border-color: var(--bt-navy-2); background: #fff; color: var(--bt-navy); }
.bt-country-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bt-accent); opacity: .75; }

/* CTA band */
.bt-cta {
  margin: 46px 0 10px;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(520px 220px at 85% 15%, rgba(240, 125, 31, .28), transparent 65%),
    linear-gradient(110deg, #0a2540, #123f68 70%);
  color: #fff;
}
.bt-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
}
.bt-cta h2 { font-size: 25px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.bt-cta p { color: #b9cee3; font-size: 14px; max-width: 620px; }
.bt-cta-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease;
}
.bt-btn-primary { background: var(--bt-accent); color: #fff; }
.bt-btn-primary:hover { background: var(--bt-accent-dark); color: #fff; }
.bt-btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.bt-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.bt-footer {
  margin-top: 46px;
  background: #071c31;
  color: #a9bdd2;
  font-size: 13.5px;
}
.bt-footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0 34px;
}
.bt-footer-brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.bt-footer-brand p { margin-top: 14px; line-height: 1.7; max-width: 330px; color: #90a8be; }
.bt-footer-social { display: flex; gap: 9px; margin-top: 18px; }
.bt-footer-social a {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #c6d6e6;
}
.bt-footer-social a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.bt-footer-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.bt-footer-links { display: flex; flex-direction: column; gap: 9px; }
.bt-footer-links a { color: #a9bdd2; }
.bt-footer-links a:hover { color: #fff; }
.bt-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12.5px;
  color: #8199b0;
}
.bt-footer-bottom a { color: #b9cbdc; }

/* Partner links */
.bt-partners {
  padding: 28px 0 6px;
  border-top: 1px solid var(--bt-line);
  margin-top: 40px;
}
.bt-partners-title { font-size: 13px; font-weight: 700; color: var(--bt-muted); margin-bottom: 10px; }
.bt-partners-list { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; }
.bt-partners-list a { color: #7d8b9d; }

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
.bt-mobile-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--bt-line);
  border-radius: 10px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bt-mobile-toggle span,
.bt-mobile-toggle span::before,
.bt-mobile-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--bt-ink);
  border-radius: 2px;
  position: relative;
  content: "";
}
.bt-mobile-toggle span::before { position: absolute; top: -6px; }
.bt-mobile-toggle span::after { position: absolute; top: 6px; }

.bt-masthead .bt-mobile-search { display: none; padding-bottom: 12px; }
.bt-mobile-search .bt-search { max-width: none; height: 44px; }

.bt-mobile-panel {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--bt-line);
  padding: 8px 20px 18px;
}
.bt-mobile-panel.is-open { display: block; }
.bt-mobile-panel h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bt-muted);
  margin: 14px 0 6px;
}
.bt-mobile-panel a {
  display: block;
  padding: 9px 2px;
  border-bottom: 1px solid #f1f4f8;
  font-size: 14px;
  color: var(--bt-ink-2);
}

@media (max-width: 1180px) {
  .bt-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bt-showcase .bt-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bt-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bt-nav-hot { display: none; }
}

@media (max-width: 980px) {
  .bt-masthead .bt-wrap { min-height: 68px; gap: 16px; }
  .bt-head-actions .hide-sm { display: none; }
  .bt-nav { display: none; }
  .bt-mobile-toggle { display: inline-flex; }
  .bt-masthead .bt-wrap:not(.bt-mobile-search) > .bt-search { display: none; }
  .bt-masthead .bt-mobile-search { display: block; }
  .bt-hero .bt-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .bt-hero-visual { grid-template-rows: 110px 110px; }
  .bt-hero-sub { max-width: none; }
  .bt-sup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body.bt-body { font-size: 14px; }
  .bt-topbar { display: none; }
  .bt-masthead { position: relative; }
  .bt-brand { min-width: 0; overflow: hidden; }
  .bt-brand img { height: 28px; max-width: 210px; width: auto; object-fit: contain; object-position: left center; }
  .bt-brand-badge { display: none; }
  .bt-mobile-search .bt-search { display: flex; }
  .bt-hero h1 { font-size: 30px; }
  .bt-hero-chips { display: none; }
  .bt-hero-stats { gap: 22px; justify-content: space-between; margin-top: 26px; }
  .bt-stat-num { font-size: 20px; }
  .bt-hero-visual { display: none; }
  .bt-section { padding-top: 34px; }
  .bt-section-title { font-size: 20px; }
  .bt-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bt-cat-card { padding: 12px; }
  .bt-cat-icon { width: 34px; height: 34px; font-size: 14px; }
  .bt-prod-grid,
  .bt-showcase .bt-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bt-showcase { padding: 14px; }
  .bt-sup-grid { grid-template-columns: 1fr; }
  .bt-cta-inner { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .bt-cta-actions { width: 100%; }
  .bt-cta-actions .bt-btn { flex: 1 1 auto; }
  .bt-footer-main { grid-template-columns: 1fr; gap: 26px; padding: 34px 0 26px; }
  .bt-footer-bottom { flex-direction: column; align-items: flex-start; }
  .bt-hero-search { height: 48px; }
  .bt-hero-search button { padding: 0 18px; }
}

@media (max-width: 420px) {
  .bt-brand img { max-width: 176px; }
  .bt-prod-grid,
  .bt-showcase .bt-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-prod-name { font-size: 12.5px; min-height: 34px; }
  .bt-cat-links { display: none; }
}
