/*
Theme Name: Battleaxe Astra Child
Theme URI: https://battleaxeairsoft.com
Description: Battleaxe premium performance parts website child theme based on Astra.
Author: Battleaxe
Template: astra
Version: 1.0.0
Text Domain: battleaxe-astra-child
*/

:root {
  --bx-bg: #07090b;
  --bx-bg-soft: #101419;
  --bx-panel: #151a20;
  --bx-panel-2: #1d232b;
  --bx-line: rgba(255, 255, 255, 0.11);
  --bx-line-strong: rgba(255, 255, 255, 0.2);
  --bx-text: #f3f5f7;
  --bx-muted: #a9b0b8;
  --bx-red: #d61f26;
  --bx-red-dark: #94171c;
  --bx-steel: #7d8792;
  --bx-max: 1200px;
}

body.battleaxe-home {
  background: var(--bx-bg);
  color: var(--bx-text);
  font-family: Inter, "Arial", sans-serif;
}

.bx-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(214, 31, 38, 0.08), transparent 420px),
    radial-gradient(circle at top right, rgba(125, 135, 146, 0.16), transparent 360px),
    var(--bx-bg);
  overflow-x: hidden;
}

.bx-container {
  width: min(100% - 40px, var(--bx-max));
  margin: 0 auto;
}

.bx-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--bx-line);
  background: rgba(7, 9, 11, 0.88);
  backdrop-filter: blur(18px);
}

.bx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.bx-brand {
  color: var(--bx-text);
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.bx-brand span {
  color: var(--bx-red);
}

.bx-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bx-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bx-nav a {
  color: var(--bx-muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.bx-nav a:hover,
.bx-nav a:focus {
  color: var(--bx-text);
}

.bx-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bx-line);
  border-radius: 6px;
  background: var(--bx-panel);
  color: var(--bx-text);
  cursor: pointer;
}

.bx-menu-toggle span,
.bx-menu-toggle::before,
.bx-menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.bx-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--bx-line);
  background:
    linear-gradient(90deg, rgba(7, 9, 11, 0.96) 0%, rgba(7, 9, 11, 0.82) 45%, rgba(7, 9, 11, 0.2) 100%),
    var(--bx-bg-soft);
}

.bx-hero__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.55;
}

.bx-hero__content {
  position: relative;
  max-width: 720px;
  padding: 120px 0;
}

.bx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--bx-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bx-kicker::before {
  width: 42px;
  height: 2px;
  background: var(--bx-red);
  content: "";
}

.bx-hero h1,
.bx-section__head h2 {
  margin: 0;
  color: var(--bx-text);
  font-weight: 950;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0;
}

.bx-hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 92px);
}

.bx-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--bx-muted);
  font-size: 19px;
  line-height: 1.7;
}

.bx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.bx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--bx-line-strong);
  border-radius: 4px;
  color: var(--bx-text);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.bx-button--primary {
  border-color: var(--bx-red);
  background: linear-gradient(180deg, var(--bx-red), var(--bx-red-dark));
}

.bx-button--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.bx-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--bx-line);
}

.bx-section--alt {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%),
    var(--bx-bg-soft);
}

.bx-section__head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.bx-section__head h2 {
  max-width: 680px;
  font-size: clamp(32px, 4vw, 56px);
}

.bx-section__head p {
  max-width: 440px;
  margin: 0;
  color: var(--bx-muted);
  line-height: 1.7;
}

.bx-grid {
  display: grid;
  gap: 18px;
}

.bx-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bx-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bx-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bx-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--bx-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.bx-card__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border: 1px solid rgba(214, 31, 38, 0.5);
  border-radius: 6px;
  background: rgba(214, 31, 38, 0.12);
  color: var(--bx-red);
  font-size: 18px;
  font-weight: 950;
}

.bx-card h3 {
  margin: 0 0 12px;
  color: var(--bx-text);
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
}

.bx-card p {
  margin: 0;
  color: var(--bx-muted);
  font-size: 14px;
  line-height: 1.65;
}

.bx-download {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
}

.bx-download a,
.bx-card__link {
  margin-top: 18px;
  color: var(--bx-red);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.bx-product {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  background: var(--bx-panel);
}

.bx-product__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.42;
  transform: scale(1.02);
}

.bx-product,
.bx-category-card {
  position: relative;
}

.bx-product__body,
.bx-category-card__body {
  position: relative;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent, rgba(7, 9, 11, 0.88));
}

.bx-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.bx-about__copy p {
  color: var(--bx-muted);
  font-size: 17px;
  line-height: 1.8;
}

.bx-about__image {
  min-height: 440px;
  border: 1px solid var(--bx-line);
  border-radius: 8px;
  background-color: var(--bx-panel);
  background-position: center;
  background-size: cover;
}

.bx-news {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: stretch;
}

.bx-news__image {
  min-height: 420px;
  border-radius: 8px;
  background-color: var(--bx-panel);
  background-position: center;
  background-size: cover;
}

.bx-news__list {
  display: grid;
  gap: 14px;
}

.bx-news-item {
  padding: 24px;
  border: 1px solid var(--bx-line);
  border-radius: 8px;
  background: var(--bx-panel);
  text-decoration: none;
}

.bx-news-item h3 {
  margin: 0 0 10px;
  color: var(--bx-text);
  font-size: 20px;
}

.bx-news-item p {
  margin: 0;
  color: var(--bx-muted);
  line-height: 1.65;
}

.bx-category-card {
  min-height: 260px;
  overflow: hidden;
  padding: 0;
}

.bx-footer {
  padding: 42px 0;
  background: #050607;
}

.bx-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--bx-muted);
  font-size: 14px;
}

.bx-footer a {
  color: var(--bx-text);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .bx-grid--5,
  .bx-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bx-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bx-section__head,
  .bx-about,
  .bx-news {
    grid-template-columns: 1fr;
  }

  .bx-section__head {
    display: grid;
  }
}

@media (max-width: 760px) {
  .bx-container {
    width: min(100% - 28px, var(--bx-max));
  }

  .bx-header__inner {
    min-height: 66px;
  }

  .bx-menu-toggle {
    display: inline-block;
  }

  .bx-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 66px;
    display: none;
    padding: 16px;
    border: 1px solid var(--bx-line);
    border-radius: 8px;
    background: #090c10;
  }

  .bx-nav.is-open {
    display: block;
  }

  .bx-nav ul {
    display: grid;
    gap: 12px;
  }

  .bx-hero {
    min-height: 640px;
  }

  .bx-hero__content {
    padding: 84px 0;
  }

  .bx-section {
    padding: 64px 0;
  }

  .bx-grid--5,
  .bx-grid--4,
  .bx-grid--3 {
    grid-template-columns: 1fr;
  }

  .bx-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
