html:has(#neural-services),
body:has(#neural-services) {
  background-color: #070d16 !important;
}
body:has(#neural-services) {
  background-image: linear-gradient(180deg, rgba(7,13,22,.18), rgba(7,13,22,.50) 68%, #070d16), url("../images/neural-core-v1.0.0.webp") !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
body:has(#neural-services) :is(.header, .header .main-meta, footer.footer, footer.footer .copyright) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:has(#neural-services) .header .main-menu > ul.navbar-nav {
  border-left: 0 !important;
}
@media (max-width: 991.98px) {
  body:has(#neural-services) .header .main-menu:not(:has(a[href*="view=dashboard"])) {
    background: #0b1521 !important;
    border-radius: 10px;
  }
  body:has(#neural-services) .header .main-menu:not(:has(a[href*="view=dashboard"])) .nav-item:has(> .dropdown-menu a[href="order.php"])::before {
    content: "Services";
    display: block;
    padding: 10px 14px 2px;
    color: #a8c4dc;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  body:has(#neural-services) .header .main-menu:not(:has(a[href*="view=dashboard"])) .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-toggle {
    display: none !important;
  }
  body:has(#neural-services) .header .main-menu:not(:has(a[href*="view=dashboard"])) .nav-item > .dropdown-menu:has(a[href="order.php"]) {
    display: block !important;
    position: static !important;
    float: none;
    transform: none !important;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}
/* Services only. Leave the hamburger icon and unrelated menus alone. */
@media (min-width: 992px) {
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-toggle:is(:hover, :focus, [aria-expanded="true"]),
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]).show > .dropdown-toggle {
    background: #142639 !important;
    color: #eef6ff !important;
  }
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu {
    background: #0d1928 !important;
    border: 1px solid #29435c !important;
    border-radius: 8px;
  }
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu > li > a {
    background: transparent !important;
    color: #e3efff !important;
  }
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu > li > a:is(:hover, :focus),
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu > li:hover {
    background: #182d43 !important;
    color: #fff !important;
  }
}
@media (max-width: 991.98px) {
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"]))::after,
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-menu::before,
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-menu::after,
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-toggle::before,
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) > .dropdown-toggle::after {
    content: none !important;
    display: none !important;
  }
  html body:has(#neural-services) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"])) {
    background-image: none !important;
  }
}

html body #neural-services.cart-pages-wrapper.cart0 {
  background: transparent !important;
}
html body #neural-services.cart-pages-wrapper.cart0 > .container {
  width: calc(100% - 2 * clamp(12px, 4vw, 56px)) !important;
  max-width: none !important;
  padding-inline: 0;
}
html body #neural-services.cart0 .apollo-catalog-hero {
  display: block;
  min-height: 0 !important;
  margin: clamp(16px, 6vw, 80px) 0 20px !important;
  padding: clamp(15px, 2.2vw, 28px) !important;
  border: 1px solid #28658a !important;
  border-radius: 14px;
  background: #06111e !important;
}
html body #neural-services.cart0 .apollo-catalog-hero h1 {
  margin: 0 !important;
  padding-bottom: 0;
  border-bottom: 0 !important;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem) !important;
  text-transform: uppercase;
}
#neural-services .apollo-catalog-hero h1 span,
#neural-services .neural-services-title-chevron {
  color: #ff304c;
}
#neural-services .apollo-catalog-hero h1 span { margin-inline-end: .35em; }
html body #neural-services.cart0 .apollo-catalog-grid { gap: clamp(12px, 2vw, 24px); }
html body #neural-services.cart0 .apollo-catalog-card {
  min-height: 0 !important;
  background: #06111e !important;
  border-color: #28658a !important;
  padding: clamp(16px, 2vw, 28px) !important;
}
html body #neural-services.cart0 .apollo-catalog-card:is(:hover, :focus-within, :focus-visible) {
  background: #0d2032 !important;
  border-color: #32caf7 !important;
  transform: none;
}
html body #neural-services.cart0 .apollo-catalog-icon {
  justify-content: flex-start;
  width: auto;
  height: auto;
  background: none !important;
  border: 0 !important;
  color: #32caf7 !important;
  margin-bottom: 14px;
}
#neural-services .neural-services-title-chevron { margin-inline-start: .3em; font-size: .95em; }
#neural-services :is(.apollo-catalog-card, .apollo-catalog-card a):focus-visible {
  outline: 2px solid #32caf7;
  outline-offset: 3px;
}
html body #neural-services.cart0 .neural-services-intro {
  margin: .5rem 0 0;
  color: #bcd4e7;
}

/* Services spacing below the shared sticky header. */
html body.apollo-public-nav:has(#neural-services) {
  padding-top: 0 !important;
}
html body.apollo-public-nav #neural-services.cart-pages-wrapper.cart0,
html body.apollo-public-nav #neural-services.cart-pages-wrapper.cart0 > .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
html body.apollo-public-nav #neural-services.cart0 .apollo-catalog-hero {
  margin-top: clamp(16px, 2vw, 24px) !important;
}
