/* TF Tactical – header search popup */
html body .site-dialog-search { background: rgba(10,11,8,.8) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html body .site-dialog-search .dialog-search-content {
  width: min(680px, calc(100% - 32px)) !important; max-width: none !important; padding: 0 !important;
  background: #1B1D14 !important; border: 1px solid #2E3123 !important; border-radius: 16px !important; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
html body .site-dialog-search .dialog-search-header {
  display: flex !important; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; min-height: 0 !important;
}
html body .site-dialog-search .dialog-search-title {
  font-family: Bahnschrift, 'DIN Alternate', 'Arial Narrow', sans-serif !important; font-size: 13px !important; font-weight: 700 !important;
  letter-spacing: .2em !important; text-transform: uppercase; color: #9DB06F !important; line-height: 1;
}
html body .site-dialog-search .dialog-search-close-icon {
  position: static !important; display: grid !important; place-items: center; width: 36px; height: 36px; flex: 0 0 36px;
  border: 1px solid #3A3F2C; border-radius: 50%; color: #E8E8E5; cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
html body .site-dialog-search .dialog-search-close-icon:hover { border-color: #6B7A4B; color: #9DB06F; background: rgba(107,122,75,.12); }
html body .site-dialog-search .dialog-search-close-icon .woostify-svg-icon,
html body .site-dialog-search .dialog-search-close-icon svg { width: 12px !important; height: 12px !important; display: block; }
html body .site-dialog-search svg path { fill: currentColor !important; }

html body .site-dialog-search .dialog-search-main { padding: 18px 24px 24px !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
html body .site-dialog-search .widget_product_search { margin: 0 !important; padding: 0 !important; }
html body .site-dialog-search form.woocommerce-product-search { position: relative; display: flex !important; align-items: stretch; gap: 8px; margin: 0 !important; }
html body .site-dialog-search .search-field {
  flex: 1 1 auto; min-width: 0; height: 56px !important; margin: 0 !important; padding: 0 16px 0 48px !important;
  background: #14150F !important; border: 1px solid #3A3F2C !important; border-radius: 10px !important;
  color: #fff !important; font-size: 16px !important; font-style: normal !important; box-shadow: none !important; outline: none !important;
  transition: border-color .2s, box-shadow .2s;
}
html body .site-dialog-search .search-field::placeholder { color: #8f9484 !important; font-style: normal !important; opacity: 1; }
html body .site-dialog-search .search-field:focus { border-color: #6B7A4B !important; box-shadow: 0 0 0 3px rgba(107,122,75,.25) !important; }
html body .site-dialog-search .search-field::-webkit-search-cancel-button { filter: invert(.7); }
html body .site-dialog-search .search-form-icon {
  position: absolute !important; left: 17px !important; right: auto !important; top: 28px !important; transform: translateY(-50%) !important;
  width: 18px; height: 18px; margin: 0 !important; color: #9DB06F; pointer-events: none; z-index: 2; display: block !important;
}
html body .site-dialog-search .search-form-icon .woostify-svg-icon, html body .site-dialog-search .search-form-icon svg { width: 18px !important; height: 18px !important; display: block; }
html body .site-dialog-search form.woocommerce-product-search button[type=submit] {
  position: static !important; display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 auto;
  width: auto !important; height: 56px !important; padding: 0 24px !important; margin: 0 !important; opacity: 1 !important; visibility: visible !important;
  clip: auto !important; text-indent: 0 !important; overflow: visible !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: .02em; line-height: 1;
  background: #6B7A4B !important; color: #14150F !important; border: 0 !important; border-radius: 10px !important; cursor: pointer; transition: background .2s;
}
html body .site-dialog-search form.woocommerce-product-search button[type=submit]:hover { background: #7E8F5A !important; }

.tft-search-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #2E3123; }
.tft-search-popular__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8f9484; margin-right: 4px; }
.tft-search-popular a {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid #3A3F2C; background: #14150F;
  font-size: 13px; color: #E8E8E5 !important; text-decoration: none !important; transition: border-color .2s, color .2s;
}
.tft-search-popular a:hover { border-color: #6B7A4B; color: #9DB06F !important; }
.tft-search-hint { margin-top: 14px; font-size: 12px; color: #6f7466; }
.tft-search-hint kbd { display: inline-block; padding: 1px 6px; margin: 0 2px; border: 1px solid #3A3F2C; border-radius: 4px; background: #14150F; font-family: inherit; font-size: 11px; color: #C7C8BE; }

@media (max-width: 600px) {
  html body .site-dialog-search .dialog-search-header { padding: 18px 18px 0 !important; }
  html body .site-dialog-search .dialog-search-main { padding: 14px 18px 18px !important; }
  html body .site-dialog-search .search-field { height: 52px !important; }
  html body .site-dialog-search .search-form-icon { top: 26px !important; }
  html body .site-dialog-search form.woocommerce-product-search button[type=submit] { height: 52px !important; padding: 0 16px !important; }
  .tft-search-hint { display: none; }
}
html body .site-dialog-search form.woocommerce-product-search .search-form-icon { top: 0 !important; bottom: auto !important; height: 56px !important; width: 18px !important; transform: none !important; display: flex !important; align-items: center; justify-content: center; line-height: 0; }
html body .site-dialog-search .search-form-icon .woostify-svg-icon { display: flex !important; align-items: center; line-height: 0; }
@media (max-width: 600px) { html body .site-dialog-search form.woocommerce-product-search .search-form-icon { height: 52px !important; } }

html body .site-dialog-search .search-form-icon, html body .site-dialog-search .search-form-icon .woostify-svg-icon, html body .site-dialog-search .search-form-icon svg { color: #fff !important; }
html body .site-dialog-search .search-form-icon svg path { fill: #fff !important; }
