

  /* Mobile menu styling */

  :root {
    --container-md: 28rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
  }
 .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .container {
    max-width: 1280px;
    margin: auto;
    padding: 0 10px;
  }

  #mobile_menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    /* Remove transform property to fix the issue */
  }

  .mobile_active {
    transform: translateX(0) !important;
  }

  /* Mobile menu item styling */
  #mobile_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #mobile_menu li {
    border-bottom: 1px solid #e2e8f0;
    position: relative;
  }

  #mobile_menu li:last-child {
    border-bottom: none;
  }

  #mobile_menu a {
    display: block;
    padding: 12px 16px;
    color: #1a202c;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
  }

  #mobile_menu a:hover {
    background-color: #f7fafc;
    color: #1a56db;
  }

  /* Mobile submenu styling */
  #mobile_menu ul ul {
    display: none;
    padding-left: 16px;
    background-color: #f7fafc;
  }

  #mobile_menu .has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #mobile_menu .dropdown-toggle {
    padding: 4px 8px;
  }


  /* Improvements for desktop dropdown menu */
  nav.bg-primary ul li.group:hover ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
#mobile-backdrop {
    opacity: .8;
    background: black;
}
.close-mobile-menu.float-right.cursor-pointer {
    position: relative;
    top: -12px;
}
#search_modal{
    z-index: 99999;
}



/* style 2  */
.header_shadow {
  box-shadow: 0 2px 4px #c5c5c5;
}
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.search-container {
  width: 90%;
  max-width: 800px;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 20px 60px 20px 20px;
  font-size: 1.5rem;
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
}
.search-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.card-image {
  transition: transform 0.3s ease;
}
.card:hover .card-image {
  transform: scale(1.1);
}
.product-image {
  transition: transform 0.3s ease;
}
.product-image:hover {
  transform: scale(1.03);
}
.thumbnail {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.thumbnail:hover {
  border-color: #3b82f6;
  transform: scale(1.05);
}
.thumbnail.active {
  border-color: #3b82f6;
}
details[open] .icon {
  transform: rotate(180deg);
}
.accorion_shadow {
  box-shadow: 0 0 5px 0 rgba(32, 32, 32, 0.5);
}
.allProduct_btn_shadow {
  box-shadow: rgba(0, 0, 0, 0.66) 0px 2px 7px 0px !important;
}
.line-clamp-2 {
            overflow: hidden;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2
        }

.drop_shadow {
  box-shadow: 1px 1px 15px rgba(0,0,0,.15);
}
.card_shadow {
  box-shadow: 0 1px 3px -2px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);
}
#slider {
  transition: transform 0.5s ease-in-out;
}

.icon-open {
    transform: rotate(180deg);
}

#product-pagination nav > div:nth-child(1) {
    display: none;
}

div#product-pagination nav > div:nth-child(2) {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
@media (max-width: 500px) {
    #product-pagination nav > div:nth-child(2) {
        flex-direction: column;
        align-items: center;
        gap: 17px;
    }
}
