/* ══ TBKEY SEARCH BAR ══ */
.tbkey-search-wrap {
  width: 100%;
  padding: 0 60px;
  position: relative;
  z-index: 10;
  margin-top: -32px;
}
.tbkey-search-bar {
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.88);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  overflow: visible;
  height: 58px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.tbkey-sf {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
}
.tbkey-select {
  display: none !important;
}
.tbkey-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.tbkey-search-btn {
  background: #fff;
  color: #1A1A2E;
  border: none;
  height: 100%;
  padding: 0 34px;
  font-family: 'Noto Sans Georgian','Montserrat',sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
  border-radius: 0 50px 50px 0;
  letter-spacing: 0.3px;
}
.tbkey-search-btn:hover { background: #e5e7eb; }
.tbkey-icon {
  flex-shrink: 0;
  margin-left: 22px;
  margin-right: 8px;
  opacity: 0.6;
  filter: brightness(0) invert(1);
}

/* ══ CUSTOM DROPDOWN ══ */
.tbkey-cdrop {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 0 22px 0 0;
  user-select: none;
}
.tbkey-cdrop-label {
  flex: 1;
  font-family: 'Noto Sans Georgian','Montserrat',sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #E5E7EB;
  padding-right: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tbkey-arrow {
  position: absolute;
  right: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  line-height: 1;
  transition: transform 0.2s;
  display: inline-block;
}
.tbkey-cdrop.open .tbkey-arrow {
  transform: rotate(180deg);
}
.tbkey-cdrop-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 190px;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  z-index: 99999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  overflow: hidden;
}
.tbkey-cdrop.open .tbkey-cdrop-list {
  display: block;
}
.tbkey-cdrop-item {
  padding: 10px 18px;
  color: #E5E7EB;
  font-family: 'Noto Sans Georgian','Montserrat',sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.tbkey-cdrop-item:hover { background: #1f2937; }
.tbkey-cdrop-item.selected { background: #1A1A2E; }

@media (max-width: 768px) {
  .tbkey-search-wrap {
    padding: 0 16px;
    margin-top: -24px;
    box-sizing: border-box;
  }
  .tbkey-search-bar {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    border-radius: 16px;
    overflow: visible;
    padding: 6px;
    gap: 0;
    background: rgba(255,255,255,0.97);
    border: 1px solid #e5e0d8;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  }
  .tbkey-divider { display: none; }
  .tbkey-sf {
    flex: 1 1 33.33%;
    height: 46px;
    max-width: 33.33%;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .tbkey-sf:nth-child(7) {
    flex: 0 0 40%;
    max-width: 40%;
    border-bottom: none;
  }
  .tbkey-search-btn {
    flex: 0 0 60%;
    max-width: 60%;
    height: 46px;
    border-radius: 0 0 12px 0;
    background: #1A1A2E;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }
  .tbkey-search-btn:hover { background: #000; }
  .tbkey-icon { display: none; }
  .tbkey-cdrop { padding: 0 14px; }
  .tbkey-cdrop-label {
    font-size: 13px;
    font-weight: 600;
    color: #1A1A2E;
  }
  .tbkey-arrow {
    right: 8px;
    font-size: 10px;
    color: rgba(0,0,0,0.3);
  }
  .tbkey-cdrop-list {
    background: #fff;
    border: 1px solid #e5e0d8;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  .tbkey-cdrop-item {
    color: #1A1A2E;
    font-size: 13px;
    padding: 11px 16px;
  }
  .tbkey-cdrop-item:hover { background: #f8f6f2; }
  .tbkey-cdrop-item.selected { background: #1A1A2E; color: #fff; }
}