.tex8-smart-search { width: 100%; margin: 1rem 0; }
.tex8-search-input-row { display: flex; align-items: center; gap: 4px; padding: .45rem; border: 1px solid #d9dde5; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(30, 37, 54, .08); }
.tex8-search-query { min-width: 0; flex: 1; border: 0 !important; outline: 0; box-shadow: none !important; padding: .7rem .8rem; font: inherit; }
.tex8-search-icon-button, .tex8-search-submit { min-width: 42px; min-height: 42px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; }
.tex8-search-icon-button { background: #f5f6f8; }
.tex8-search-icon-button svg { width: 20px; height: 20px; vertical-align: middle; }
.tex8-smart-search .tex8-voice-spinner { animation: tex8-voice-spin 1s linear infinite; }
@keyframes tex8-voice-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tex8-smart-search .tex8-voice-spinner { animation: none; } }
.tex8-search-submit { padding: 0 1rem; color: #fff; background: #ff6b35; }
.tex8-search-icon-button.is-listening { color: #fff; background: #e5484d; }
.tex8-search-modes { display: flex; flex-wrap: wrap; gap: 1rem; margin: .6rem .35rem 0; color: #5e6472; font-size: .88rem; }
.tex8-search-modes label { cursor: pointer; }
.tex8-search-status { min-height: 1.5em; margin: .6rem .35rem; color: #626979; font-size: .9rem; }
.tex8-search-feedback { display: flex; align-items: center; gap: 8px; min-height: 24px; margin: .6rem .35rem; }
.tex8-search-feedback .tex8-search-status { min-width: 0; margin: 0; }
.tex8-search-feedback [data-tex8-voice-meter] { display: inline-flex; flex: 0 0 96px; color: #e5484d; line-height: 0; }
.tex8-search-feedback [data-tex8-voice-meter][hidden] { display: none; }
.tex8-search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.tex8-search-result-card { overflow: hidden; display: flex; flex-direction: column; min-height: 95px; border: 1px solid #e1e4ea; border-radius: 14px; color: inherit; background: #fff; text-decoration: none !important; }
.tex8-search-result-card:hover { border-color: #ff6b35; box-shadow: 0 8px 22px rgba(30, 37, 54, .1); }
.tex8-search-result-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tex8-search-result-body { display: flex; flex-direction: column; gap: .25rem; padding: .8rem; }
.tex8-search-result-body small { color: #737a89; text-transform: capitalize; }
.tex8-search-form.is-loading { opacity: .72; }
@media (max-width: 520px) { .tex8-search-submit { padding: 0 .7rem; } .tex8-search-modes { gap: .65rem; } }
