/* ════════════════════════════════
   XOOM+ MEGA MENU — Digtek Child
════════════════════════════════ */
:root {
  --xm-gold:    #f5a623;
  --xm-dark:    #1a1a1a;
  --xm-text:    #2d2d2d;
  --xm-muted:   #666;
  --xm-border:  #f0f0f0;
  --xm-hover:   #fff8ee;
  --xm-shadow:  0 20px 60px rgba(0,0,0,0.13);
  --xm-radius:  18px;
}

/* ── Wrapper ── */
.xoom-header-wrapper {
  background: #fff;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  position: relative;
  z-index: 9999;
}

/* ── Navbar ── */
.xoom-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* ── Logo ── */
.xoom-logo-link img.xoom-logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.xoom-logo-text {
  font-size: 26px;
  font-weight: 700;
  color: var(--xm-dark);
  text-decoration: none;
  letter-spacing: -1px;
}
.xoom-logo-text sup {
  color: var(--xm-gold);
  font-size: 15px;
}

/* ── Nav List ── */
.xoom-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
  gap: 2px;
}
.xoom-nav-item { position: static; }

.xoom-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--xm-text);
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s;
}
.xoom-nav-link:hover,
.xoom-nav-link.active { color: var(--xm-gold); }

.xoom-chevron {
  font-size: 9px;
  color: #aaa;
  transition: transform 0.25s;
}
.xoom-nav-item.has-mega.open > .xoom-nav-link .xoom-chevron {
  transform: rotate(180deg);
}

/* ── CTA Button ── */
.xoom-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--xm-gold);
  color: #fff !important;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.xoom-cta-btn:hover { background: #e0961a; transform: translateY(-1px); }

/* ════════════════════════════════
   MEGA DROPDOWN
════════════════════════════════ */
.xoom-mega-dropdown {
  display: none;
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 1160px;
  background: #fff;
  border-radius: var(--xm-radius);
  box-shadow: var(--xm-shadow);
  padding: 30px 30px 36px;
  grid-template-columns: 265px 1fr 1fr 1fr;
  gap: 0;
  z-index: 10000;
  animation: xmFadeDown 0.22s ease;
}
.xoom-mega-dropdown.open {
  display: grid;
}

@keyframes xmFadeDown {
  from { opacity:0; transform:translateX(-50%) translateY(14px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0);    }
}

/* ── Featured Panel ── */
.xoom-mega-featured {
  padding-right: 24px;
  border-right: 1px solid var(--xm-border);
}

.xoom-feat-visual {
  width: 100%; height: 158px;
  border-radius: 10px;
  background: linear-gradient(135deg, #152744 0%, #1e3f74 45%, #0e2240 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 14px;
  margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.xoom-feat-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0,0,0,0.5) 100%);
}
.xoom-feat-people {
  display: flex; align-items: flex-end;
  gap: 5px; padding-bottom: 6px;
  position: relative; z-index: 1;
}
.xp {
  display: block;
  background: rgba(255,255,255,0.18);
  border-radius: 40% 40% 0 0;
  position: relative;
}
.xp::before {
  content: '';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}
.xp.p1 { width:26px; height:48px; }
.xp.p2 { width:30px; height:58px; }
.xp.p3 { width:28px; height:44px; }
.xp.p4 { width:24px; height:40px; }

.xoom-feat-label {
  position: relative; z-index: 1;
  color: #fff; font-size: 12.5px;
  font-weight: 600; text-align: center;
}

.xoom-feat-img {
  width: 100%; height: 158px;
  object-fit: cover; border-radius: 10px;
  display: block; margin-bottom: 16px;
}

.xoom-feat-desc {
  font-size: 13px;
  color: var(--xm-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Category Columns ── */
.xoom-mega-col {
  padding: 0 20px;
  border-right: 1px solid var(--xm-border);
}
.xoom-mega-col:last-child { border-right: none; padding-right: 4px; }

.xoom-col-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--xm-dark);
  margin: 0 0 14px;
  padding-bottom: 12px;
  position: relative;
}
.xoom-col-title a {
  color: inherit;
  text-decoration: none;
}
.xoom-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2.5px;
  background: var(--xm-gold);
  border-radius: 2px;
}

.xoom-mega-col ul {
  list-style: none;
  margin: 0; padding: 0;
}
.xoom-mega-col ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  font-size: 13.2px;
  color: var(--xm-text);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.xoom-mega-col ul li a:hover {
  background: var(--xm-hover);
  color: var(--xm-gold);
  transform: translateX(3px);
}

.xoom-menu-icon {
  width: 22px;
  flex-shrink: 0;
  font-size: 15px;
  text-align: center;
  color: var(--xm-gold);
}

/* ════════════════════════════════
   MOBILE TOGGLE
════════════════════════════════ */
.xoom-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 20px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.xoom-mobile-toggle span {
  display: block;
  height: 2.5px;
  background: var(--xm-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 991px) {
  .xoom-mobile-toggle  { display: flex; }
  .xoom-nav-center     { display: none; width: 100%; }
  .xoom-cta-btn        { display: none; }

  .xoom-navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 20px;
  }

  .xoom-nav-center.open {
    display: block;
    order: 3;
    width: 100%;
    padding: 10px 0 16px;
    border-top: 1px solid var(--xm-border);
    margin-top: 12px;
  }

  .xoom-nav-list { flex-direction: column; align-items: flex-start; gap: 0; }
  .xoom-nav-link { width: 100%; padding: 10px 4px; }

  .xoom-mega-dropdown.open {
    position: static;
    display: block;
    transform: none;
    width: 100%;
    border-radius: 10px;
    padding: 16px;
    box-shadow: none;
    border: 1px solid var(--xm-border);
    animation: none;
    margin-top: 8px;
  }
  .xoom-mega-featured {
    border-right: none;
    border-bottom: 1px solid var(--xm-border);
    padding: 0 0 16px; margin-bottom: 16px;
  }
  .xoom-mega-col {
    border-right: none;
    border-bottom: 1px solid var(--xm-border);
    padding: 14px 0;
  }
  .xoom-mega-col:last-child { border-bottom: none; }
}