/* GAMESPSN V1.4.40.6 — Owner-approved navigation and legacy chrome color correction.
 * Preserve the approved Cart, Checkout, receipt bodies, gateway styles,
 * platform-themed category artwork, and official gradient/white CTAs.
 * Uses CSS breakpoint only: the original accessible mobile nav stays available. */

/* Remove the SECONDARY category navigation on desktop everywhere it is present.
   Do not remove footer Shop links or the mobile hamburger drawer. */
@media (min-width: 801px) {
  body.gl-theme .gl-site-header #gl-site-nav {display:none!important}
  body.gl-theme .gl-site-header .gl-menu-toggle {display:none!important}
}

/* Legacy footer leaked a deep purple palette in Cart, Checkout and receipt.
   The already approved storefront footer has its own scope and is not changed. */
body.gl-theme .gl-site-footer:not(.gl-storefront-footer) {
  background:#111523;
  background-image:none;
  color:#f5f4ff;
  border-top:1px solid #292e48;
}
body.gl-theme .gl-site-footer:not(.gl-storefront-footer) .gl-footer-grid h2 {color:#f5f4ff}
body.gl-theme .gl-site-footer:not(.gl-storefront-footer) .gl-footer-brand p,
body.gl-theme .gl-site-footer:not(.gl-storefront-footer) .gl-footer-grid a:not(.gl-site-logo) {color:#aeb6d0}
body.gl-theme .gl-site-footer:not(.gl-storefront-footer) .gl-footer-grid a:hover {color:#f5f4ff!important}
body.gl-theme .gl-site-footer:not(.gl-storefront-footer) .gl-footer-bottom {
  color:#969eb9;
  border-top:1px solid rgba(182,184,217,.10);
}

/* WooCommerce order-pay and order-received use their original native content,
   but inherited the OLD purple shared header and menu. Correct header only. */
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) {
  background:rgba(10,12,21,.98);
  background-image:none;
  border-bottom:1px solid #292e48;
  color:#f5f4ff;
}
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-site-nav {
  background:#111523;
  background-image:none;
  border-top:1px solid #292e48;
}
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-header-action,
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-menu-toggle {
  background:#151929;
  border:1px solid #292e48;
  color:#f5f4ff;
}
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-search-form {
  background:#151929;
  border:1px solid #292e48;
  border-radius:11px;
}
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-search-form input[type=search] {
  background:transparent;
  border:0;
  color:#f5f4ff;
}
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-search-submit,
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-cart-count {
  background:linear-gradient(110deg,#802bf0,#bc3ad9 55%,#d343c3);
  color:#fff;
  border-color:transparent;
}
body.gl-theme:is(.gl-ty-receipt-view,.woocommerce-order-pay) .gl-site-header:not(.gl-storefront-header) .gl-search-results {
  background:#151929;
  border:1px solid #292e48;
  color:#f5f4ff;
}

/* 404 remains its own simple page but no longer inherits old all-purple canvas
   or legacy gold CTA. Do not change product/platform campaign colors. */
body.gl-theme.error404 {
  background:radial-gradient(ellipse at 83% -20%,rgba(116,35,145,.20),transparent 43%),#0a0c15;
  color:#f5f4ff;
}
body.gl-theme.error404 #main.gl-404 a.gl-btn-primary {
  background:linear-gradient(110deg,#802bf0,#bc3ad9 55%,#d343c3);
  color:#fff;
  border-color:transparent;
}
body.gl-theme.error404 #main.gl-404 a.gl-btn-primary:hover {filter:brightness(1.08)}
body.gl-theme.error404 #main.gl-404 a.gl-btn-primary:focus-visible {
  outline:2px solid #d7b6ff;
  outline-offset:3px;
}
