.jd-search-overlay{
  position:fixed!important;
  inset:0!important;
  z-index:9999999!important;
  background:rgba(15,23,42,.46)!important;
  backdrop-filter:blur(8px)!important;
  display:none!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:110px 18px 40px!important;
}

.jd-search-overlay.open{
  display:flex!important;
}

.jd-search-box{
  width:min(860px,94vw)!important;
  background:#fff!important;
  border-radius:26px!important;
  box-shadow:0 28px 90px rgba(15,23,42,.28)!important;
  border:1px solid rgba(243,112,33,.22)!important;
  overflow:hidden!important;
}

.jd-search-head{
  padding:24px 26px 18px!important;
  border-bottom:1px solid rgba(15,23,42,.08)!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
}

.jd-search-input{
  flex:1!important;
  height:54px!important;
  border-radius:999px!important;
  border:1px solid rgba(15,23,42,.12)!important;
  padding:0 22px!important;
  font-size:17px!important;
  outline:none!important;
  color:#111827!important;
  background:#f8fafc!important;
}

.jd-search-input:focus{
  border-color:#f37021!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(243,112,33,.10)!important;
}

.jd-search-close{
  width:46px!important;
  height:46px!important;
  border-radius:50%!important;
  border:1px solid rgba(243,112,33,.28)!important;
  background:#fff!important;
  color:#f37021!important;
  font-size:24px!important;
  cursor:pointer!important;
  line-height:1!important;
}

.jd-search-body{
  max-height:62vh!important;
  overflow:auto!important;
  padding:14px 26px 26px!important;
}

.jd-search-tip{
  color:#6b7280!important;
  font-size:14px!important;
  margin:8px 0 18px!important;
}

.jd-search-result{
  display:block!important;
  padding:18px 0!important;
  border-bottom:1px solid rgba(15,23,42,.08)!important;
  text-decoration:none!important;
}

.jd-search-result h3{
  margin:0 0 8px!important;
  color:#111827!important;
  font-size:18px!important;
  line-height:1.35!important;
  font-weight:900!important;
}

.jd-search-result p{
  margin:0!important;
  color:#5b6470!important;
  font-size:14px!important;
  line-height:1.65!important;
}

.jd-search-result:hover h3{
  color:#f37021!important;
}

.jd-search-empty{
  padding:28px 0!important;
  color:#6b7280!important;
  font-size:15px!important;
}


/* JD_SEARCH_BUTTON_STYLE_V1 */
.jd-search-submit {
  flex: 0 0 auto;
  min-width: 104px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 26px;
  background: #ff6b1a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255,107,26,.22);
  transition: background .2s ease, transform .2s ease;
}

.jd-search-submit:hover {
  background: #e95b0b;
  transform: translateY(-1px);
}

.jd-search-submit:focus-visible {
  outline: 3px solid rgba(255,107,26,.28);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .jd-search-submit {
    min-width: 76px;
    height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* JD_SEARCH_CLOSE_STYLE_V2 */
.jd-search-close {
  flex: 0 0 auto !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border: 1px solid #e2e6ec !important;
  border-radius: 50% !important;
  background: #f7f8fa !important;
  color: transparent !important;
  font-size: 0 !important;
  cursor: pointer !important;
  position: relative !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07) !important;
  transition:
    color .2s ease,
    background .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease !important;
}

.jd-search-close::before,
.jd-search-close::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 17px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: #64748b !important;
  transition: background .2s ease !important;
}

.jd-search-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.jd-search-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.jd-search-close:hover {
  background: #fff3ec !important;
  border-color: #ff6b1a !important;
  transform: rotate(4deg) scale(1.04) !important;
  box-shadow: 0 7px 18px rgba(255, 107, 26, 0.16) !important;
}

.jd-search-close:hover::before,
.jd-search-close:hover::after {
  background: #ff6b1a !important;
}

.jd-search-close:focus-visible {
  outline: 3px solid rgba(255, 107, 26, 0.22) !important;
  outline-offset: 3px !important;
}

@media (max-width: 640px) {
  .jd-search-close {
    width: 44px !important;
    height: 44px !important;
  }
}
