/* Base container */
.custom-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  /*font-family: Arial, sans-serif;*/
  z-index: 2;
}

/* Button styling */
.custom-dropdown .dropdown-btn {
  background-color: #ff0015;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
}

.custom-dropdown .dropdown-btn:hover {
  background-color: #b20710;
}

/* Dropdown content */
.custom-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  width: 220px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  overflow: hidden;
}

/* Search box */
.custom-dropdown .dropdown-search {
  width: 90%;
  margin: 10px auto;
  display: block;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}

.custom-dropdown .dropdown-search:focus {
  border-color: #ff0015;
}

/* List styling */
.custom-dropdown .dropdown-list {
  list-style: none;
  max-height: 250px;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.custom-dropdown .dropdown-list li {
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s;
  color: #424242;
  font-weight: 700;
}

.custom-dropdown .dropdown-list li:hover {
  background-color: #ff0015;
  color: #ffffff;
}

.custom-dropdown .dropdown-list li.active {
  background-color: #ff0015;
  color: #fff;
}

/* Hide search for simple dropdowns (Newest) */
.custom-dropdown .no-search {
  margin-top: 0;
}
.custom-dropdown .no-search + .dropdown-search {
  display: none;
}

/* Common styles already given, सिर्फ responsive part add किया */
@media (max-width: 768px) {
  /*.custom-dropdown {
    display: block;
    width: 100%;
    margin-bottom: 0px;
  }*/
  .custom-dropdown {
	position: relative;
	z-index: auto;
	width: calc(45% - 0px);
	margin:4px !important;
  }
  .custom-dropdown .dropdown-content{
	position: absolute !important;
	z-index:2;
  }

  .custom-dropdown .dropdown-btn {
    width: 100%;
    padding: 8px 12px;   /* छोटा button feel */
    font-size: 14px;
  }
  .filter-list-area {
    padding: 10px 0px;
    margin-bottom: 10px;
  }

  .custom-dropdown .dropdown-content {
    position: relative; /* mobile में नीचे खुलना चाहिए, absolute नहीं */
    width: 100%;
    margin-top: 0px;
    border-radius: 6px;
  }

  .custom-dropdown .dropdown-search {
    width: 95%;
    margin: 5px auto;
    display: block;
    font-size: 14px;
    padding: 8px 10px;
  }

  .custom-dropdown .dropdown-list {
    max-height: 250px;
    overflow-y: auto;
  }

  .custom-dropdown .dropdown-list li {
    font-size: 13px;
    padding: 8px;
  }
}
 