/* =========================================================
   Shop search input — products.html fidelity
   ========================================================= */
html body.jade-design-active .jade-shop-main .filter-bar,
html body.jade-design-active.woocommerce-shop .filter-bar {
  background: #FFFFFF !important;
  border: 1px solid #E2E7EA !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 0 28px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

html body.jade-design-active .jade-shop-main .search-box,
html body.jade-design-active .jade-shop-main .jade-product-search {
  flex: 1 1 240px !important;
  min-width: 200px !important;
  max-width: 100% !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.jade-design-active .jade-shop-main .search-box > i,
html body.jade-design-active .jade-shop-main .jade-product-search > i {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #6B7280 !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Reset UA / theme / Woo search styles */
html body.jade-design-active .jade-shop-main .search-box input[type="search"],
html body.jade-design-active .jade-shop-main .search-box input.jade-product-search-input,
html body.jade-design-active .jade-shop-main .jade-product-search input,
html body.jade-design-active.woocommerce-shop .search-box input[type="search"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 11px 14px 11px 40px !important;
  border: 1.5px solid #E2E7EA !important;
  border-radius: 10px !important;
  background: #F3F5F6 !important;
  color: #1F1F1F !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, Helvetica, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

html body.jade-design-active .jade-shop-main .search-box input[type="search"]::placeholder,
html body.jade-design-active .jade-shop-main .jade-product-search input::placeholder {
  color: #6B7280 !important;
  opacity: 1 !important;
}

html body.jade-design-active .jade-shop-main .search-box input[type="search"]:hover,
html body.jade-design-active .jade-shop-main .jade-product-search input:hover {
  border-color: #d5dbe0 !important;
  background: #F7F8F9 !important;
}

html body.jade-design-active .jade-shop-main .search-box input[type="search"]:focus,
html body.jade-design-active .jade-shop-main .jade-product-search input:focus {
  border-color: #F5822A !important;
  background: #FFFFFF !important;
  box-shadow: 0 0 0 3px rgba(245, 130, 42, 0.12) !important;
  outline: none !important;
}

/* Remove native clear button weirdness on WebKit search inputs */
html body.jade-design-active .jade-shop-main .search-box input[type="search"]::-webkit-search-decoration,
html body.jade-design-active .jade-shop-main .search-box input[type="search"]::-webkit-search-cancel-button,
html body.jade-design-active .jade-shop-main .search-box input[type="search"]::-webkit-search-results-button,
html body.jade-design-active .jade-shop-main .search-box input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}

/* Chips remain tidy next to search */
html body.jade-design-active .jade-shop-main .filter-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center !important;
}
html body.jade-design-active .jade-shop-main .filter-chips .chip {
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  background: #F3F5F6 !important;
  color: #6B7280 !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
}
html body.jade-design-active .jade-shop-main .filter-chips .chip:hover,
html body.jade-design-active .jade-shop-main .filter-chips .chip.active {
  background: #FFF4EB !important;
  color: #E56F18 !important;
  border-color: rgba(245, 130, 42, 0.25) !important;
}

@media (max-width: 600px) {
  html body.jade-design-active .jade-shop-main .filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px !important;
    gap: 12px !important;
  }
  html body.jade-design-active .jade-shop-main .search-box,
  html body.jade-design-active .jade-shop-main .jade-product-search {
    min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
  }
}