/* ========================================
Professional E-commerce Search Styles
======================================== */


 /* Optional: Make Toastr look more polished */

        /* ============================================
   FORCE DROPDOWN TO SHOW ON HOVER
   ============================================ */


     /* Target all possible dropdown classes */
     .h-dd:hover>.dropdown-menu,
     .navbar-tool.dropdown:hover>.dropdown-menu,
     li.dropdown:hover>.dropdown-menu {
         display: block !important;
         opacity: 1 !important;
         visibility: visible !important;
         transform: translateY(0) !important;
         top: 43px;
         width: max-content;
         right: 0%;
     }

     /* Ensure dropdown stays open when hovering over it */
     .dropdown-menu:hover,
     .cart-dropdown:hover {
         display: block !important;
         opacity: 1 !important;
         visibility: visible !important;
     }

     /* Keep dropdown visible when hovering between icon and dropdown */
     .navbar-tool::after {
         content: '';
         position: absolute;
         bottom: -12px;
         left: 0;
         right: 0;
         height: 12px;
         background: transparent;
     }



/* For mobile ammd bhi */

:root {
  --accent-color: #1fa8f5;
  --accent-color-fg: #fefefe;
  --backdrop-color: #89d4fe;
  --app-content-background-color: #c0d8ec;
  --inset-shadow: rgba(7, 43, 74, 0.3);
  --outset-shadow: rgba(223, 240, 255, 0.25);
  --clay-box-shadow: rgba(7, 43, 74, 0.3);
  --clay-background-color: #c0d8ec;
  --clay-fg-color: #444;
}





.search-wrapper {
    position: relative;
    width: 100%;

}

/* Search Input Box */
.search-box {
    width: 100%;
    padding: 12px 50px 12px 20px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: #fff;
}

.search-box:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-box::placeholder {
    color: #999;
}

/* Search Icon */
.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
    z-index: 2;
}

.search-icon i {
    font-size: 18px;
}

/* Suggestions Container */
.suggestions-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
.suggestions-list::-webkit-scrollbar,
.g-scrolls::-webkit-scrollbar {
    width: 8px;
}

.suggestions-list::-webkit-scrollbar-track,
.g-scrolls::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.suggestions-list::-webkit-scrollbar-thumb,
.g-scrolls::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.suggestions-list::-webkit-scrollbar-thumb:hover,
.g-scrolls::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Suggestion Items */
.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f8f9fa;
}

.suggestion-item.no-results {
    cursor: default;
    color: #666;
    justify-content: center;
}

.suggestion-item.no-results:hover {
    background-color: transparent;
}

.suggestion-item.loading {
    cursor: default;
    justify-content: center;
    color: #007bff;
}

.suggestion-item.loading:hover {
    background-color: transparent;
}

/* Suggestion Content */
.suggestion-item .d-flex {
    flex: 1;
    min-width: 0;
}

.suggestion-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.suggestion-text {
    flex: 1;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suggestion-text strong {
    color: #007bff;
    font-weight: 600;
}

.suggestion-arrow {
    color: #999;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.suggestion-item:hover .suggestion-arrow,
.suggestion-item.active .suggestion-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Loading States */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-wrapper {
        max-width: 100%;
    }

    .search-box {
        padding: 10px 45px 10px 15px;
        font-size: 14px;
    }

    .suggestion-item {
        padding: 10px 12px;
    }

    .suggestion-thumbnail {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }

    .suggestion-text {
        font-size: 13px;
    }

    .suggestions-list {
        max-height: 300px;
    }
}

/* Focus and Accessibility */
.search-box:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.suggestion-item:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: -2px;
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {

    /* .search-box {
background: #2a2a2a;
color: #fff;
border-color: #444;
}
*/
    .suggestions-list {
        background: #2a2a2a;
        border-color: #444;
    }

    .suggestion-item {
        border-bottom-color: #444;
    }

    .suggestion-item:hover,
    .suggestion-item.active {
        background-color: #333;
    }

    .suggestion-text {
        color: #e0e0e0;
    }

    .suggestion-thumbnail {
        border-color: #444;
    }
}

/* Additional utility classes */
.text-muted {
    color: #6c757d !important;
}

.text-danger {
    color: #dc3545 !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.header ul li:hover {
    border: 1px solid #0053f2;
}

.nav-line-2 svg {
    width: 20px;
    height: auto;
}

.dropdown.language-dropdown ul.dropdown-menu {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: none;
    background: white;
}

.dropdown.language-dropdown {
    cursor: pointer;
}

.dropdown.language-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    box-shadow: rgb(166 166 166 / 35%) 0px 5px 15px !important;
    border: none;
}

.loc-wrapper .nav-line-1,
.loc-wrapper .nav-line-2 {
    font-size: 14px;
    line-height: 15px;
}

.loc-wrapper div#glow-ingress-block {
    display: flex;
    flex-direction: column;
}

.loc-wrapper {
    cursor: pointer;
}

.loc-wrapper:hover {
    border: 1px solid blue;
}

.wishlist-icon:hover a>i {
    color: #dc3545 !important;
}







.mobile_navigation_bar .flex-center {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile_navigation_bar .container {
    padding: 1rem 1rem 1.5rem;
}

.mobile_navigation_bar .stage {
    max-width: 400px;
    width: 400px;
    margin: 0 auto;
}

.mobile_navigation_bar .home.active {
    color: var(--accent-color);
}

.mobile_navigation_bar .home-style {
    --app-content-background-color: #c0d8ec;
}

.mobile_navigation_bar .products.active {
    --outset-shadow: rgba(247, 167, 103, 0.45);
    --inset-shadow: rgba(149, 62, 8, 0.45);
    --clay-box-shadow: rgba(211, 69, 20, 0.4);
    --clay-background-color: #d34514;
    --clay-fg-color: #f1f2f3;
    color: #690c0c;
}

.mobile_navigation_bar .products-style {
    --app-content-background-color: #d36e5a;
}

.mobile_navigation_bar .services.active {
    --outset-shadow: rgba(255, 159, 40, 0.45);
    --inset-shadow: rgba(88, 54, 13, 0.45);
    --clay-box-shadow: rgba(88, 54, 13, 0.4);
    --clay-background-color: #ed9426;
    --clay-fg-color: #f1f2f3;
    color: #cf5c0f;
}

.mobile_navigation_bar .services-style {
    --app-content-background-color: #ed9426;
}

.mobile_navigation_bar .about.active {
    --outset-shadow: rgba(93, 255, 85, 0.45);
    --inset-shadow: rgba(28, 78, 26, 0.45);
    --clay-box-shadow: rgba(28, 78, 26, 0.4);
    --clay-background-color: #4dd146;
    --clay-fg-color: #f1f2f3;
    color: #4dd146;
}

.mobile_navigation_bar .about-style {
    --app-content-background-color: #4dd146;
}

.mobile_navigation_bar .help.active {
    --outset-shadow: rgba(230, 230, 230, 0.45);
    --inset-shadow: rgba(81, 81, 81, 0.45);
    --clay-box-shadow: rgba(81, 81, 81, 0.4);
    --clay-background-color: #a3a3a3;
    --clay-fg-color: #f1f2f3;
    color: #783896;
}

.mobile_navigation_bar .help-style {
    --app-content-background-color: #a3a3a3;
}

.mobile_navigation_bar .tabbar {
    background-color: #0037ff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    height: 81px;
    display: flex;
    flex-direction: column;
    box-sizing: content-box;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s;
}

.mobile_navigation_bar .tabbar ul,
.mobile_navigation_bar .tabbar li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.mobile_navigation_bar .tabbar ul {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #f9f8fa;
    align-self: flex-end;
    justify-content: center;
    height: 60px;
}

.mobile_navigation_bar .tabbar li {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    margin-right: 5px;
    transition: all 0.4s;
    background-color: #f9f8fa;
    width: 60px;
    height: 60px;
    position: relative;
    color: #888;
    cursor: pointer;
}

.mobile_navigation_bar .tabbar li:last-child {
    margin-right: 0;
}

.mobile_navigation_bar .tab-style1 ul {
    justify-content: center;
}

.mobile_navigation_bar .tab-style1 li {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 1px;
    left: 0;
    width: 60px;
    height: 50px;
    transition: top 0.2s ease-out, width 0.4s, border-radius 0.4s, box-shadow 0.4s;
}

.mobile_navigation_bar .tab-style1 li.follow {
    position: absolute;
    border-radius: 100%;
    content: " ";
    width: 60px;
    height: 60px;
    border: 10px solid var(--app-content-background-color);
    background-color: var(--app-content-background-color);
    top: -3rem;
    transition: left 0.4s ease-in, background-color 0.4s, border-color 0.4s;
}

.mobile_navigation_bar .tab-style1 li.follow:before,
.mobile_navigation_bar .tab-style1 li.follow:after {
    content: " ";
    position: absolute;
    top: 27px;
    right: -27px;
    border-top: 11px solid var(--app-content-background-color);
    background-color: #f9f8fa;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    transition: border-color 0.4s;
}

.mobile_navigation_bar .tab-style1 li.follow::after {
    border-top-left-radius: 100%;
}

.mobile_navigation_bar .tab-style1 li.follow:before {
    left: -27px;
    right: unset;
    border-top-right-radius: 100%;
}

.mobile_navigation_bar .tab-style1 li:nth-child(1).active~.follow {
    left: 12px;
}

.mobile_navigation_bar .tab-style1 li:nth-child(2).active~.follow {
    left: 75px;
}

.mobile_navigation_bar .tab-style1 li:nth-child(3).active~.follow {
    left: 140px;
}

.mobile_navigation_bar .tab-style1 li:nth-child(4).active~.follow {
    left: 205px;
}

.mobile_navigation_bar .tab-style1 li:nth-child(5).active~.follow {
    left: 270px;
}

.mobile_navigation_bar .tab-style1 .active {
    z-index: 100;
    width: 60px;
    height: 60px;
    top: -2rem;
    border-radius: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.mobile_navigation_bar .tab-style2 ul {
    justify-content: space-around;
}

.mobile_navigation_bar .tab-style2 li {
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 1px;
    left: 0;
    width: 60px;
    height: 50px;
    flex-direction: column-reverse;
}

.mobile_navigation_bar .tab-style2 .active {
    width: 60px;
    height: 60px;
    top: -12px;
}

.mobile_navigation_bar .tab-style2 .active span {
    font-size: 12px;
    color: blue;
    font-weight: 600;
}

.mobile_navigation_bar .tab-style2 span {
    font-size: 11px;

    font-weight: 600;
}

.mobile_navigation_bar .tab-style2 .active:before,
.mobile_navigation_bar .tab-style2 .active:after {
    position: absolute;
    content: " ";
    width: 13px;
    height: 13px;
    border-bottom: 4px solid #f9f8fa;
    top: 9px;
}

.mobile_navigation_bar .tab-style2 .active:before {
    border-bottom-right-radius: 100%;
    left: -5px;
}

.mobile_navigation_bar .tab-style2 .active:after {
    border-bottom-left-radius: 100%;
    right: -7px;
}

.mobile_navigation_bar li.active i {
    color: #0037ff !important;
    font-size: 26px;
}

.mobile_navigation_bar .tab-style3 li {
    top: -8px;
    width: 60px;
    height: 35px;
    background-color: transparent;
    padding-top: 3px;
}

.mobile_navigation_bar .tab-style3 li.follow {
    position: absolute;
    top: 0;
    display: flex;
    border-top: 3px solid #333;
    width: 60px;
    height: 1px;
    transition: all 0.3s ease-out;
}

.mobile_navigation_bar .tab-style3 li:nth-child(1).active~.follow {
    left: 20px;
    z-index: 20;
}

.mobile_navigation_bar .tab-style3 li:nth-child(2).active~.follow {
    left: 88px;
    z-index: 20;
}

.mobile_navigation_bar .tab-style3 li:nth-child(3).active~.follow {
    left: 149px;
    z-index: 20;
}

.mobile_navigation_bar .tab-style3 li:nth-child(4).active~.follow {
    left: 216px;
    z-index: 20;
}

.mobile_navigation_bar .tab-style3 li:nth-child(5).active~.follow {
    left: 283px;
    z-index: 20;
}

.mobile_navigation_bar .tab-style4 li {
    width: 60px;
    height: 40px;
    flex-direction: column;
    overflow: hidden;
}

.mobile_navigation_bar .tab-style4 li span {
    position: relative;
    top: 3px;
    transition: top 0.4s ease-out, font-size 0.2s ease-out;
    text-shadow: inset 2px 2px 4px var(--clay-box-shadow);
}

.mobile_navigation_bar .tab-style4 li:after {
    width: 100%;
    height: 10px;
    text-transform: uppercase;
    text-align: center;
    font-size: 8px;
    font-weight: bold;
    position: relative;
    bottom: -30px;
    opacity: 0;
    transition: bottom 0.2s ease-out, opacity 0.4s ease-out;
}

.mobile_navigation_bar .tab-style4 li.active:after {
    opacity: 1;
    bottom: 2px;
    text-shadow: inset 2px 2px 8px var(--clay-box-shadow);
}

.mobile_navigation_bar .tab-style4 li:nth-child(1):after {
    content: "home";
}

.mobile_navigation_bar .tab-style4 li:nth-child(2):after {
    content: "products";
}

.mobile_navigation_bar .tab-style4 li:nth-child(3):after {
    content: "services";
}

.mobile_navigation_bar .tab-style4 li:nth-child(4):after {
    content: "company";
}

.mobile_navigation_bar .tab-style4 li:nth-child(5):after {
    content: "help";
}

.mobile_navigation_bar .tab-style4 .active span {
    font-size: 1.1rem;
    top: -4px;
}

.mobile_navigation_bar .tab-style5 ul {
    justify-content: center;
}

.mobile_navigation_bar .tab-style5 li {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 1px;
    left: 0;
    width: 60px;
    height: 50px;
    transition: top 0.4s ease-out, border-radius 0.4s ease-out, box-shadow 0.4s ease-out;
}

.mobile_navigation_bar .tab-style5 .active {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    top: -1rem;
    background-color: var(--clay-background-color);
    box-shadow: 1px 2px 4px 0 var(--clay-box-shadow), 2px 4px 8px 0 var(--clay-box-shadow),
        inset 2px 2px 8px var(--outset-shadow), inset -2px -2px 8px var(--inset-shadow);
    color: var(--clay-fg-color);
}

.mobile_navigation_bar .tab-style5 .active span {
    font-size: 2rem;
}

.mobile_navigation_bar {
    position: fixed;
    bottom: 0px;
    width: 100% !important;
    z-index: 999999;
}




@media screen and (min-width:991px) {
    .mobile_navigation_bar {
        display: none;
    }
}

@media screen and (max-width:991px) {
    .mobile_navigation_bar {
        display: block;
    }
}



/* Latest mobile nabr icon dropdown  */



 /* Mobile category toggle icon - only visible on mobile */
 .mobile-category-toggle {
  display: none !important;
  margin-left: auto;
  font-size: 16px;
  color: #666;
  transition: transform 0.3s ease;
}

.desktop-icon {
  display: inline;
}

@media (max-width: 991px) {
  .mobile-category-toggle {
      display: inline-block !important;
  }
  
  .desktop-icon {
      display: none !important;
  }
  
  .category-link {
      display: flex !important;
      align-items: center;
      justify-content: space-between;
      width: 100%;
  }
  
  .category-name {
      flex: 1;
  }
  
  /* Rotate icon when submenu is active */
  .menu-item-has-children.active .mobile-category-toggle {
      transform: rotate(90deg);
  }
}