 /* ================================
Mega Menu Container
================================ */
.mega-menu-content {
  display: none;
  /* hidden by default */
  position: absolute;
  top: 100%;
  /* below the menu item */
  left: 50%;
  /* center horizontally */
  transform: translateX(-50%);
  width: 900px;
  /* adjust width as needed */
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  /* prevent hover when hidden */
  transition: opacity 0.3s ease, transform 0.3s ease;
  /*display: flex;*/
}

/* Show mega menu on hover */
.mega-menu:hover .mega-menu-content {
  display: flex;
  opacity: 1;
  transform: translateX(-30%) translateY(0);
  pointer-events: auto;
}

/* ================================
Left Column - Categories
================================ */
.mega-menu-left {
  width: 35%;
  border-right: 1px solid #B69D74;
  /* secondary color */
  padding-right: 20px;
}

.mega-menu-left ul.categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-left ul.categories li {
  cursor: pointer;
  padding: 10px 5px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.mega-menu-left ul.categories li.active {
  background: #00467F;
  /* primary color */
  color: #fff ;
}
.mega-menu-left ul.categories li.active a{
  color: #fff  !important;
}

.mega-menu-left ul.categories li:hover {
  background: #B69D74;
  /* secondary color */
  color: #fff;
}

/* ================================
Right Column - Subcategories
================================ */
.mega-menu-right {
  width: 100%;
  padding-left: 20px;
  max-height: 400px;
  /* scroll if too tall */
  overflow-y: auto;
}

.mega-menu-right ul.subcategories {
  list-style: disc inside;
  /* keep bullet points */
  columns: 2;
  /* split into 2 columns */
  -webkit-columns: 2;
  -moz-columns: 2;
  gap: 20px;
  /* space between columns */
  padding-left: 20px;
  margin: 0;
}

.mega-menu-right ul.subcategories li {
  padding: 5px 0;
}

.mega-menu-right ul.subcategories li a {
  display: inline-block;
  padding: 0.5rem;              /* Move padding here */
  border-radius: 20px;
  white-space: wrap;          /* Prevent line break */
  transition: all 0.3s ease;
}

.mega-menu-right ul.subcategories li a:hover {
   color: #B69D74 !important;
  font-weight: 600;             /* Slightly lighter than bold to avoid width jump */
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  /* primary color */
}
/* ================================
Optional Styling Enhancements
================================ */
.mega-menu-content {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mega-menu-left ul.categories li,
.mega-menu-right ul.subcategories li a {
  transition: all 0.3s ease;
  border-bottom: 1px solid #B69D74;
}

/* ================================
Responsive
================================ */
@media (max-width: 992px) {
  .mega-menu-content {
    width: 90%;
    flex-direction: column;
  }

  .mega-menu-left,
  .mega-menu-right {
    width: 100%;
    padding: 0;
    border: none;
  }

  .mega-menu-right ul.subcategories {
    columns: 1;
    /* single column on mobile */
  }
}