html:has(#neural-checkout),
body:has(#neural-checkout) {
  background-color: #070d16 !important;
}
body:has(#neural-checkout) {
  background-image: linear-gradient(180deg, rgba(7,13,22,.83), #070d16 95% 68%, #070d16), url("../images/neural-core-v1.0.0.webp") !important;
  background-position: right top !important;
  background-size: auto, min(1050px, 100vw) auto !important;
  background-repeat: no-repeat !important;
}
body:has(#neural-checkout) :is(.header, .header .main-meta, footer.footer, footer.footer .copyright) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:has(#neural-checkout) .header .main-menu > ul.navbar-nav {
  border-left: 0 !important;
}
@media (max-width: 991.98px) {
  body:has(#neural-checkout) .header .main-menu:not(:has(a[href*="view=dashboard"])) {
    background: #0b1521 !important;
    border-radius: 10px;
  }
  body:has(#neural-checkout) .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-checkout) .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-checkout) .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-checkout) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-toggle:is(:hover, :focus, [aria-expanded="true"]),
  html body:has(#neural-checkout) .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-checkout) .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-checkout) .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-checkout) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]) > .dropdown-menu > li > a:is(:hover, :focus),
  html body:has(#neural-checkout) .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-checkout) .header .main-menu .nav-item:has(> .dropdown-menu a[href="order.php"]):not(:has(a[href*="view=products"]))::after,
  html body:has(#neural-checkout) .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-checkout) .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-checkout) .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-checkout) .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-checkout) .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-checkout {
  background: transparent !important;
}
html body #neural-checkout > .container {
  width: calc(100% - 2 * clamp(12px, 4vw, 56px));
  max-width: 1700px;
  padding: clamp(12px, 2vw, 22px) 0 32px !important;
}
#neural-checkout .neural-checkout-heading {
  margin: 0 0 14px;
  color: #f5f8ff;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
}
#neural-checkout .neural-checkout-heading > span {
  color: #ff5166 !important;
  margin-inline-start: .22em;
}
#neural-checkout .neural-checkout-heading > span { margin: 0 .2em 0 0; }
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-bar,
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-rail {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-bar { margin: 0 0 16px !important; }
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-rail {
  display: flex !important;
  justify-content: flex-start !important;
  flex-wrap: wrap;
  gap: 8px clamp(12px, 4vw, 48px);
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes {
  position: static !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 0 6px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes.active { border-bottom: 2px solid #69b8ff !important; }
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-label {
  position: static !important;
  transform: none !important;
  color: #a3b5c8 !important;
  font-size: clamp(.8rem, 1.5vw, 1rem);
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes.active .cart-status-label { color: #69b8ff !important; }
:is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .inner-rail,
:is(#neural-checkout, #neural-configure, .cart-pages-wrapper) :is(.cart-status-bar, .cart-status-rail, .cart-status-nodes)::before,
:is(#neural-checkout, #neural-configure, .cart-pages-wrapper) :is(.cart-status-bar, .cart-status-rail, .cart-status-nodes)::after { display: none !important; }

html body .neural-access-modal .modal-dialog { display: flex; align-items: center; min-height: calc(100% - 2rem); margin: 1rem auto; width: calc(100% - 2rem); }
html body .neural-access-modal .modal-content { background: #06111e !important; color: #e6f2ff; border: 1px solid #365c78 !important; border-radius: 14px; }
html body .neural-access-modal :is(.modal-header, .modal-body, .modal-footer) { background: transparent !important; border-color: #24435a; }
.neural-access-modal .modal-title { text-transform: uppercase; }
.neural-access-modal .modal-title span { color: #ff5166; }
.neural-access-modal label { display: block; }
html body .neural-access-modal #couponSubmitButton { background: #174296 !important; border-color: #69b8ff !important; }


#neural-checkout .neural-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
}
#neural-checkout .neural-checkout-sidebar { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
html body #neural-checkout .neural-checkout-grid .cm-box-holder.customer-details {
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  margin: 0 !important;
  background: #06111e !important;
  border: 1px solid #28658a !important;
  border-radius: 14px;
  color: #e6f2ff;
}
#neural-checkout .neural-checkout-sidebar > .cm-box-holder:last-child { flex: 1; }
html body #neural-checkout .neural-checkout-grid :is(.head, .info-bar, .form-wrapper, .order-summary-wrapper, .discount-applied) {
  background: transparent !important;
}
html body #neural-checkout .neural-checkout-grid .summary-row { background: #0c1c2d !important; }
html body #neural-checkout .neural-checkout-grid .form-control,
html body #neural-checkout .neural-checkout-grid .select2-selection {
  background: #0c1c2d !important;
  border-color: #365c78 !important;
  color: #e6f2ff !important;
}
html body #neural-checkout .select2-selection__rendered { color: #e6f2ff !important; }
html body .select2-dropdown.neural-checkout-dropdown {
  background: #0c1c2d !important;
  border: 1px solid #365c78 !important;
  color: #e6f2ff !important;
}
html body .neural-checkout-dropdown :is(.select2-results__options, .select2-results__option, .select2-search__field, .select2-search) {
  background: #0c1c2d !important;
  color: #e6f2ff !important;
}
html body .neural-checkout-dropdown .select2-results__option:is([aria-selected="true"], .select2-results__option--highlighted) {
  background: #234c73 !important;
  color: #fff !important;
}
html body #neural-checkout .neural-code-trigger { background: transparent !important; color: #79ceff !important; }
html body #neural-checkout #submitButton {
  width: 100%;
  min-height: 44px;
  background: #075fd3 !important;
  color: #fff !important;
}
#neural-checkout :is(a, button, input, select, .select2-selection):focus-visible {
  outline: 2px solid #69b8ff;
  outline-offset: 2px;
}
@media (max-width: 850px) {
  #neural-checkout .neural-checkout-grid { grid-template-columns: minmax(0, 1fr); }
}

html body #neural-checkout form.customerdata.neural-checkout-form {
  display: block !important;
  width: 100%;
}
#neural-checkout .neural-checkout-grid { width: 100%; }
#neural-checkout .neural-checkout-grid.neural-checkout-single { grid-template-columns: minmax(0, 1fr); }
html body #neural-checkout .neural-checkout-grid .customer-details {
  box-sizing: border-box;
  padding: 0 !important;
}
html body #neural-checkout .neural-checkout-grid .customer-details h3 { color: #f5f8ff !important; }
html body #neural-checkout .neural-checkout-grid .summary-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 12px;
  padding: 14px !important;
}
html body #neural-checkout .summary-row > :is(.title, .rate-box, .actions) {
  position: static !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
#neural-checkout .summary-row > .title { grid-column: 1; grid-row: 1; overflow-wrap: anywhere; }
#neural-checkout .summary-row > .rate-box { grid-column: 2; grid-row: 1; text-align: end; }
html body #neural-checkout .summary-row > .actions {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
}
html body #neural-checkout .actions .action-btns {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 6px 8px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}
html body #neural-checkout .neural-checkout-grid :is(.summary-total, #payment_information_box, .payment-method, .select-payment, .tab-content) {
  background: transparent !important;
}
html body #neural-checkout #payment_information_box { padding-inline: clamp(14px, 2vw, 24px) !important; }
html body #neural-checkout #payment_information_box .head { padding-inline: 0 !important; }
html body #neural-checkout .payment-method .select-payment .row > div:has(.payment_method_radio_label) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
html body #neural-checkout .payment_method_radio_label { width: 100% !important; }
html body #neural-checkout #submitButton {
  height: auto !important;
  line-height: 1.35 !important;
  padding: 12px 16px !important;
  white-space: normal !important;
}
#neural-checkout .paymentbutton1 { display: block; padding-inline: clamp(14px, 2vw, 24px); }
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes.active { border-radius: 0 !important; }
html body #neural-checkout .customer-details:has(> .form-wrapper) > .head,
html body #neural-checkout .customer-details:has(> .order-summary-wrapper) > .head {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-bottom: 1px solid #24435a !important;
  padding: 20px clamp(16px, 2.5vw, 32px) !important;
}
html body #neural-checkout .customer-details > .head h3 { margin: 0 !important; }
html body #neural-checkout .customer-details .info-bar,
html body #neural-checkout .customer-details .already-registered-btn {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
html body #neural-checkout .already-registered-btn a,
html body #neural-checkout .customer-details > .head > a.btn-light,
html body #neural-checkout .actions .neural-code-trigger {
  background: transparent !important;
  color: #79ceff !important;
  border: 0 !important;
  text-decoration: underline;
  padding: 0 !important;
  line-height: 1.5 !important;
}
html body #neural-checkout .neural-redundant-subtotal { display: none !important; }
html body #neural-checkout .discount-applied .total_total_pay { color: #f5f8ff !important; }
html body #neural-checkout #payment_information_box .head {
  background: transparent !important;
  border-color: #24435a !important;
  padding-block: 18px !important;
}
html body #neural-checkout #payment_information_box .row > div:has(> label:has(input[name="paymentMethod"])) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}
html body #neural-checkout #payment_information_box label:has(input[name="paymentMethod"]) {
  width: 100% !important;
  min-height: 44px !important;
  height: auto !important;
  line-height: 1.4 !important;
  background: #102940 !important;
}
html body #neural-checkout {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#neural-checkout .neural-checkout-grid { align-items: start; }
#neural-checkout .neural-checkout-sidebar { gap: 0; }
html body #neural-checkout .neural-checkout-sidebar > .customer-details:first-child {
  border-radius: 14px 14px 0 0;
}
html body #neural-checkout .neural-checkout-sidebar > .customer-details:last-child {
  border-top: 0 !important;
  border-radius: 0 0 14px 14px;
}
html body #neural-checkout .neural-checkout-grid .customer-details > .head {
  padding-block: 14px !important;
}
html body #neural-checkout .neural-checkout-grid .summary-row {
  background: transparent !important;
}
html body #neural-checkout .neural-checkout-grid .discount-applied .total_total_pay {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
}
html body #neural-checkout #submitButton:hover { background: #0754bb !important; }
#neural-checkout .neural-checkout-progress {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 16px;
}
html body #neural-checkout .neural-checkout-progress .cart-status-bar { margin: 0 !important; }
html body #neural-checkout .neural-checkout-continue {
  color: #79ceff !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  text-decoration: underline;
}
html body #neural-checkout > .container {
  padding-top: 10px !important;
}
html body #neural-checkout .neural-checkout-grid .form-wrapper,
html body #neural-checkout .neural-checkout-grid .order-summary-wrapper {
  padding: 16px clamp(14px, 2vw, 24px) !important;
}
html body #neural-checkout .neural-checkout-grid .form-elem {
  margin-bottom: 12px !important;
  padding-block: 0 !important;
}
html body #neural-checkout .neural-checkout-grid .neural-checkout-password {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
html body #neural-checkout .neural-checkout-grid .neural-checkout-password input {
  width: 100% !important;
  max-width: none !important;
}
html body #neural-checkout .neural-checkout-grid .summary-row {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body #neural-checkout .summary-row .neural-checkout-product-category {
  display: block;
  color: #a3b5c8;
  font-size: .85em;
  font-weight: 400;
}
html body #neural-checkout .neural-checkout-grid :is(.summary-total, .discount-applied) {
  margin-block: 0 !important;
}
html body #neural-checkout .neural-checkout-grid .summary-total {
  padding-block: 10px !important;
}
html body #neural-checkout .neural-checkout-grid .discount-applied li:has(.total_total_pay) {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin: 0 !important;
  padding: 10px clamp(14px, 2vw, 24px) !important;
}
html body #neural-checkout #payment_information_box .head {
  padding-block: 12px !important;
}
html body #neural-checkout #payment_information_box .select-payment {
  margin-block: 8px !important;
  padding-block: 0 !important;
}
html body #neural-checkout #payment_information_box .row > div:has(.payment_method_radio_label, input[name="paymentMethod"]) {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
html body #neural-checkout #payment_information_box :is(.payment_method_radio_label, label:has(input[name="paymentMethod"])) {
  width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  padding-block: 8px !important;
}
html body #neural-checkout .neural-checkout-progress {
  justify-content: flex-start;
  align-items: center;
  column-gap: clamp(16px, 3vw, 48px);
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-rail {
  gap: 0;
  flex-wrap: nowrap;
  overflow: hidden;
  border: 1px solid #6384a4 !important;
  border-radius: 10px;
  background: #122335 !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 clamp(8px, 3.2vw, 48px) !important;
  border-inline-end: 1px solid #6384a4 !important;
  border-radius: 0 !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes.active {
  border: 0 !important;
  background: linear-gradient(180deg, #0885ff, #0552d3) !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes.active .cart-status-label { color: #fff !important; }
html body #neural-checkout .neural-checkout-grid .cm-box-holder.customer-details {
  border-color: #6384a4 !important;
  background: #0b1521 !important;
}
html body #neural-checkout .neural-checkout-grid :is(.form-control, .select2-selection) {
  border-color: #6483a0 !important;
}
html body #neural-checkout .neural-checkout-grid .customer-details > .head {
  margin-inline: clamp(14px, 2vw, 24px);
  padding-inline: 0 !important;
  border-color: #415b75 !important;
}
html body #neural-checkout .neural-checkout-sidebar :is(.summary-total, .discount-applied) {
  padding-block: 0 !important;
}
html body #neural-checkout .neural-checkout-sidebar .neural-checkout-total {
  display: flex !important;
  width: 100% !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px;
  text-align: start !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  font-weight: 700;
}
html body #neural-checkout .neural-checkout-total .total_total_pay {
  float: none !important;
  margin: 0 0 0 auto !important;
}
html body #neural-checkout #payment_information_box .head {
  margin-inline: 0;
  padding-block: 10px !important;
}
html body #neural-checkout #payment_information_box .select-payment .row {
  margin-inline: 0 !important;
}
html body #neural-checkout #payment_information_box .select-payment .row > div:has(.payment_method_radio_label, input[name="paymentMethod"]) {
  padding-inline: 0 !important;
}
html body #neural-checkout #submitButton {
  background: linear-gradient(180deg, #087fff, #0555e0) !important;
  min-height: 50px;
  font-size: 1.05rem;
}
html body #neural-checkout .neural-checkout-sidebar,
html body #neural-checkout .neural-checkout-sidebar :is(.head, h2, h3, h4, .title, .rate-box, .discount-applied, .neural-checkout-total, .total_total_pay, .payment_method_radio_label, label, button, input, select, .action-btns) {
  font-family: inherit !important;
}
html body #neural-checkout .neural-checkout-total > span:first-child {
  font-size: 1rem !important;
  font-weight: 600;
}
html body #neural-checkout .neural-checkout-sidebar :is(.head h2, .head h3, .head h4) {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
}

/* Fit the progress bar to its three steps. */
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-rail {
  width: fit-content !important;
  max-width: 100% !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes:not(:has(.cart-status-label)) {
  display: none !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes:has(.cart-status-label) {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-nodes:not(:has(~ .cart-status-nodes .cart-status-label)) {
  border-inline-end: 0 !important;
}
html body :is(#neural-checkout, #neural-configure, .cart-pages-wrapper) .cart-status-label {
  white-space: normal !important;
  text-align: center;
}

/* Checkout sidebar typography and alignment */
html body #neural-checkout .summary-row {
  align-items: center;
}
html body #neural-checkout .summary-row > :is(.title, .rate-box),
html body #neural-checkout .summary-row > :is(.title, .rate-box) :is(h3, h4, p, span) {
  align-self: center !important;
  margin-block: 0 !important;
  font-size: .9rem !important;
  line-height: 1.4 !important;
}
html body #neural-checkout .summary-row:has(.checkout-remove-item) {
  grid-template-columns: minmax(0, 1fr) auto auto;
}
html body #neural-checkout .summary-row:has(.checkout-remove-item) > .actions {
  display: contents !important;
}
html body #neural-checkout .summary-row:has(.checkout-remove-item) > .actions > :not(.checkout-remove-item) {
  grid-column: 1 / -1;
  justify-self: end;
}
html body #neural-checkout .summary-row .actions .checkout-remove-item {
  grid-column: 3;
  grid-row: 1;
  display: inline-grid !important;
  place-items: center;
  min-width: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #a3b5c8 !important;
  font-size: 1.3rem !important;
}
html body #neural-checkout .summary-row .actions .checkout-remove-item:hover {
  background: #173049 !important;
  color: #fff !important;
}
html body #neural-checkout .neural-checkout-sidebar .neural-checkout-total {
  box-sizing: border-box;
  padding-inline: clamp(14px, 2vw, 24px) !important;
}
html body #neural-checkout .neural-checkout-total .total_total_pay {
  text-align: right !important;
  font-size: 1.5rem !important;
  font-weight: 700;
}
html body #neural-checkout #payment_information_box :is(.payment_method_radio_label, label:has(input[name="paymentMethod"])) {
  font-size: 1rem !important;
  font-weight: 600;
}

/* Separate checkout payment card */
html body #neural-checkout .neural-checkout-sidebar {
  gap: 18px;
}
html body #neural-checkout .neural-checkout-sidebar > .customer-details:is(:first-child, :last-child) {
  border: 1px solid #6384a4 !important;
  border-radius: 14px;
}
html body #neural-checkout .neural-checkout-sidebar .summary-row:has(.checkout-remove-item) {
  align-items: center;
  column-gap: 4px;
}
html body #neural-checkout .neural-checkout-sidebar .summary-row > .rate-box {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}
html body #neural-checkout .summary-row .actions .checkout-remove-item {
  align-self: center;
  min-width: 24px !important;
  width: 24px !important;
  min-height: 28px !important;
  line-height: 1 !important;
}
html body #neural-checkout .neural-checkout-sidebar :is(.summary-total, .discount-applied, ul):has(.neural-checkout-total) {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  padding-inline: 0 !important;
}
html body #neural-checkout .neural-checkout-grid .discount-applied li.neural-checkout-total,
html body #neural-checkout .neural-checkout-sidebar li.neural-checkout-total {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline !important;
  padding: 14px clamp(14px, 2vw, 24px) !important;
  text-align: left !important;
}
html body #neural-checkout .neural-checkout-total .total_total_pay {
  position: static !important;
  width: auto !important;
  justify-self: end;
  text-align: right !important;
}

/* Checkout back link above the page heading */
html body #neural-checkout .neural-checkout-back-link {
  display: inline-flex !important;
  align-items: center;
  gap: .35em;
  margin: 0 0 8px !important;
  font-size: .875rem !important;
  font-weight: 500;
}

/* Left-align the checkout back link */
html body #neural-checkout > .container > a.neural-checkout-back-link {
  position: static !important;
  float: none !important;
  clear: both;
  transform: none !important;
  display: flex !important;
  width: fit-content !important;
  margin: 0 0 8px 0 !important;
  align-self: flex-start !important;
  justify-self: start !important;
  text-align: start !important;
}

/* Checkout dialog and footer refinements */
html body #neural-checkout > .container > a.neural-checkout-back-link {
  margin: 16px 0 0 !important;
}
body:has(#neural-checkout) .neural-remove-dialog {
  background: #0b1521 !important;
  color: #e6f2ff !important;
  border: 1px solid #6384a4 !important;
  border-radius: 14px !important;
  font-family: inherit;
}
body:has(#neural-checkout) .neural-remove-dialog
:is(.modal-header, .modal-body, .modal-footer, .ui-dialog-titlebar) {
  background: transparent !important;
  color: inherit !important;
  border-color: #415b75 !important;
}
body:has(#neural-checkout) .neural-remove-dialog button {
  background: #132639 !important;
  color: #e6f2ff !important;
  border: 1px solid #415b75 !important;
  border-radius: 8px;
}
body:has(#neural-checkout) .neural-remove-dialog button:is(:hover, :focus-visible) {
  background: #234362 !important;
  border-color: #79ceff !important;
}
.neural-access-modal .neural-access-code-error {
  color: #ffadba;
  margin: 8px 0 0;
}
.neural-access-modal #couponCode[aria-invalid="true"] {
  border-color: #ff8296 !important;
}

/* Remove confirmation contrast */
body:has(#neural-checkout) .neural-remove-dialog,
body:has(#neural-checkout) .neural-remove-dialog * {
  color: #e6f2ff !important;
}
body:has(#neural-checkout) .neural-remove-dialog
:is(.modal-header, .modal-footer, .jconfirm-buttons, .swal2-actions, .ui-dialog-buttonpane) {
  border-color: #415b75 !important;
}

/* Apollo Dark account creation layout */
html body #neural-checkout .neural-account-full {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
html body #neural-checkout .neural-account-location {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin: 4px 0 12px;
  padding: 14px 15px 0;
  border-top: 1px solid #415b75;
  color: #e6f2ff;
  font: inherit;
  font-weight: 600;
}
html body #neural-checkout .neural-account-password-input {
  padding-inline-end: 76px !important;
}
html body #neural-checkout .neural-account-password-toggle {
  position: relative;
  float: right;
  margin: -39px 4px 0 0;
  min-width: 62px;
  height: 34px;
  border: 0;
  border-inline-start: 1px solid #415b75;
  background: transparent;
  color: #79ceff;
  font: inherit;
  cursor: pointer;
}
html body #neural-checkout .neural-account-opt-in > label[hidden],
html body #neural-checkout .neural-account-announcements-select,
html body #neural-checkout .neural-account-announcements-select + .select2-container {
  display: none !important;
}
html body #neural-checkout .neural-account-announcements {
  display: inline-flex !important;
  align-items: center;
  gap: .65rem;
  min-height: 32px;
  cursor: pointer;
}
html body #neural-checkout .neural-account-announcements input {
  accent-color: #087fff;
}

/* Center the Show/Hide control inside the password field. */
html body #neural-checkout .neural-account-password-row {
  display: grid;
}
html body #neural-checkout .neural-account-password-row > * {
  grid-area: 1 / 1;
}
html body #neural-checkout .neural-account-password-row > .neural-account-password-toggle {
  align-self: center;
  justify-self: end;
  display: inline-grid;
  place-items: center;
  float: none;
  margin: 0 4px !important;
  padding: 0 8px !important;
  height: 24px;
  line-height: 1;
}

html body #neural-checkout .apollo-manual-payment-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  text-align: start;
}
html body #neural-checkout .apollo-manual-payment-description {
  color: #a8bfd5;
  font-size: .82rem !important;
  font-weight: 400 !important;
  line-height: 1.4;
  white-space: normal;
}
