/* Shared search dialog parity: approved homepage search appearance. */
body .search-overlay.dk-search-parity {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: none !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 120px 24px 24px !important;
  background: rgba(10, 26, 58, 0.7) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

body .search-overlay.dk-search-parity.open {
  display: flex !important;
}

body .dk-search-parity .search-box {
  position: relative !important;
  width: min(600px, 100%) !important;
  padding: 32px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  animation: dkSearchSlideDown 0.25s ease !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

@keyframes dkSearchSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body .dk-search-parity .search-box h3 {
  margin: 0 0 16px !important;
  color: #0a1a3a !important;
  font-family: "Manrope", "Noto Sans SC", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

body .dk-search-parity .search-input-wrap {
  display: flex !important;
  gap: 10px !important;
  align-items: stretch !important;
}

body .dk-search-parity .search-input-wrap input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 46px !important;
  padding: 12px 16px !important;
  border: 2px solid #e9ecef !important;
  border-radius: 8px !important;
  outline: none !important;
  background: #fff !important;
  color: #27343b !important;
  font-family: "Manrope", "Noto Sans SC", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body .dk-search-parity .search-input-wrap input:focus {
  border-color: #c49535 !important;
  box-shadow: 0 0 0 3px rgba(196, 149, 53, 0.14) !important;
}

body .dk-search-parity .btn-search {
  min-width: 95px !important;
  height: 46px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #c49535 !important;
  color: #fff !important;
  font-family: "Manrope", "Noto Sans SC", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

body .dk-search-parity .btn-search:hover,
body .dk-search-parity .btn-search:focus-visible {
  background: #d4a13f !important;
  transform: translateY(-1px) !important;
}

body .dk-search-parity .search-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  display: grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #adb5bd !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

body .dk-search-parity .search-close:hover,
body .dk-search-parity .search-close:focus-visible {
  background: #f1f3f5 !important;
  color: #0a1a3a !important;
}

body .dk-search-parity .search-popular {
  margin-top: 14px !important;
}

body .dk-search-parity .search-popular p {
  margin: 0 0 8px !important;
  color: #6c757d !important;
  font-family: "Manrope", "Noto Sans SC", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.5px !important;
  text-align: left !important;
  text-transform: uppercase !important;
}

body .dk-search-parity .search-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

body .dk-search-parity .search-tag {
  min-height: 0 !important;
  padding: 5px 14px !important;
  border: 0 !important;
  border-radius: 20px !important;
  background: #f1f3f5 !important;
  color: #495057 !important;
  font-family: "Manrope", "Noto Sans SC", sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}

body .dk-search-parity .search-tag:hover,
body .dk-search-parity .search-tag:focus-visible {
  background: #c49535 !important;
  color: #fff !important;
}

body .dk-search-parity .search-results {
  display: none !important;
  margin-top: 18px !important;
  padding-top: 10px !important;
  border-top: 1px solid #e9ecef !important;
}

body .dk-search-parity .search-results[data-visible="true"] {
  display: grid !important;
  gap: 2px !important;
}

body .dk-search-parity .search-result {
  min-height: 44px !important;
  padding: 9px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border-radius: 5px !important;
  color: #142b3a !important;
  font: 700 14px/1.35 "Manrope", "Noto Sans SC", sans-serif !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

body .dk-search-parity .search-result:hover,
body .dk-search-parity .search-result:focus-visible {
  background: #f7f4ee !important;
  color: #8f642a !important;
}

body .dk-search-parity .search-result svg {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  fill: none !important;
  stroke: #c4933f !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body .dk-search-parity .search-results__empty {
  margin: 0 !important;
  padding: 10px !important;
  color: #687177 !important;
  font: 500 14px/1.5 "Manrope", "Noto Sans SC", sans-serif !important;
  letter-spacing: 0 !important;
}

@media (max-width: 600px) {
  body .search-overlay.dk-search-parity {
    padding: 72px 16px 16px !important;
  }

  body .dk-search-parity .search-box {
    padding: 28px 20px 22px !important;
    border-radius: 12px !important;
  }

  body .dk-search-parity .search-input-wrap {
    flex-direction: column !important;
  }

  body .dk-search-parity .btn-search {
    width: 100% !important;
  }

  body .dk-search-parity .search-box {
    max-height: calc(100dvh - 88px) !important;
    overflow-y: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .dk-search-parity .search-box {
    animation: none !important;
  }
}
