:root {
  --rx-bg: #05070d;
  --rx-panel: #0b101b;
  --rx-panel-2: #111827;
  --rx-line: rgba(96, 239, 255, .18);
  --rx-cyan: #2ee9ff;
  --rx-red: #ff2f6d;
  --rx-pink: #ff4bd8;
  --rx-text: #f7fbff;
  --rx-muted: #96a1b8;
}

body#index {
  background: var(--rx-bg);
  color: var(--rx-text);
}

body#index #wrapper,
body#index main,
body#index .page,
body#index .page-content,
body#index .rx-page-shell {
  background: transparent;
}

body#index #header {
  background: rgba(5, 7, 13, .94);
  border-bottom: 1px solid rgba(46, 233, 255, .22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

body#index .header-top {
  background: #070b13;
  color: var(--rx-muted);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

body#index .header-bottom {
  background: linear-gradient(90deg, #070b13, #0d1320 48%, #070b13);
}

body#index .header-block__title,
body#index .header-block__icon,
body#index .header-top a,
body#index .header-bottom a,
body#index .menu a {
  color: var(--rx-text) !important;
}

body#index .header-bottom__logo img {
  opacity: 0;
  width: 0;
}

body#index .header-bottom__logo a::after {
  content: "PARTSGROUP";
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--rx-text);
  font-weight: 900;
  letter-spacing: 0;
  font-size: 1.35rem;
  text-shadow: 0 0 20px rgba(46, 233, 255, .55);
}

body#index .header-bottom__logo a::before {
  content: "";
  width: 30px;
  height: 30px;
  margin-right: 10px;
  display: inline-block;
  background: linear-gradient(135deg, var(--rx-cyan), var(--rx-red));
  clip-path: polygon(50% 0, 100% 30%, 86% 100%, 14% 100%, 0 30%);
  box-shadow: 0 0 24px rgba(46, 233, 255, .38);
}

.rx-home,
.rx-home * {
  box-sizing: border-box;
}

.rx-home {
  overflow: hidden;
  margin-top: -1px;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 47, 109, .14), transparent 34rem),
    radial-gradient(circle at 12% 36%, rgba(46, 233, 255, .13), transparent 30rem),
    var(--rx-bg);
}

.rx-hero {
  position: relative;
  min-height: clamp(650px, 78vh, 860px);
  display: grid;
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--rx-line);
}

.rx-hero__media,
.rx-hero__media img,
.rx-hero__shade {
  position: absolute;
  inset: 0;
}

.rx-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rx-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .98) 0%, rgba(5, 7, 13, .9) 26%, rgba(5, 7, 13, .3) 61%, rgba(5, 7, 13, .08) 100%),
    linear-gradient(0deg, rgba(5, 7, 13, .9) 0%, transparent 42%);
}

.rx-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.rx-kicker {
  margin: 0 0 14px;
  color: var(--rx-cyan);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rx-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--rx-text);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: .92;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rx-hero__copy {
  max-width: 570px;
  margin: 24px 0 0;
  color: #c8d3e8;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
}

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

.rx-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rx-btn:hover {
  transform: translateY(-2px);
}

.rx-btn--primary {
  color: #061018 !important;
  background: linear-gradient(135deg, var(--rx-cyan), #8bfbff 48%, var(--rx-pink));
  box-shadow: 0 0 34px rgba(46, 233, 255, .34);
}

.rx-btn--ghost {
  color: var(--rx-text) !important;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .18);
}

.rx-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
}

.rx-stats div {
  min-width: 116px;
  padding: 16px 18px;
  border: 1px solid var(--rx-line);
  background: rgba(7, 12, 22, .72);
  backdrop-filter: blur(10px);
}

.rx-stats strong,
.rx-stats span {
  display: block;
}

.rx-stats strong {
  color: var(--rx-text);
  font-size: 1.35rem;
  line-height: 1;
}

.rx-stats span {
  margin-top: 6px;
  color: var(--rx-muted);
  font-size: .78rem;
  text-transform: uppercase;
}

.rx-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: #080d16;
}

.rx-strip div {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--rx-text);
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.rx-strip span {
  color: var(--rx-red);
  font-weight: 950;
}

.rx-section,
.rx-deal,
.rx-brands {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.rx-section {
  padding: 86px 0 0;
}

.rx-section__head {
  margin-bottom: 28px;
}

.rx-section__head--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.rx-section h2,
.rx-deal h2 {
  margin: 0;
  color: var(--rx-text);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rx-link {
  color: var(--rx-cyan) !important;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none !important;
}

.rx-category-grid,
.rx-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rx-category,
.rx-product {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(17, 24, 39, .96), rgba(7, 12, 22, .96));
  box-shadow: 0 26px 60px rgba(0, 0, 0, .28);
}

.rx-category {
  min-height: 214px;
  padding: 28px;
  color: var(--rx-text) !important;
  text-decoration: none !important;
}

.rx-category::after,
.rx-product::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 233, 255, .22), transparent 70%);
}

.rx-category:hover {
  border-color: rgba(46, 233, 255, .38);
}

.rx-category__icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: #061018;
  font-weight: 950;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--rx-cyan), var(--rx-pink));
}

.rx-category strong,
.rx-category em {
  display: block;
  position: relative;
  z-index: 1;
}

.rx-category strong {
  font-size: 1.25rem;
  text-transform: uppercase;
}

.rx-category em {
  margin-top: 8px;
  color: var(--rx-muted);
  font-style: normal;
  line-height: 1.45;
}

.rx-product {
  min-height: 390px;
  padding: 18px;
  color: var(--rx-text);
}

.rx-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 4px;
  color: white;
  background: var(--rx-red);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rx-badge--cyan {
  color: #061018;
  background: var(--rx-cyan);
}

.rx-product__visual {
  position: relative;
  height: 180px;
  margin-bottom: 22px;
  border-radius: 6px;
  background: linear-gradient(145deg, #121a28, #05070d);
  overflow: hidden;
}

.rx-product__visual::before,
.rx-product__visual::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.rx-product__visual--case::before {
  width: 88px;
  height: 132px;
  right: 50px;
  bottom: 24px;
  border: 2px solid var(--rx-red);
  box-shadow: inset 0 0 24px rgba(255, 47, 109, .3), 0 0 28px rgba(255, 47, 109, .25);
}

.rx-product__visual--case::after {
  width: 52px;
  height: 52px;
  right: 68px;
  bottom: 56px;
  border: 8px solid rgba(46, 233, 255, .72);
  border-radius: 50%;
}

.rx-product__visual--keyboard::before {
  width: 170px;
  height: 54px;
  left: 32px;
  bottom: 42px;
  transform: skewX(-12deg);
  background: linear-gradient(90deg, var(--rx-red), var(--rx-cyan));
  box-shadow: 0 0 26px rgba(46, 233, 255, .28);
}

.rx-product__visual--keyboard::after {
  width: 140px;
  height: 34px;
  left: 48px;
  bottom: 52px;
  background-image: repeating-linear-gradient(90deg, rgba(5,7,13,.84) 0 9px, transparent 9px 16px);
}

.rx-product__visual--headset::before {
  width: 120px;
  height: 120px;
  left: 62px;
  top: 28px;
  border: 9px solid var(--rx-cyan);
  border-bottom-color: transparent;
  border-radius: 50%;
}

.rx-product__visual--headset::after {
  width: 42px;
  height: 58px;
  left: 54px;
  top: 88px;
  background: var(--rx-red);
  box-shadow: 94px 0 0 var(--rx-red);
}

.rx-product__visual--mouse::before {
  width: 82px;
  height: 118px;
  left: 82px;
  top: 36px;
  border-radius: 50% 50% 44% 44%;
  background: linear-gradient(180deg, #1f2937, #05070d);
  border: 2px solid var(--rx-cyan);
  box-shadow: 0 0 30px rgba(46, 233, 255, .26);
}

.rx-product__visual--mouse::after {
  width: 2px;
  height: 46px;
  left: 123px;
  top: 48px;
  background: var(--rx-red);
  box-shadow: 0 0 16px var(--rx-red);
}

.rx-product h3 {
  margin: 0;
  color: var(--rx-text);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.rx-product p {
  min-height: 48px;
  margin: 10px 0 14px;
  color: var(--rx-muted);
  line-height: 1.5;
}

.rx-product strong {
  color: var(--rx-cyan);
  font-size: 1.05rem;
}

.rx-deal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 88px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 47, 109, .18), rgba(46, 233, 255, .12)),
    #090e18;
}

.rx-deal p:not(.rx-kicker) {
  max-width: 660px;
  margin: 16px 0 0;
  color: #c8d3e8;
  line-height: 1.6;
}

.rx-brands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 26px;
  margin-bottom: 92px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .08);
}

.rx-brands span {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rx-muted);
  background: #080d16;
  font-weight: 850;
  text-transform: uppercase;
  text-align: center;
}

body#index #footer {
  background: #070b13;
  color: var(--rx-muted);
  border-top: 1px solid var(--rx-line);
}

body#index #footer a,
body#index #footer .h3,
body#index #footer .h4 {
  color: var(--rx-text) !important;
}

@media (max-width: 991px) {
  .rx-category-grid,
  .rx-product-grid,
  .rx-strip,
  .rx-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rx-deal,
  .rx-section__head--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .rx-hero__shade {
    background: linear-gradient(90deg, rgba(5, 7, 13, .98), rgba(5, 7, 13, .72));
  }
}

@media (max-width: 575px) {
  .rx-hero {
    min-height: 700px;
  }

  .rx-hero__inner,
  .rx-section,
  .rx-deal,
  .rx-brands {
    width: min(100% - 24px, 1180px);
  }

  .rx-category-grid,
  .rx-product-grid,
  .rx-strip,
  .rx-brands {
    grid-template-columns: 1fr;
  }

  .rx-strip div {
    min-height: 64px;
  }

  .rx-deal {
    padding: 28px;
  }

  .rx-actions .rx-btn {
    width: 100%;
  }
}

@media (max-width: 575px) {
  body#index .header-bottom__row {
    flex-wrap: nowrap;
    gap: 8px;
  }

  body#index .header-bottom__logo {
    min-width: 0;
  }

  body#index .header-bottom__logo a::after {
    content: "PARTS";
    font-size: 1.08rem;
  }

  body#index .header-bottom__logo a::before {
    width: 26px;
    height: 26px;
    margin-right: 8px;
  }

  body#index .header-block__title {
    display: none !important;
  }

  body#index .header-block,
  body#index .header-block__action-btn {
    min-width: 30px;
  }
}
