/* Shop Style */
#search-section {
  padding: 40px 80px;
  background-color: #f5f5f5;
}

#search-section .search-container {
  max-width: 1200px;
  margin: 0 auto;
}

#search-section h3 {
  font-size: 24px;
  color: #222;
  margin-bottom: 20px;
}

#search-section .search-filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}

#search-section .filter {
  flex: 1;
  min-width: 200px;
}

#search-section .filter label {
  font-size: 16px;
  color: #222;
  margin-bottom: 8px;
  display: block;
}

#search-section .filter select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

#search-section .search-btn {
  background-color: #088178;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#search-section .search-btn:hover {
  background-color: #065c49;
}

#navbar .searchBox {
  display: flex;
  align-items: center;
}

.searchBox .searchToggle {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
}

.searchToggle i {
  position: absolute;
  color: black;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.searchToggle i.cancel {
  opacity: 0;
  pointer-events: none;
}
.searchToggle.active i.cancel {
  opacity: 1;
  pointer-events: auto;
}
.searchToggle.active i.search {
  opacity: 0;
  pointer-events: none;
}

.searchBox {
  position: relative;
}

.searchBox .search-field {
  position: absolute;
  bottom: -85px;
  right: 5px;
  height: 50px;
  width: 300px;
  display: flex;
  align-items: center;
  background-color: #010718;
  padding: 3px;
  border-radius: 6px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.searchToggle.active ~ .search-field {
  bottom: -74px;
  opacity: 1;
  pointer-events: auto;
}

.search-field::before {
  content: "";
  position: absolute;
  right: 14px;
  top: -4px;
  height: 12px;
  width: 12px;
  background-color: #010718;
  transform: rotate(-45deg);
  z-index: -1;
}

.search-field input {
  height: 100%;
  width: 100%;
  padding: 0 45px 0 15px;
  outline: none;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #010718;
  background-color: #f2f2f2;
}

.search-field i {
  position: absolute;
  color: #010718;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

#suggestionBox {
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
}

.suggestion-item {
  padding: 8px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  #search-section .search-filters {
    flex-direction: column;
  }

  #search-section .filter {
    width: 100%;
    margin-bottom: 20px;
  }

  #search-section .search-btn {
    width: 100%;
  }

  #pagination {
    display: flex;
    justify-content: center;
  }

  #navbar .searchBox {
    order: -1;
    width: 100%;
    margin-bottom: 10px;
  }

  .searchBox .searchToggle {
    margin-left: auto;
  }

  .search-field {
    width: calc(100% - 30px);
  }
}
