.sfs-search{position:relative;max-width:760px;width:100%;z-index:20}.sfs-search-box{position:relative}.sfs-search-input{box-sizing:border-box;width:100%;padding:14px 46px 14px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:16px;line-height:1.4;background:#fff;color:#111827}.sfs-search-input:focus{outline:2px solid rgba(34,113,177,.18);border-color:#2271b1}.sfs-search-icon{position:absolute;right:16px;top:50%;width:16px;height:16px;border:2px solid #64748b;border-radius:50%;transform:translateY(-58%);pointer-events:none;box-sizing:border-box}.sfs-search-icon:after{content:"";position:absolute;width:7px;height:2px;background:#64748b;right:-5px;bottom:-3px;transform:rotate(45deg);border-radius:2px}.sfs-search-status{font-size:12px;margin:7px 2px;color:#6b7280;min-height:18px}.sfs-search-results{position:absolute;left:0;right:0;top:calc(100% + 28px);background:#fff;border-radius:10px;box-shadow:0 14px 40px rgba(0,0,0,.16);overflow:hidden;max-height:520px;overflow-y:auto}.sfs-search-results:empty{display:none}.sfs-result{display:flex;align-items:center;gap:12px;padding:12px 14px;text-decoration:none!important;border-bottom:1px solid #eee;color:inherit!important;background:#fff}.sfs-result:last-child{border-bottom:0}.sfs-result:hover,.sfs-result:focus{background:#f8fafc;outline:0}.sfs-result img,.sfs-result-placeholder{width:58px;height:58px;flex:0 0 58px;object-fit:cover;border-radius:7px;background:#f1f5f9}.sfs-result--no-image{gap:0}.sfs-result-copy{display:flex;min-width:0;flex-direction:column}.sfs-result-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sfs-result-copy small{margin-top:5px;color:#6b7280;text-transform:capitalize}.sfs-result mark{background:#fef3c7;padding:0}.sfs-search--compact{max-width:560px}.sfs-search--compact .sfs-search-input{padding-top:11px;padding-bottom:11px;border-radius:999px}.sfs-search--compact .sfs-search-status{position:absolute;right:8px;top:100%;margin-top:4px}.sfs-search--compact .sfs-search-results{top:calc(100% + 24px)}@media(max-width:600px){.sfs-search{max-width:100%}.sfs-search-results{position:absolute;max-height:65vh}.sfs-result{padding:10px}.sfs-result img,.sfs-result-placeholder{width:48px;height:48px;flex-basis:48px}}


/* v3.0.3 - autocomplete footer, branding and full search results page */
.sfs-search-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 12px;border-top:1px solid #e5e7eb;background:#fafafa;font-size:12px;line-height:1.35}
.sfs-view-all-results{font-weight:600;text-decoration:none}
.sfs-search-branding{margin-left:auto;color:#7a7a7a;white-space:nowrap}
.sfs-search-branding a{color:inherit;text-decoration:none;font-weight:600}
.sfs-search-branding a:hover{text-decoration:underline}

.sfs-results-page{width:100%;padding:32px 20px 48px}
.sfs-results-page__inner{width:min(1180px,100%);margin:0 auto}
.sfs-results-page__header{margin-bottom:20px}
.sfs-results-page__header h1{margin:0 0 16px;font-size:30px;line-height:1.2}
.sfs-results-page__form{display:flex;gap:8px;margin:0 0 14px}
.sfs-results-page__form input[type=search]{flex:1;min-width:0;height:46px;padding:0 14px;border:1px solid #cfd4da;border-radius:3px;background:#fff;font-size:16px}
.sfs-results-page__form button{height:46px;padding:0 22px;border:0;border-radius:3px;background:#25b9d7;color:#fff;font-weight:600;cursor:pointer}
.sfs-results-page__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #e5e7eb}
.sfs-results-page__summary{font-size:14px;color:#555}
.sfs-results-page__sort{display:flex;align-items:center;gap:8px;font-size:13px}
.sfs-results-page__sort select{height:36px;border:1px solid #cfd4da;border-radius:3px;background:#fff;padding:0 28px 0 9px}
.sfs-results-page__list{min-height:120px}
.sfs-results-page__list.is-loading{opacity:.55;pointer-events:none}
.sfs-page-result{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;padding:18px 0;border-bottom:1px solid #e5e7eb}
.sfs-page-result__image{display:block;width:120px;height:120px}
.sfs-page-result__image img,.sfs-page-result-placeholder{display:block;width:120px;height:120px;object-fit:cover;border-radius:3px;background:#f3f4f6}
.sfs-page-result__content h2{margin:0 0 7px;font-size:20px;line-height:1.3}
.sfs-page-result__content h2 a{text-decoration:none}
.sfs-page-result__meta{margin-bottom:7px;color:#6b7280;font-size:13px;text-transform:capitalize}
.sfs-page-result__content p{margin:0;color:#555;line-height:1.55}
.sfs-results-page__empty{padding:32px 0;color:#666}
.sfs-results-page__pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;padding:24px 0}
.sfs-results-page__pagination button{min-width:36px;height:36px;padding:0 10px;border:1px solid #d4d8dd;border-radius:3px;background:#fff;cursor:pointer}
.sfs-results-page__pagination button.is-current{border-color:#25b9d7;background:#25b9d7;color:#fff}
.sfs-results-page__pagination span{padding:0 3px;color:#777}
.sfs-results-page__brand{padding-top:10px;border-top:1px solid #eee;text-align:right;color:#777;font-size:12px}
.sfs-results-page__brand a{color:inherit;font-weight:600;text-decoration:none}
.sfs-results-page__brand a:hover{text-decoration:underline}

@media(max-width:700px){
  .sfs-search-footer{align-items:flex-start;flex-direction:column;gap:5px}
  .sfs-search-branding{margin-left:0}
  .sfs-results-page{padding:22px 14px 36px}
  .sfs-results-page__toolbar{align-items:flex-start;flex-direction:column}
  .sfs-page-result{grid-template-columns:82px minmax(0,1fr);gap:12px}
  .sfs-page-result__image,.sfs-page-result__image img,.sfs-page-result-placeholder{width:82px;height:82px}
  .sfs-page-result__content h2{font-size:17px}
}

/* v3.2.0 - faceted search results sidebar */
.sfs-results-page__layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:30px;align-items:start}
.sfs-results-page__content{min-width:0}
.sfs-results-page__facets{position:sticky;top:24px;border:1px solid #e2e5e9;border-radius:5px;background:#fff;overflow:hidden}
.sfs-results-page__facets.is-loading{opacity:.65;pointer-events:none}
.sfs-facets__heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;border-bottom:1px solid #e5e7eb;background:#fafafa}
.sfs-facets__heading strong{font-size:16px}
.sfs-facets__clear{border:0;background:transparent;color:#2271b1;font-size:12px;cursor:pointer;padding:2px 0}
.sfs-facets__clear[hidden]{display:none}
.sfs-facets__body{padding:0 15px}
.sfs-facets__loading,.sfs-facets__empty{padding:18px 0;color:#6b7280;font-size:13px}
.sfs-facet{padding:16px 0;border-bottom:1px solid #eceff2}
.sfs-facet:last-child{border-bottom:0}
.sfs-facet h3{margin:0 0 10px;font-size:14px;line-height:1.3;text-transform:none}
.sfs-facet__options{display:flex;flex-direction:column;gap:8px;max-height:220px;overflow:auto;padding-right:3px}
.sfs-facet-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:7px;margin:0;font-size:13px;line-height:1.3;cursor:pointer}
.sfs-facet-option input{margin:0;width:15px;height:15px}
.sfs-facet-option span{min-width:0;overflow-wrap:anywhere;text-transform:capitalize}
.sfs-facet-option small{color:#8a929c;font-size:11px}
.sfs-facet__price-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:center}
.sfs-facet__price-range input{min-width:0;width:100%;height:36px;border:1px solid #cfd4da;border-radius:3px;padding:0 8px;font-size:13px}
.sfs-facet__apply-price{margin-top:9px;height:32px;padding:0 13px;border:1px solid #25b9d7;border-radius:3px;background:#25b9d7;color:#fff;font-size:12px;font-weight:600;cursor:pointer}
@media(max-width:850px){
  .sfs-results-page__layout{grid-template-columns:1fr;gap:18px}
  .sfs-results-page__facets{position:static}
  .sfs-facets__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
  .sfs-facet{min-width:0}
}
@media(max-width:560px){.sfs-facets__body{grid-template-columns:1fr}}

.sfs-result-price{display:block;margin-top:4px;font-weight:700;font-size:14px;line-height:1.25;color:#111827;text-transform:none}.sfs-result-price.is-sale{color:#15803d}

.sfs-page-result__price{margin:4px 0 7px;font-size:16px;font-weight:700;line-height:1.3;color:#111827}.sfs-page-result__price.is-sale{color:#15803d}


/* v3.2.2 - fast ecommerce autocomplete */
.sfs-result{position:relative;display:flex;align-items:center;gap:8px;padding:0;border-bottom:1px solid #eee;background:#fff}
.sfs-result-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1;padding:12px 14px;text-decoration:none!important;color:inherit!important}
.sfs-result:hover,.sfs-result:focus-within{background:#f8fafc}
.sfs-result:hover .sfs-result-main,.sfs-result:focus-within .sfs-result-main{background:transparent}
.sfs-result-title{display:flex;align-items:center;gap:7px;min-width:0}
.sfs-result-title strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sfs-sale-label{display:inline-flex;align-items:center;flex:0 0 auto;padding:2px 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:10px;font-weight:700;line-height:1.4;text-transform:uppercase;letter-spacing:.02em}
.sfs-result-add-to-cart{flex:0 0 auto;margin-right:12px!important;padding:7px 10px!important;min-height:auto!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap}
.sfs-result-add-to-cart.added{display:none}
.sfs-result .added_to_cart{flex:0 0 auto;margin-right:12px;font-size:12px;white-space:nowrap}
@media(max-width:600px){
  .sfs-result-main{padding:10px}
  .sfs-result-add-to-cart{margin-right:8px!important;padding:6px 8px!important;font-size:11px!important}
}

/* v3.2.2 - WooCommerce/theme-compatible search result cards.
   Native WooCommerce/theme selectors remain in control wherever available. */
.sfs-results-page__list.products{margin-top:24px!important;padding:0!important;list-style:none}
.sfs-results-page__list.products:before,.sfs-results-page__list.products:after{content:none!important}
.sfs-results-page__list.products .sfs-product-card{position:relative}
.sfs-results-page__list.products .sfs-product-card .onsale{z-index:2}
.sfs-results-page__list.products .sfs-product-card img{display:block;width:100%;height:auto}
.sfs-results-page__list.products .sfs-product-placeholder{display:block;width:100%;aspect-ratio:1/1;background:#f3f4f6}
.sfs-results-page__list.products .sfs-product-card .price{display:block}
.sfs-results-page__list.products .sfs-product-card .price.is-sale{font-weight:700}
.sfs-results-page__list.products .sfs-product-card>.button{margin-top:.75em}
.sfs-results-page__list.products .sfs-page-result{list-style:none;width:100%;float:none}

/* v3.3.0 - equal-height ecommerce product cards */
.sfs-results-page__list.products{
  display:grid!important;
  grid-template-columns:repeat(var(--sfs-columns-desktop,4),minmax(0,1fr));
  gap:20px!important;
  align-items:stretch;
  width:100%;
}
.sfs-results-page__list.products .sfs-product-card{
  box-sizing:border-box!important;
  width:auto!important;
  max-width:none!important;
  min-width:0;
  float:none!important;
  clear:none!important;
  margin:0!important;
  padding:14px!important;
  display:flex!important;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(15,23,42,.09);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.sfs-results-page__list.products .sfs-product-card:hover{
  transform:translateY(-2px);
  border-color:#d7dde5;
  box-shadow:0 8px 22px rgba(15,23,42,.13);
}
.sfs-results-page__list.products .sfs-product-card__link{
  display:flex!important;
  flex:1 1 auto;
  min-height:0;
  flex-direction:column;
  color:inherit!important;
  text-decoration:none!important;
}
.sfs-results-page__list.products .sfs-product-card__image{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:1/1.16;
  overflow:hidden;
  background:#f7f7f7;
  border-radius:7px;
}
.sfs-results-page__list.products .sfs-product-card__image img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  margin:0!important;
  object-fit:cover;
  object-position:center;
}
.sfs-results-page__list.products .sfs-product-placeholder{
  width:100%;
  height:100%;
  aspect-ratio:auto;
}
.sfs-results-page__list.products .sfs-product-card__body{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  padding-top:14px;
}
.sfs-results-page__list.products .sfs-product-card .woocommerce-loop-product__title{
  display:-webkit-box;
  overflow:hidden;
  min-height:2.65em;
  max-height:2.65em;
  margin:0 0 9px!important;
  padding:0!important;
  color:#1f2937;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.32!important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.sfs-results-page__list.products .sfs-product-card .price{
  display:block!important;
  margin:auto 0 0!important;
  padding-top:12px;
  color:#1f2937!important;
  font-size:18px!important;
  font-weight:700!important;
  line-height:1.3;
}
.sfs-results-page__list.products .sfs-product-card .price.is-sale{color:#15803d!important}
.sfs-results-page__list.products .sfs-product-card__price-empty{visibility:hidden}
.sfs-product-card__rating-row{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:18px;
  margin:0 0 8px;
}
.sfs-product-card__rating--empty{min-height:18px;margin:0 0 8px}
.sfs-product-card__rating-count{font-size:12px;color:#64748b;line-height:1}
.sfs-results-page__list.products .sfs-product-card .star-rating{
  float:none!important;
  width:5.4em!important;
  height:1em;
  margin:0!important;
  overflow:hidden;
  position:relative;
  font-family:star!important;
  font-size:13px!important;
  line-height:1!important;
}
.sfs-results-page__list.products .sfs-product-card .star-rating:before{
  content:"\\73\\73\\73\\73\\73";
  position:absolute;
  top:0;left:0;
  color:#d1d5db;
}
.sfs-results-page__list.products .sfs-product-card .star-rating span{
  position:absolute;
  top:0;left:0;
  overflow:hidden;
  padding-top:1.5em;
}
.sfs-results-page__list.products .sfs-product-card .star-rating span:before{
  content:"\\53\\53\\53\\53\\53";
  position:absolute;
  top:0;left:0;
  color:#f5a800;
}
.sfs-product-card__badges{
  position:absolute;
  z-index:4;
  top:22px;
  left:22px;
  display:flex;
  gap:6px;
  pointer-events:none;
}
.sfs-product-card__stock{
  display:inline-flex;
  align-items:center;
  padding:4px 7px;
  border-radius:5px;
  background:#3e9b43;
  color:#fff;
  font-size:10px;
  font-weight:700;
  line-height:1.1;
  text-transform:uppercase;
}
.sfs-results-page__list.products .sfs-product-card .onsale.sfs-product-card__sale{
  top:22px!important;
  right:22px!important;
  left:auto!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:4px 8px!important;
  border-radius:5px!important;
  background:#dc2626!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:700!important;
  line-height:1.1!important;
  text-transform:uppercase;
}
.sfs-product-card__actions{
  display:flex;
  gap:8px;
  margin-top:14px;
}
.sfs-results-page__list.products .sfs-product-card__actions>.button{
  box-sizing:border-box;
  width:100%;
  min-height:44px;
  margin:0!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  padding:10px 14px!important;
  text-align:center;
  line-height:1.2!important;
}
@media(max-width:1280px){.sfs-results-page__list.products{grid-template-columns:repeat(var(--sfs-columns-tablet,2),minmax(0,1fr))}}
@media(max-width:900px){.sfs-results-page__list.products{grid-template-columns:repeat(var(--sfs-columns-tablet,2),minmax(0,1fr))}}
@media(max-width:560px){
  .sfs-results-page__list.products{grid-template-columns:repeat(var(--sfs-columns-mobile,1),minmax(0,1fr));gap:14px!important}
  .sfs-results-page__list.products .sfs-product-card{padding:12px!important}
}


/* v3.5.1 - variation-aware autocomplete quick add. Quantity is fixed at 1. */
.sfs-variable-quick-add{flex:0 0 auto;margin-right:12px;max-width:56%;}
.sfs-variable-desktop-options{display:flex;align-items:flex-end;gap:8px;justify-content:flex-end;}
.sfs-variation-field{display:flex;flex-direction:column;gap:3px;min-width:92px;margin:0!important;font-size:10px;color:#64748b;line-height:1.2;}
.sfs-variation-field span{font-weight:600;text-transform:capitalize;}
.sfs-variation-field select{height:32px;max-width:130px;padding:3px 25px 3px 7px!important;margin:0!important;border:1px solid #d7dde5;border-radius:6px;background:#fff;font-size:11px;line-height:1.2;}
.sfs-variable-desktop-options .sfs-result-add-to-cart,.sfs-variable-desktop-options .sfs-result-select-options{margin:0!important;align-self:flex-end;}
.sfs-variable-mobile-action{display:none!important;}
.sfs-result-select-options{flex:0 0 auto;margin-right:12px!important;padding:7px 10px!important;min-height:auto!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap;}
@media(max-width:767px){
  .sfs-variable-quick-add{max-width:none;margin-right:8px;}
  .sfs-variable-desktop-options{display:none!important;}
  .sfs-variable-mobile-action{display:inline-flex!important;margin:0!important;padding:6px 8px!important;font-size:11px!important;white-space:nowrap;}
  .sfs-result-select-options{margin-right:8px!important;}
}

/* SFS 3.7 */
.sfs-search-input{border-radius:999px!important;}
.sfs-results-page__form input[type=search]{border-radius:999px!important;}


/* WooCommerce dependent variation states */
.sfs-variation-field select option:disabled{color:#9ca3af}
.sfs-variable-add-button[aria-disabled="true"]{opacity:.58;cursor:not-allowed;pointer-events:none}


/* Sequential WooCommerce attribute dependency states */
.sfs-variation-field select:disabled {
    opacity: .55;
    cursor: not-allowed;
    background-color: #f3f4f6;
}
