 .conditional {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .conditional.show { max-height: 80px; opacity: 1; }




  /*---------------------------------Theme dropdown style in abstract form----------------------------*/
.dropdownTheme { position: relative; width: 100%; }
.dropdown-btn { width: 100%; padding: 10px; border: 1px solid #eddddd; background: #fff; text-align: left; cursor: pointer; border-radius:5px;}
.dropdown-list { display: none; position: absolute; width: 100%; border: 1px solid #ccc; background: #fff; z-index: 10; }
.dropdown-list.open { display: block; }
.option { padding: 10px; cursor: pointer; white-space: normal; word-break: break-word; line-height: 1.5; }
.option:hover { background: #f0f0f0; }



   .dropdown-list {
               background: #d8e0e5;
        }

/*---------------------------------Header global search----------------------------*/
header .middle-block .header-search {
  position: relative;
}
header .middle-block .header-search form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
header .middle-block .header-search #searchBtn {
  cursor: pointer;
}
.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}
.search-suggestions.active {
  display: block;
}
.search-suggestion-item {
  display: block;
  padding: 8px 14px;
  color: #222;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
.search-suggestion-item:last-child {
  border-bottom: none;
}
.search-suggestion-item:hover {
  background: #f0f6ff;
}
.search-suggestion-type {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 10px;
  background: #1878d4;
  color: #fff;
  font-size: 11px;
}
.search-suggestion-empty {
  padding: 10px 14px;
  color: #777;
  font-size: 13px;
}
.search-results-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.search-result-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.search-result-item a {
  font-size: 16px;
  text-decoration: none;
  color: #1878d4;
}
.search-result-type {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 10px;
  border-radius: 10px;
  background: #1878d4;
  color: #fff;
  font-size: 12px;
}
