.facet-select-container {
  position: relative;
  margin-bottom: 16px;
}

.facet-select-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
}

.facet-select-button:hover {
  border-color: #888;
}

.facet-display-text {
  font-size: 16px;
  color: #444;
}

.facet-select-arrow {
  margin-left: 8px;
  display: flex;
  align-items: center;
}

.facet-options-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999 !important;
  margin-top: 4px;
  padding: 8px 0;
  list-style: none;
}

.facet-option {
  padding: 10px 16px;
  margin: 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  transition: background-color 0.2s;
  color: black;
  font-weight: 600;
}

.facet-option[data-is-placeholder="true"] span {
  color: #6b7280;
  font-weight: 400;
}

.facet-option:hover {
  background-color: #f0f0f0;
}

.facet-option span {
  display: block;
  width: 100%;
}

.is-placeholder:before {
  content: "Any ";
  display: inline;
}

/* Add specific hide classes for each facet type */
.product-grid .item[class*="hide-"] {
  display: none !important;
  /* opacity: 0.3; */
  /* transition: opacity 0.3s ease; */
}

/* Hide by default for all except those explicitly set to display */
[class*="hide-beds_min"],
[class*="hide-baths_min"],
[class*="hide-collection"],
[class*="hide-location"],
[class*="hide-type"],
[class*="hide-garage"] {
  display: none !important;
}
