/* Scry Search autosuggest dropdown (multyg) */
.woocommerce-product-search .scry-search-autosuggest-results{width:100%!important;left:0;right:0;margin-top:6px;padding:6px 0;border:1px solid #e5e5e5;border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.12);overflow:hidden;font-family:inherit}
.scry-search-autosuggest-results-inner{width:100%}
.mg-suggest .scry-search-autosuggest-result-item{padding:0;border:0}
.mg-suggest .scry-search-autosuggest-result-link{display:flex;align-items:center;gap:14px;padding:10px 16px;color:#111;text-decoration:none;transition:background .15s}
.mg-suggest .scry-search-autosuggest-result-link:hover,.mg-suggest .scry-search-autosuggest-result-link:focus{background:#f6f5ef}
.mg-suggest .scry-search-autosuggest-result-thumb{width:48px;height:48px;border-radius:6px;object-fit:cover;flex-shrink:0;background:#f3f3f3}
.mg-suggest-text{display:flex;flex-direction:column;min-width:0;gap:2px}
.mg-suggest .scry-search-autosuggest-result-title{font-size:15px;font-weight:500;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mg-suggest .scry-search-autosuggest-result-title mark{background:none;color:inherit;font-weight:700}
.mg-suggest-price{font-size:14px;color:#666}
.mg-suggest-price del{color:#999;margin-right:6px}
.mg-suggest-price ins{text-decoration:none;color:#111}
.mg-suggest-terms{display:flex;flex-wrap:wrap;gap:8px;padding:10px 16px 6px;border-bottom:1px solid #eee;margin:0 0 4px}
.mg-suggest-term{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:#f1efe6;color:#222;font-size:13px;font-weight:500;text-decoration:none;line-height:1.4}
.mg-suggest-term:hover{background:#e6e2d3;color:#000}
.mg-suggest-term small{color:#777;font-weight:400}
.mg-suggest-all{display:block;padding:12px 16px;border-top:1px solid #eee;margin-top:4px;text-align:center;font-size:14px;font-weight:500;color:#1e68c4;text-decoration:none}
.mg-suggest-all:hover{background:#f6f5ef}
.scry-search-autosuggest-results-close-button{display:none}
@media (max-width:767px){.mg-suggest .scry-search-autosuggest-result-thumb{width:40px;height:40px}.mg-suggest .scry-search-autosuggest-result-title{white-space:normal;font-size:14px}}

/* No results page */
.mg-noresults{max-width:1100px;margin:0 auto 3em}
.mg-noresults-hero{text-align:center;padding:2.5em 1em 2em;background:#f6f5ef;border-radius:14px;margin-bottom:2.5em}
.mg-noresults-hero h2{margin:0 0 .4em;font-size:28px;line-height:1.2}
.mg-noresults-hero p{margin:0 auto 1.4em;color:#666;max-width:520px}
.mg-noresults-hero .woocommerce-product-search{max-width:520px;margin:0 auto;position:relative}
.mg-noresults h3{font-size:20px;margin:0 0 1em}
.mg-noresults-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:2.5em}
.mg-noresults-cat{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e5e5e5;border-radius:10px;color:#111;text-decoration:none;background:#fff;transition:border-color .15s,box-shadow .15s}
.mg-noresults-cat:hover{border-color:#bbb;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.mg-noresults-cat img,.mg-noresults-cat-ph{width:48px;height:48px;border-radius:8px;object-fit:cover;flex-shrink:0;background:#f1efe6}
.mg-noresults-cat span{font-weight:500;font-size:15px;line-height:1.3}
.mg-noresults-cat small{display:block;color:#888;font-weight:400;font-size:13px}
.mg-noresults .products{margin-bottom:2.5em}
.mg-noresults-help{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;padding:1.4em 1.6em;border:1px dashed #cfcab8;border-radius:12px;background:#fbfaf6}
.mg-noresults-help strong{font-size:17px}
.mg-noresults-help span{color:#666;flex:1;min-width:220px}
.mg-noresults-help .button{background:#2db742;border-color:#2db742;color:#fff;border-radius:8px}
.mg-noresults-help .button:hover{background:#249a37;border-color:#249a37;color:#fff}
@media (max-width:767px){.mg-noresults-cats{grid-template-columns:repeat(2,1fr)}.mg-noresults-hero h2{font-size:22px}}

.mg-suggest-price em{font-style:normal;font-size:12px;color:#b45309;background:#fff4e5;border-radius:4px;padding:1px 6px;margin-left:6px}

.mg-price-note{margin:0 0 1.2em;padding:10px 14px;background:#fff8e6;border:1px solid #f1dfae;border-radius:8px;color:#5a4300;font-size:14px}
