
/* ===== GALAXY THEME GLOBAL STYLES ===== */

:root {
  --galaxy-bg: #030014;
  --galaxy-accent: #7c3aed;
  --galaxy-accent2: #38bdf8;
  --galaxy-border: rgba(255,255,255,0.1);
}

/* Header Reset & Design */
.co-header {
  position: fixed; top: 0; left: 0; width: 100%; height: 70px;
  background: rgba(3,0,20,0.8);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--galaxy-border);
  z-index: 99999; display: flex; align-items: center;
}

body.admin-bar .co-header { top: 32px; }

.co-header-inner {
  max-width: 1300px; width: 100%; margin: 0 auto; padding: 0 30px;
  display: flex; justify-content: space-between; align-items: center;
}

.co-logo {
  display: inline-flex;
  align-items: center;
  height: 52px;
  text-decoration: none !important;
  background: transparent !important;
}

.co-logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 176px;
  object-fit: contain;
  border-radius: 0;
}


.co-header nav.co-nav-desktop { display: flex; gap: 25px; align-items: center; }

@media (max-width: 1024px) {
  .co-nav-desktop { display: none !important; }
}

.co-header nav a {
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.5px;
  opacity: 0.7; transition: all 0.3s ease;
  background: transparent !important;
}

.co-header nav a:hover { opacity: 1; color: var(--galaxy-accent2) !important; text-shadow: 0 0 10px var(--galaxy-accent2); }

/* Cart Toggle */
.cart-toggle {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--galaxy-border) !important;
  color: #fff !important;
  width: 45px; height: 45px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer; transition: 0.3s;
}
.cart-toggle:hover { background: rgba(255,255,255,0.1) !important; border-color: var(--galaxy-accent2) !important; }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--galaxy-accent); color: #fff;
  font-size: 10px; font-weight: 800; min-width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--galaxy-bg);
}

/* Mobile Nav Trigger */
.co-nav-mobile-trigger { display: none; gap: 15px; align-items: center; }
@media (max-width: 1024px) {
  .co-nav-mobile-trigger { display: flex; }
}

.co-hamburger {
  width: 30px; height: 20px; position: relative; cursor: pointer;
}
.co-hamburger span {
  display: block; width: 100%; height: 2px; background: #fff;
  position: absolute; transition: 0.3s;
}
.co-hamburger span:nth-child(1) { top: 0; }
.co-hamburger span:nth-child(2) { top: 9px; }
.co-hamburger span:nth-child(3) { top: 18px; }

.co-hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.co-hamburger.active span:nth-child(2) { opacity: 0; }
.co-hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Menu */
.co-mobile-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
  z-index: 99990; opacity: 0; pointer-events: none; transition: 0.4s;
}
.co-mobile-overlay.active { opacity: 1; pointer-events: all; }

.co-mobile-menu {
  position: fixed; top: 0; right: 0; width: 300px; height: 100%;
  background: var(--galaxy-bg); border-left: 1px solid var(--galaxy-border);
  z-index: 99991; padding: 100px 40px; display: flex; flex-direction: column; gap: 25px;
  transform: translateX(calc(100% + 2px));
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
}
.co-mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.co-mobile-menu a {
  color: #fff !important; font-size: 18px; font-weight: 700;
  text-decoration: none !important; text-transform: uppercase; letter-spacing: 2px;
}

/* Canvas Background */
#galaxyCanvas {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none;
  background: #030014;
}


/* Global Reset for Galaxy Immersion */
html, body, 
.is-root-container, 
.wp-site-blocks, 
main, 
article, 
section,
.entry-content,
.wp-block-post-content,
#wp--skip-link--target {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
}

/* Ensure common containers are transparent to show the starfield */
.site-content, .content-area, .type-page, .hentry, .page-content, .entry-header {
  background: transparent !important;
  background-color: transparent !important;
}

/* Fix for those blue boxes and unwanted highlights */
a, h1, h2, h3, h4, h5, h6, span, div {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
