  /* Multilevel dropdown */
  .dropdown-submenu {
    /* position: relative; */
  }

  .dropdown-submenu>a:after {
    content: "\f0da";
    float: right;
    border: none;
    font-family: 'FontAwesome';
  }

  .menu-bar .dropdown {
    position: static !important;
  }

  .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0px;
    margin-left: 0px;
  }

  .navbar-brand img {
    height: 60px;
  }

  .nav-item .nav-link {
    color: #333;
  }

  .nav-item .nav-link:hover {
    color: #f5c518;

  }

  .location-dropdown .dropdown-toggle::after {
    margin-left: 5px;
  }

  .search-bar {
    border-radius: 25px;
    background-color: #f8f9fa;
  }

  .secondary-nav {
    border-top: 1px solid #ddd;
    background-color: #fff;
  }

  /* Hover effect for categories */
  .category-item {
    /* position: relative; */
  }

  .category-item:hover .nav-link {
    color: #f5c518;
    border-bottom: 2px solid #f5c518;

  }

  .nice-select {
    border: none;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
  }

  /*  */

  .menu-bar {
    display: flex;
    justify-content: space-between;
    background-color: #f8f9fa;
    position: relative;
    z-index: 10;
    border-top: 1px solid #a9b6c1;
    border-bottom: 1px solid #a9b6c1;
    font-size: 12px;
  }

  .menu-bar .dropdown .hovermenuBar:hover {
    color: #63757d;

  }

  .dropdown:hover .mega-menu {
    display: flex;
  }

  .hovermenuBar {
    padding: 10px 10px;
  }

  .mega-menu {
    /* margin-top:-5px; */
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: fit-content;
    background-color: #fff;
    padding: 0px;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 9;
    justify-content: flex-start;
    gap: 50px;
  }
.menubar{
  background-color: #f8f9fa!important;
}
  .submenu-column {
    min-width: 90vw;
    position: relative;
  }

  .submenu-column>a {
    font-weight: 600;
    color: #000;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
  }

  .submenu-column a:hover {
    color: #6c757d
  }

  .submenu-column:nth-child(odd) {
    background-color: #f1f1f1;
    /* light gray */
    padding: 15px;
    border-radius: 5px;
  }

  .submenu-column:nth-child(even) {
    background-color: #ffffff;
    /* white */
    padding: 15px;
    border-radius: 5px;
  }

  .submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: max-content;
    width: 70%;
  }

  .submenu-list li {
    position: relative;
  }

  .submenu-list li a {
    display: block;
    padding: 3px 0;
    color: #333;
    text-decoration: none;
    width: fit-content;
  }

  /* .submenu-list li a:hover {
      text-decoration: underline;
      text-underline-offset: 2px;
    } */

  /* Third level submenu */
  .submenu-list li:hover .third-level {
    display: block;
  }


  .submenu-list a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #000;
    /* optional */
    padding-bottom: 4px;
  }

  .submenu-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0%;
    background-color: #63757d;
    /* underline color */
    transition: width 0.5s ease;
  }

  .submenu-list a:hover::after {
    width: 100%;
  }

  .third-level {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #f8f9fa;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    min-width: 180px;
    z-index: 10;
  }

  .third-level a {
    color: #000;
  }

  .third-level a:hover {
    text-decoration: underline;
  }

  .icon-class {
    font-size: 12px;
    margin-top: 7px;
    margin-left: 2px;
  }

  .icon-class {
    transition: transform 0.3s ease;
  }

  /* Rotate icon when hovering over the parent container */
  .dropdown:hover .icon-class {
    transform: rotate(180deg);
  }

  /* anouncement bar css start  */

  .announcement-bar {
    background-color: #4A5A3A;
    /* Olive green background */
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
  }

  .announcement-bar a {
    color: #fff;
    text-decoration: none;
  }

  .announcement-bar a:hover {
    text-decoration: underline;
  }

  .currency-dropdown {
    position: relative;
    display: inline-block;
  }

  .currency-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    z-index: 1000;
    padding: 0px;
  }

  .currency-dropdown:hover .dropdown-menu {
    display: block;
    /* Show dropdown on hover */
  }

  .currency-dropdown .dropdown-item {
    color: #333;
    padding: 5px 10px;
    font-size: 14px;
  }

  .currency-dropdown .dropdown-item:hover {
    background-color: #f5f5f5;
  }

  .currency-label {
    cursor: pointer;
  }

  .container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .right-section {
    display: flex;
    align-items: center;
  }

  @media (max-width: 576px) {
    .announcement-bar {
      font-size: 12px;
    }

    .container-flex {
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .right-section {
      margin-top: 5px;
    }
  }

  /* end anouncement bar css */

  /* marquee announcement css */
  .marquee_annucement {
    margin-bottom: 4px;
    line-height: 10px !important;
  }

  /* end */

  /* location modal css */

  .modal-dialog .modal-content .modal-body {
    padding: 0px;
    overflow-y: auto;
    max-height: 510px;
    height: 250px;
  }

  .modal-content {
    border-radius: 8px !important;
    background-color: #f0f7ff;
    border: none;
  }

  .modal-header {
    border-bottom: none;
    padding-bottom: 0;
  }

  .modal-body {
    padding-top: 0;
  }

  .modal-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
  }

  .delivery-text {
    font-size: 0.9rem;
    color: #666;
  }

  .location-input {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #fff;
  }

  .location-input img {
    width: 24px;
    height: 24px;
  }

  .location-input select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #333;
  }

  .location-input input {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 1rem;
    color: #999;
  }

  .current-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #007bff;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 10px;
  }

  .current-location:hover {
    text-decoration: underline;
  }

  .location-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #666;
  }

  /* Style for the dropdown */
  .location-dropdown .dropdown-menu {
    min-width: 220px;
  }

  .location-dropdown .dropdown-item {
    font-size: 0.9rem;
  }

  .dropdown-menu.show {
    display: block;
  }


  .image-container {
    width: 30vw;
    align-content: center;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 13px;
  }

  /* end */

  /* header responsive */

  .show-menu {
    display: block !important;
  }

  .offcanvas-backdrop {
    background: unset !important;
  }

  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #495057;
    padding: 0.5rem;
    position: absolute;
    top: 75px
  }

  .offcanvas-header {
    border-bottom: 1px solid #dee2e6;
  }

  .mobile-submenu {
    background-color: #f8f9fa;
    margin-top: 0.5rem;
    border-radius: 4px;
    overflow: hidden;
  }

  .mobile-submenu a {
    padding: 0.5rem 1rem;
    display: block;
    color: #6c757d;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
  }

  .mobile-submenu a:last-child {
    border-bottom: none;
  }

  .mobile-submenu a:hover {
    background-color: #e9ecef;
    color: #495057;
  }

  .search_container {
    position: relative;
    width: 240px;
  }

  .search_icon {
    position: absolute;
    top: 10px !important;
    right: 10px;
  }

  .suggestions {
    display: block;
    max-height: 100px;
    overflow-y: scroll;
    text-align: left;
  }

  .suggestion-item{
    border-bottom: 1px solid #ddd7d7;
    padding: 5px 10px;
  }

  .suggestion-item:hover{
    background-color: #FAE7D1;
    transition: background-color 0.5s ease;
  }

  @media (max-width: 767.98px) {
    .menu-bar {
      display: none;
    }

    .mobile-menu-toggle {
      display: block;
    }

    .currency-dropdown .dropdown-menu {
      margin-left: -56px !important;
    }

    /* When search input is visible on mobile */
    .input-visible #searchInput {
      display: block !important;
      position: absolute;
      /* background: red; */
      left: 0;
      top: 25% !important;
      margin-top: -21px;
      z-index: 1;
      width: 140px;
    }

    .navbar-brand img {
      height: auto;
    }

  }


  @media (max-width: 425px) {
    .geo-icon-responsive {
      font-size: 20px;
    }

    .manage-font {
      font-size: 10px !important;
    }

    .search_container {
      width: 130px;
    }


  }

  @media (min-width: 768px) {
    .mobile-menu-toggle {
      display: none;
    }

    .menu-bar {
      display: flex;
    }
  }


  /* bottom navigation */

  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    display: none;
    /* Hidden by default */
  }

  /* Show bottom nav only on screens below 768px */
  @media (max-width: 767px) {
    .bottom-nav {
      display: block;
    }

  }

  /* Hide bottom nav on larger screens */
  @media (min-width: 768px) {
    .bottom-nav {
      display: none !important;
    }
  }

  .nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: #919191;
    min-width: 60px;
    position: relative;
    overflow: hidden;
  }

  .nav-item:hover {
    background: #919191;
    color: white;
    transform: translateY(-2px);
  }

  .nav-item.active {
    background: #919191;
    color: white;
  }

  .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 0 0 2px 2px;
  }

  .nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
  }

  .nav-item:hover .nav-icon {
    transform: scale(1.1);
  }

  .nav-label {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
  }

  /* Responsive design */
  @media (max-width: 480px) {
    .nav-item {
      min-width: 50px;
      padding: 6px 8px;
    }

    .nav-icon {
      width: 20px;
      height: 20px;
    }

    .nav-label {
      font-size: 11px;
    }
  }

  /*  */

  /* Mobile Search Popup Styles */
  .search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
  }

  .search-popup.active {
    transform: translateY(0);
  }

  .search-popup-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
  }

  .back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    margin-right: 15px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
  }

  .back-btn:hover {
    background-color: #e9ecef;
  }

  .search-popup-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px 0;
    background: transparent;
  }

  .search-popup-input::placeholder {
    color: #6c757d;
  }

  .search-popup-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
  }

  /* Overlay for backdrop */
  .search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .search-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hide popup on desktop */
  @media (min-width: 768px) {

    .search-popup,
    .search-overlay {
      display: none !important;
    }
  }

  /* Demo content styling */
  .demo-content {
    min-height: 200vh;
    padding: 20px;
  }

  .search-suggestion {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .search-suggestion:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
  }

  .search-suggestion:last-child {
    border-bottom: none;
  }

  .suggestion-icon {
    color: #6c757d;
    margin-right: 12px;
  }

  /* Demo content styling */
  .demo-content {
    min-height: 200vh;
    padding: 20px;
  }

  /*  */

  /* Custom hover styles */

  .custom-container {
    text-align: center;
    padding: 0;
    width: auto;
    position: relative;
  }

  .custom-dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-toggle {
    display: flex;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
  }

  .icon-size {
    font-size: 1rem;
  }

  .custom-menu {
    position: absolute;
    /* top: 2rem; */
    top: 3rem;
    /* left: -8rem; */
    right: -10px;
    text-align: center;
    width: max-content;
    padding: 0;
    margin-top: 0;
    background: white;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 1000;
  }

  .custom-dropdown:hover .custom-menu,
  .custom-menu:hover {
    opacity: 1;
    pointer-events: auto;
  }

  .custom-item {
    display: block;
    padding: 1rem;
    text-align: start;
    border-bottom: 1px solid #ddd;
    text-decoration: none;
    color: black;
    background-color: white;
  }

  .custom-item:hover {
    background-color: #f0f0f0;
  }

  .dropdown-toggle::after {
    content: none !important;
  }


  /* Modal overlay */
  .modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
  }

  /* Modal box */
  .modal-box {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 20px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Modal header */
  .modal-header {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
  }

  .modal-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
  }

  .btn-close {
    position: absolute;
    top: -35px;
    right: -25px;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
  }

  .modal-body {
    text-align: center;
  }

  .modal-body p {
    font-size: 14px;
    text-align: left;
    margin-bottom: 10px;
  }

  .modal-body p a {
    color: #0d6efd;
    text-decoration: none;
  }

  .radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 1rem 0;
  }

  .radio-group input {
    margin-right: 6px;
  }

  .form-input-wrapper {
    margin: 20px 0;
  }

  .form-input-wrapper input {
    width: 100%;
    padding: 10px 38px 10px 38px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;

  }

  .search_location {
    position: relative;

  }

  .search_location .bi {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1rem;
  }

  .form-input-wrapper .bi-geo-alt-fill {
    left: 12px;
  }

  .form-input-wrapper .bi-search {
    right: 12px;
  }

  .detect-location {
    color: #0d6efd;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    margin-top: -10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .continue-btn {
    width: 100%;
    background: #a9a2a2;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
  }

  .open-modal-btn {
    padding: 10px 20px;
    background: #0d6efd;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    margin: 20px;
  }

  .delivery-btn {
    background: linear-gradient(to right, #ff7f1e, #ffd6d6);
    border: none;
    border-radius: 7px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #212529;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
    font-size: 14px;
  }

  .delivery-btn img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
  }

  .divider {
    height: 24px;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.2);
  }

  .delivery-btn .bi {
    font-size: 1rem;
    color: #212529;
  }

  .delivery-text {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .btn_close {
    border: none;
    position: absolute;
    top: 0;
    right: 10px;
  }

  /* Modal header close */


  .autocomplete-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    margin-top: 5px;
    border-radius: 10px;
    padding: 5px 0;
    color: #6a6868;
  }

  .autocomplete-item {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
  }

  .autocomplete-item:hover {
    background-color: #FAE7D1;
    transition: background-color 0.5s ease;
    color: black !important;
  }

  .search_img {
    width: 70px;
    margin-right: 10px;
    border-radius: 8px;
    height: 50px;
  }

  .searched_heading {
    margin: 10px 10px;
    font-size: 15px;
    font-weight: 600;
    color: black;
  }