.yss-smart-search .yss-search-form{width:100%;margin:0 0 1.5rem}
.yss-smart-search .yss-search-control{display:flex;position:relative;gap:8px;width:100%;align-items:stretch}
.yss-smart-search .yss-search-input{box-sizing:border-box;flex:1;min-width:0;min-height:48px;padding:12px 15px;border:1px solid #d4d7dc;border-radius:5px;background:#fff;color:#222;font:inherit;font-size:16px !important;line-height:1.3 !important;box-shadow:none}
.yss-smart-search .yss-search-input:focus{outline:2px solid #1f6f50;outline-offset:1px;border-color:#1f6f50}
.yss-smart-search .yss-search-submit, .yss-smart-search .yss-filter-submit{border:0;border-radius:5px;padding:12px 20px;background:#1f6f50;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.yss-smart-search .yss-search-submit:hover, .yss-smart-search .yss-filter-submit:hover{filter:brightness(.92)}
.yss-smart-search .yss-suggestions{position:absolute;z-index:99999;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #d9dde2;border-radius:6px;box-shadow:0 8px 28px rgba(0,0,0,.14);max-height:430px;overflow:auto}
.yss-smart-search .yss-suggestions[hidden]{display:none}
.yss-smart-search .yss-suggestion{display:flex;align-items:center;gap:12px;padding:10px 12px;color:inherit;text-decoration:none;border-bottom:1px solid #edf0f2}
.yss-smart-search .yss-suggestion:hover, .yss-smart-search .yss-suggestion:focus{background:#f5f8f6;color:inherit}
.yss-smart-search .yss-suggestion img{width:54px;height:54px;object-fit:contain;flex:0 0 54px}
.yss-smart-search .yss-suggestion-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.yss-smart-search .yss-suggestion-name{font-size:17px !important;font-weight:600;line-height:1.3}
.yss-smart-search 
.yss-smart-search .yss-suggestion-price{font-size:16px !important;font-weight:600;line-height:1.3;white-space:nowrap}
.yss-smart-search .yss-suggestion-empty, .yss-smart-search .yss-view-all{display:block;padding:13px 15px}
.yss-smart-search .yss-view-all{font-size:18px !important;font-weight:600;text-align:center;color:#1f6f50;text-decoration:none}
.yss-smart-search .yss-filter-form{padding:18px;margin:20px 0 24px;background:#f6f7f6;border:1px solid #e5e8e5;border-radius:8px}
.yss-smart-search .yss-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}
.yss-smart-search .yss-filter-grid label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.yss-smart-search .yss-filter-grid input:not([type=checkbox]), .yss-smart-search .yss-filter-grid select{box-sizing:border-box;width:100%;min-height:42px;padding:9px 10px;border:1px solid #d4d7dc;border-radius:4px;background:#fff;font:inherit;font-weight:400}
.yss-smart-search .yss-stock-filter{flex-direction:row!important;align-items:center;min-height:42px}
.yss-smart-search .yss-stock-filter input{width:18px;height:18px}
.yss-smart-search .yss-clear-filters{display:inline-flex;align-items:center;justify-content:center;min-height:42px;color:#1f6f50}
.yss-smart-search .yss-results-heading{margin:0 0 16px;color:#555}
.yss-smart-search .yss-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.yss-smart-search .yss-product-card{display:flex;min-width:0;flex-direction:column;border:1px solid #e3e5e7;border-radius:7px;overflow:hidden;background:#fff;transition:box-shadow .18s ease,transform .18s ease}
.yss-smart-search .yss-product-card:hover{box-shadow:0 5px 18px rgba(0,0,0,.08);transform:translateY(-2px)}
.yss-smart-search .yss-product-image{display:flex;align-items:center;justify-content:center;padding:14px;aspect-ratio:1/1;background:#fff}
.yss-smart-search .yss-product-image img{display:block;width:100%;height:100%;object-fit:contain}
.yss-smart-search .yss-product-info{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:14px;gap:9px}
.yss-smart-search .yss-product-info h2{font-size:16px;line-height:1.4;margin:0}
.yss-smart-search .yss-product-info h2 a{color:inherit;text-decoration:none}
.yss-smart-search .yss-product-price{font-size:17px;font-weight:700}
.yss-smart-search .yss-product-price del{font-size:.85em;font-weight:400;color:#777}
.yss-smart-search .yss-stock{font-size:13px;color:#4b6955}
.yss-smart-search .yss-view-product{display:inline-block;margin-top:auto;padding:9px 13px;background:#1f6f50;color:#fff;border-radius:4px;text-decoration:none;font-size:14px;font-weight:600}
.yss-smart-search .yss-view-product:hover{color:#fff;filter:brightness(.92)}
.yss-smart-search .yss-no-results{padding:30px 20px;border:1px solid #e5e8e5;border-radius:8px;text-align:center;background:#fafbfa}
.yss-smart-search .yss-no-results h2{margin-top:0}
.yss-smart-search .yss-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;list-style:none;margin:28px 0;padding:0}
.yss-smart-search .yss-pagination a, .yss-smart-search .yss-pagination span{display:inline-flex;padding:9px 13px;border:1px solid #ddd;border-radius:4px;text-decoration:none}
.yss-smart-search .yss-pagination .current{background:#1f6f50;color:#fff;border-color:#1f6f50}
@media(max-width:900px){.yss-smart-search .yss-search-input{font-size:16px !important}.yss-smart-search .yss-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.yss-smart-search .yss-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.yss-smart-search .yss-spell-correction{display:block;padding:12px 15px;background:#f6f7f6;color:#343a40;border-bottom:1px solid #edf0f2}.yss-spell-correction a{color:#1f6f50;font-weight:700;text-decoration:underline}

/* Collapsible advanced filters: keep results visible sooner on the page. */
.yss-smart-search .yss-advanced-filters{margin:8px 0 22px}
.yss-smart-search .yss-advanced-filters>summary{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;cursor:pointer;list-style:none;color:#1f6f50;font-weight:600;padding:8px 0}
.yss-smart-search .yss-advanced-filters>summary::-webkit-details-marker{display:none}
.yss-smart-search .yss-advanced-filters>summary:before{content:'+';display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:1px solid #cbd8d0;border-radius:50%;font-size:18px;line-height:1}
.yss-smart-search .yss-advanced-filters[open]>summary:before{content:'−'}
.yss-smart-search .yss-advanced-filters>summary:hover{text-decoration:underline}
.yss-smart-search .yss-advanced-filters-content{padding-top:4px}
.yss-smart-search .yss-advanced-filters .yss-filter-form{margin:8px 0 18px}

@media(max-width:600px){.yss-smart-search .yss-search-input{font-size:15px !important}}

/* Keep the custom header search typography consistent when Avada applies its own input styles. */
body .yss-smart-search.yss-header-search input.yss-search-input,
body .yss-smart-search.yss-header-search input.yss-search-input::placeholder {
  font-size: 16px !important;
  line-height: 1.3 !important;
}
@media (max-width: 900px) {
  body .yss-smart-search.yss-header-search input.yss-search-input,
  body .yss-smart-search.yss-header-search input.yss-search-input::placeholder { font-size: 15px !important; }
}
@media (max-width: 600px) {
  body .yss-smart-search.yss-header-search input.yss-search-input,
  body .yss-smart-search.yss-header-search input.yss-search-input::placeholder { font-size: 15px !important; }
}


/* v1.3.9: Explicitly reduce header search text and placeholder size; version bump refreshes cached CSS. */
body .fusion-tb-header .yss-smart-search.yss-header-search input.yss-search-input,
body .fusion-tb-header .yss-smart-search.yss-header-search input.yss-search-input::placeholder {
  font-size: 16px !important;
  line-height: 1.3 !important;
}
@media (max-width: 600px) {
  body .fusion-tb-header .yss-smart-search.yss-header-search input.yss-search-input,
  body .fusion-tb-header .yss-smart-search.yss-header-search input.yss-search-input::placeholder {
    font-size: 15px !important;
  }
}

/* v1.4.0: Keep live suggestion product text compact and readable in the header dropdown. */
body .yss-smart-search .yss-suggestions .yss-suggestion-name { font-size: 17px !important; line-height: 1.3 !important; }
body .yss-smart-search .yss-suggestions .yss-suggestion-price { font-size: 16px !important; line-height: 1.3 !important; }
body .yss-smart-search .yss-suggestions .yss-view-all { font-size: 18px !important; }


/* Restored child category tiles from v1.3.6 */
.yss-child-category-grid{display:grid;grid-template-columns:repeat(var(--yss-category-columns,4),minmax(0,1fr));gap:18px;margin:0 0 28px}
