.header {
    width: 100%;
    height: auto;
    background: #fff;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
  }
  
  .header .inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header .logo {
    flex: 1; /* Allow the logo to take up its space */
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  
  .header .search-area {
    flex: 2; /* Center the search area between logo and right section */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .header .right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .header .right ul {
    display: flex;
    justify-content: center; /* Center the list items */
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .header .right ul li {
    margin-left: 14px;
    color: #0d1452;
  }
  
  .header .right ul li a {
    color: #0d1452;
  }
 
  /*brands mid-category*/ 
/* Style for the submenu container */
.submenu {
    display: flex; /* Use flexbox layout */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    position: absolute; /* Position absolutely to ensure it appears directly under its parent */
    top: 100%; /* Position directly below the top-category item */
    left: 0; /* Align to the left of the parent */
    background-color: #fff; /* Background color for the dropdown */
    border: 1px solid #ddd; /* Border for the dropdown */
    z-index: 1000; /* Ensure it appears above other elements */
}

/* Ensure each submenu item is displayed in its own column */
.submenu-item {
    flex: 1; /* Allow items to grow and fill available space equally */
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

/* Style for submenu links */
.submenu-item a {
    display: flex; /* Use flexbox to align image and text */
    align-items: center; /* Center items vertically */
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Adjust color as needed */
    padding: 10px; /* Adjust padding as needed */
}

/* Style for the mid-category icon image */
.submenu-item .mid-category-icon {
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    margin-right: 8px; /* Space between image and text */
    vertical-align: middle; /* Align with the middle of the text */
    display: inline-block; /* Ensure image and text are on the same line */
}

/* Style for the sub-submenu under each mid-category */
.sub-submenu {
    display: flex; /* Use flexbox layout */
    flex-direction: column; /* Stack sub-submenu items vertically */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

/* Style for individual sub-submenu items */
.sub-submenu-item {
    margin: 0;
    padding: 0;
}

/* Style for sub-submenu links */
.sub-submenu-item a {
    display: block; /* Ensure links are displayed as blocks */
    padding: 10px; /* Adjust padding as needed */
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Adjust color as needed */
}
