/* ============================================
   XennGaming — Global Styles
   Base + Design Tokens + Header + Footer
   ============================================ */

:root{
  --white:#fff;
  --black:#0b1220;

  --gray-50:#f9fafb;
  --gray-100:#f3f4f6;
  --gray-200:#e5e7eb;
  --gray-300:#d1d5db;
  --gray-500:#6b7280;
  --gray-700:#374151;
  --gray-900:#111827;

  --brand-blue:#066AAB;
  --brand-blue-hover:#054d7d;

  --container-width:1200px;
  --radius:12px;

  --shadow-sm:0 1px 3px rgba(0,0,0,.08);
  --shadow-md:0 8px 22px rgba(0,0,0,.10);

  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*{ box-sizing:border-box; }

body{
  font-family:var(--font-body);
  margin:0;
  color:var(--gray-900);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  font-size:17px;
  line-height:1.6;
}

/* All main headings brand blue */
/* All main headings brand blue */
h1,
h2,
.xg-section__title,
.xg-section__label,
.xg-eco-banner__title {
  color: var(--brand-blue);
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

/* Common container (used in your header/footer) */
.xg-topbar__inner,
.xg-header__inner,
.xg-trust-strip__inner,
.xg-footer__inner,
.xg-footer__bottom-inner{
  max-width:var(--container-width);
  margin:0 auto;
  padding:0 24px;
}

/* Hide Astra header/footer output (you are replacing it) */
.astra-header-wrap,
.ast-header-content-wrap,
#ast-mobile-header,
.astra-footer-wrap,
footer.astra-footer{
  display:none !important;
}

/* ---------- Topbar ---------- */
.xg-topbar{
  background:#0f172a;
  border-bottom:1px solid #1e293b;
  padding:10px 0;
  font-size:14px;
}
.xg-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.xg-topbar__contact{ display:flex; align-items:center; gap:10px; color:#94a3b8; }
.xg-topbar__contact-item{ display:flex; align-items:center; gap:8px; color:#94a3b8; font-weight:500; }
.xg-topbar__contact-item:hover{ color:var(--brand-blue); }
.xg-topbar__divider{ color:#334155; }
.xg-topbar__social{ display:flex; gap:16px; }
.xg-topbar__social-link{ color:#94a3b8; }
.xg-topbar__social-link:hover{ color:var(--brand-blue); }

/* ---------- Header ---------- */
.xg-header{
  background:#1e293b;
  position:sticky;
  top:0;
  z-index:999;
  box-shadow:0 2px 12px rgba(0,0,0,.25);
}
.xg-header__inner{
  display:flex;
  align-items:center;
  gap:28px;
  height:72px;
}
.xg-header__logo img,
.xg-header__logo .custom-logo{
  height:42px;
  width:auto;
  filter:brightness(0) invert(1);
}
.xg-header__nav{ flex:1; display:flex; justify-content:center; }
.xg-header__menu{ display:flex; list-style:none; margin:0; padding:0; gap:4px; }
.xg-header__menu > li > a{
  display:block;
  padding:10px 18px;
  color:#cbd5e1;
  font-size:15px;
  font-weight:500;
  border-radius:6px;
}
.xg-header__menu > li > a:hover,
.xg-header__menu > li.current-menu-item > a{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.xg-header__actions{ display:flex; align-items:center; gap:16px; margin-left:auto; }
.xg-header__action-link{ 
  color:#fff;
  background:transparent;
  padding:8px;
  border:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.xg-header__action-link:hover{ 
  color:#fff; 
  opacity:0.8;
}

.xg-header__cart-count{
  position:absolute;
  top:-8px;
  right:-10px;
  background:var(--brand-blue);
  color:#fff;
  font-size:11px;
  font-weight:700;
  min-width:18px;
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:2px solid #1e293b;
}

/* REMOVED: Blue CTA button - AGGRESSIVE OVERRIDE */
.xg-header__cta,
a.xg-header__cta,
.xg-header__actions .xg-header__cta,
.xg-header .xg-header__cta {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Make search button plain white - AGGRESSIVE */
.xg-header__action-link,
.xg-header__actions a,
.xg-header button.xg-header__action-link { 
  color: #fff !important;
  background: transparent !important;
  padding: 8px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.xg-header__action-link:hover,
.xg-header__actions a:hover { 
  color: #fff !important; 
  opacity: 0.8 !important;
  background: transparent !important;
}

/* Search bar */
.xg-header__search-bar{ max-height:0; overflow:hidden; transition:max-height .3s ease; background:#0f172a; }
.xg-header__search-bar--open{ max-height:90px; }
.xg-header__search-inner{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 24px;
  max-width:var(--container-width);
  margin:0 auto;
}
.xg-header__search-inner input[type="search"]{
  flex:1;
  padding:12px 16px;
  border:none;
  border-radius:10px 0 0 10px;
  outline:none;
}
.xg-header__search-inner button[type="submit"]{
  padding:12px 16px;
  border:none;
  border-radius:0 10px 10px 0;
  cursor:pointer;
  font-weight:700;
  color:var(--brand-blue);
}

/* Mobile nav */
.xg-mobile-overlay{ display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:998; opacity:0; }
.xg-mobile-overlay--open{ display:block; opacity:1; }
.xg-mobile-nav{ position:fixed; top:0; right:-100%; width:320px; height:100%; background:#fff; z-index:1000; transition:right .3s; overflow:auto; padding:24px 0; }
.xg-mobile-nav--open{ right:0; }
.xg-mobile-nav__menu{ list-style:none; margin:0; padding:0; }
.xg-mobile-nav__menu li a{ display:block; padding:16px 24px; font-weight:600; color:var(--gray-700); }
.xg-mobile-nav__menu li a:hover{ background:var(--gray-100); }

/* ---------- Trust strip + Footer ---------- */
.xg-trust-strip{ background:#1e293b; padding:42px 0; }
.xg-trust-strip__inner{ display:flex; gap:40px; justify-content:space-between; flex-wrap:wrap; }
.xg-trust-strip__item{ display:flex; gap:16px; align-items:center; color:#fff; }
.xg-trust-strip__icon{ width:54px; height:54px; border-radius:12px; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; }

.xg-footer{ background:#1e293b; color:#94a3b8; padding:60px 0 0; }
.xg-footer__inner{ display:flex; gap:80px; flex-wrap:wrap; }
.xg-footer__brand{ max-width:400px; }
.xg-footer__logo img{ height:50px; width:auto; margin-bottom:20px; }
.xg-footer__desc{ color:#94a3b8; line-height:1.7; margin:16px 0; }

/* Newsletter form */
.xg-footer__newsletter{ margin-top:24px; }
.xg-footer__newsletter-title{ 
  display:block; 
  color:#fff; 
  font-size:16px; 
  font-weight:600; 
  margin-bottom:12px; 
}
/* Newsletter form - FIXED ALIGNMENT */
.xg-footer__newsletter-form{ 
  display: flex;
  gap: 0;
  align-items: stretch;
  height: 52px;
}

.xg-footer__newsletter-input{
  flex: 1;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 15px;
  outline: none;
  height: 52px;
}

.xg-footer__newsletter-btn{
  padding: 0 32px;
  border: 1px solid var(--brand-blue);
  border-radius: 0 8px 8px 0;
  background: var(--brand-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xg-footer__columns{ display:flex; gap:60px; margin-left:auto; flex-wrap:wrap; }
.xg-footer__col{ min-width:180px; }
.xg-footer__col-title{ color:#fff; font-size:16px; font-weight:700; margin:0 0 20px; text-transform:uppercase; letter-spacing:0.5px; }
.xg-footer__links{ list-style:none; margin:0; padding:0; }
.xg-footer__links li{ margin-bottom:12px; }
.xg-footer__links a{ color:#94a3b8; font-size:15px; transition:color 0.3s ease; }
.xg-footer__links a:hover{ color:#fff; }

.xg-footer__bottom{ margin-top:60px; border-top:1px solid rgba(255,255,255,.08); padding:28px 0; }
.xg-footer__bottom-inner{ display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.xg-footer__bottom p{ margin:0; color:#94a3b8; }
.xg-footer__payment{ display:flex; gap:12px; }
.xg-footer__pay-badge{ 
  padding:8px 14px; 
  border-radius:6px; 
  border:1px solid rgba(255,255,255,.12); 
  background:rgba(255,255,255,.06); 
  color:#94a3b8;
  font-size:14px;
  font-weight:600;
}

/* Responsive */
@media(max-width:968px){
  .xg-header__nav{ display:none; }
  .xg-header__cta{ display:none; }
  .xg-footer__inner{ flex-direction:column; }
  .xg-footer__columns{ margin-left:0; flex-direction:column; gap:24px; }
}

.xg-section__label{
  font-size: 28px;
  letter-spacing: 2px;
}

/* ============================================
   NUCLEAR FIX - FORCE ALL COLORS
   ============================================ */

/* ALL headers brand blue */
h1, h2, h3,
.xg-section__title,
.xg-section__label,
.xg-eco-banner__title,
.xg-usecase__title {
  color: #066AAB !important;
}

/* Banner fix for wide screens */
.xg-banner {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.xg-banner img,
.xg-banner__img {
  width: 100%;
  height: auto;
  display: block;
  max-height: none !important;
  object-fit: scale-down !important;
}

/* Constrain only on very wide screens */
@media (min-width: 1600px) {
  .xg-banner {
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .xg-banner img,
  .xg-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Eco banner - contained width */
.xg-eco-banner {
  padding: 60px 0;
  width: 100%;
}

.xg-eco-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.xg-eco-banner__text {
  flex: 1;
}

@media (max-width: 768px) {
  .xg-eco-banner__content {
    flex-direction: column;
    text-align: center;
  }
}
/* Mobile Hamburger Menu */
.xg-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.xg-header__hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.xg-header__hamburger:hover span {
  background: var(--brand-blue);
}

/* Show hamburger on mobile */
@media (max-width: 968px) {
  .xg-header__hamburger {
    display: flex;
  }
  
  .xg-header__nav {
    display: none;
  }
}

/* Fix menu spacing and backgrounds */
.xg-header__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
}

.xg-header__menu > li {
  margin: 0 !important;
  padding: 0 !important;
}

.xg-header__menu > li > a {
  display: block;
  padding: 10px 16px;
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  background: transparent !important;
}

.xg-header__menu > li > a:hover,
.xg-header__menu > li.current-menu-item > a,
.xg-header__menu > li.current_page_item > a {
  background: rgba(255,255,255,.08) !important;
  color: #fff;
}

/* Remove any stuck backgrounds */
.xg-header__menu > li.current-menu-parent > a,
.xg-header__menu > li.current-menu-ancestor > a {
  background: transparent !important;
}/* Breadcrumb optimization for mobile */
.woocommerce-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .woocommerce-breadcrumb {
    font-size: 12px;
    line-height: 1.4;
  }
}
/* ============================================
   TRUST STRIP - No Bootstrap needed
   Add this to xenngaming.css
   ============================================ */

.xg-trust-strip {
	background: #2c3e50;
	padding: 24px 0;
}

.xg-trust-strip__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.xg-trust-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.xg-trust-item__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	background: rgba(255,255,255,0.1);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.xg-trust-item__content strong {
	display: block;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}

.xg-trust-item__content span {
	color: #cbd5e1;
	font-size: 14px;
}

@media (max-width: 768px) {
	.xg-trust-strip__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.xg-trust-item {
		justify-content: center;
	}
}