/*! Search Box !*/
.search-box {
  margin: 0px 38px 0px 0px;
}

#homeSearchInputMobile {
  width: 350px;
  padding: 10px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: table;
  margin: 0px auto;
  transition: 0.2s ease-in;
}
#homeSearchInputMobile:hover {
  outline: none;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.7);
}
#homeSearchInputMobile:focus {
  outline: none;
  box-shadow: 0 0 10px 3px #74c69d;
}

#homeSearchResultsMobile {
  position: absolute;
  right: 20px;
  top: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-radius: 0.75rem;
  background-color: #fff;
  overflow-y: auto;
  width: 350px;
  max-height: 330px;
  z-index: 2;
}

#homeSearchResultsMobile a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: black;
  height: 100px;
  transition: background 0.2s;
}

#homeSearchResultsMobile a:hover {
  background-color: #f9fafb;
}

#homeSearchResultsMobile img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

#homeSearchResultsMobile h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

#homeSearchResultsMobile p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

#homeSearchResultsMobile span {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
}

/** Search Button **/
#homeSearchButtonMobile {
  position: relative;
  right: -60px;
  border: none;
  background-color: #74c69d;
  color: white;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.4);
  transition: 0.2s ease-in;
}

#homeSearchButtonMobile:hover {
  background-color: #6ab18d;
}

@media (max-width: 768px) {
    /*! Search Box !*/
.search-box {
  margin: 0px 38px 0px 0px;
}

#homeSearchInput {
  width: 350px;
  padding: 10px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  margin: 5px 0px;
  transition: 0.2s ease-in;
}
#homeSearchInput:hover {
  outline: none;
  box-shadow: 0 0px 6px rgba(0, 0, 0, 0.7);
}
#homeSearchInput:focus {
  outline: none;
  box-shadow: 0 0 10px 3px #74c69d;
}

#homeSearchResults {
  position: absolute;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border-radius: 0.75rem;
  background-color: #fff;
  overflow-y: auto;
  width: 350px;
  max-height: 330px;
  z-index: 2;
}

#homeSearchResults a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: black;
  height: 100px;
  transition: background 0.2s;
}

#homeSearchResults a:hover {
  background-color: #f9fafb;
}

#homeSearchResults img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

#homeSearchResults h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

#homeSearchResults p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

#homeSearchResults span {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
}

/** Search Button **/
#homeSearchButton {
  position: relative;
  right: -60px;
  border: none;
  background-color: #74c69d;
  color: white;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0px 4px rgba(0, 0, 0, 0.4);
  transition: 0.2s ease-in;
}

#homeSearchButton:hover {
  background-color: #6ab18d;
}
  /** search box **/
  .search-box-table {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 10px;
    height: 400px;
    overflow: hidden;
    z-index: 1000;
  }

  .search-box {
    display: table;
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
  }

  .search-box-text {
    color: rgba(0, 0, 0, 0.507);
    padding: 10px;
    font-size: 13px;
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
  .search-box-text svg {
    color: #ef233c;
  }

  .search-results {
    background: white;
    color: black;
    border-radius: 5px;
    max-height: 400px;
    overflow-y: auto;
    margin: 10px -10px 0px 0px;
    width: 86%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    direction: ltr;
  }

  .search-results a {
    display: flex;
    padding: 10px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: all 0.2s ease-in-out;
  }
}
