/* Search-page legacy foundations isolated from global bundle in v8.
   Kept before v7 rules so the current v7 cascade remains authoritative. */

/* source: enterprise-search-v4.css */
/* Sprint 404 — Enterprise Search & Product Discovery */
.tf-search-v4{--search-accent:#f4b942;--search-ink:#0b1739;--search-line:#e5e7eb}
.tf-search-v4 .tf-search-hero{background:#fff;border-bottom:1px solid var(--search-line)}
.tf-search-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center}
.tf-search-proof{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));gap:8px}
.tf-search-proof article{padding:12px;border:1px solid var(--search-line);border-radius:12px;background:#fff}
.tf-search-proof b,.tf-search-proof span{display:block}.tf-search-proof b{color:var(--search-ink)}.tf-search-proof span{font-size:11px;color:#64748b;margin-top:3px}
.tf-search-expansion,.tf-search-discovery-row,.tf-search-trending-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.tf-search-expansion a,.tf-search-discovery-row a,.tf-search-trending-inline a,.tf-zero-v4 a{border:1px solid #ead18e;background:#fffaf0;color:#5d4300;border-radius:999px;padding:6px 10px;text-decoration:none;font-weight:700;font-size:12px}
.tf-search-entity-matches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.tf-search-entity-matches>div{border:1px solid var(--search-line);border-radius:14px;padding:12px;background:#fff}
.tf-search-entity-matches>div>strong{display:block;margin-bottom:9px;color:var(--search-ink)}
.tf-search-entity-matches>div>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tf-search-entity-matches a{display:grid;gap:2px;padding:9px;border:1px solid #eef0f3;border-radius:10px;text-decoration:none;color:var(--search-ink)}
.tf-search-entity-matches a:hover{border-color:#e0b84c;background:#fffdf7}
.tf-search-entity-matches a span,.tf-search-entity-matches a small{font-size:10px;color:#64748b}.tf-search-entity-matches a b{font-size:13px}
.tf-search-results-head{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-bottom:12px}
.tf-search-results-head span{font-size:10px;font-weight:850;letter-spacing:.13em;color:#9a6700}
.tf-search-results-head h2{margin:3px 0 0;color:var(--search-ink)}
.search-facet-box{margin-top:12px;padding:12px;border:1px solid var(--search-line);border-radius:12px;background:#fff}
.search-facet-box strong,.search-facet-box span{display:block}.search-facet-box span{font-size:12px;padding:6px 0;border-bottom:1px solid #f1f5f9}.search-facet-box span:last-child{border-bottom:0}
.tf-zero-v4{border:1px solid #ead18e;background:#fffdf7;border-radius:14px;padding:16px;margin-bottom:16px}
.tf-zero-v4>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
@media(max-width:900px){.tf-search-hero-grid{grid-template-columns:1fr}.tf-search-proof{grid-template-columns:repeat(3,1fr)}.tf-search-entity-matches{grid-template-columns:1fr}}
@media(max-width:640px){.tf-search-proof{grid-template-columns:1fr 1fr}.tf-search-proof article:last-child{grid-column:1/-1}.tf-search-entity-matches>div>div{grid-template-columns:1fr}.tf-search-results-head{align-items:start;flex-direction:column}.tf-search-v4 .filter-sidebar{max-height:calc(100dvh - 76px);overflow:auto}}


/* Sprint 943 — autosuggest V3 visibility/stacking */
.global-search{position:relative!important}
.global-search .tf-search-autosuggest-v3{
  position:absolute!important;
  z-index:2147483000!important;
  top:calc(100% + 6px)!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  max-height:min(72vh,680px)!important;
  overflow:auto!important;
  background:#fff!important;
  border:1px solid #d8e2f0!important;
  border-radius:14px!important;
  box-shadow:0 22px 55px rgba(7,31,73,.20)!important;
}
.global-search .tf-search-autosuggest-v3[hidden]{display:none!important}
.global-search.is-search-open{z-index:2147482000!important}
.tf-search-autosuggest-v3 .tf-v3-svg{
  width:34px;height:34px;border-radius:9px;display:grid;place-items:center;
  background:#f5f8fc;color:#0a3779
}
.tf-search-autosuggest-v3 .tf-v3-svg svg{
  width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round
}
.tf-search-autosuggest-v3 .tf-v3-trend{font-size:20px;color:#d59600}
@media(max-width:767px){
  .global-search .tf-search-autosuggest-v3{
    position:fixed!important;
    left:10px!important;right:10px!important;top:118px!important;
    width:auto!important;max-height:calc(100vh - 140px)!important;border-radius:12px!important
  }
}

/* source: search-marketplace-premium-responsive-18.4.158.css */
/* TradesFolks 18.4.158
   Premium, resolution-safe Search Marketplace.
   Scoped strictly to .tf-search-marketplace.
*/

.tf-search-marketplace{
  --sr-navy:#0a2b5a;
  --sr-navy-2:#103d78;
  --sr-blue:#0b68d8;
  --sr-gold:#ffbc2d;
  --sr-bg:#f4f7fb;
  --sr-line:#dbe5ef;
  --sr-text:#102746;
  --sr-muted:#687d95;
}

/* ===========================
   PREMIUM SEARCH INTELLIGENCE HERO
   =========================== */
.tf-search-marketplace .tf-search-hero{
  position:relative!important;
  overflow:hidden!important;
  padding:28px 0!important;
  background:
    radial-gradient(circle at 92% 12%,rgba(49,116,203,.26),transparent 28%),
    radial-gradient(circle at 62% 120%,rgba(255,188,45,.10),transparent 30%),
    linear-gradient(135deg,#092957 0%,#103d78 100%)!important;
}
.tf-search-marketplace .tf-search-hero::before{
  content:""!important;
  position:absolute!important;
  width:360px!important;
  height:360px!important;
  right:-150px!important;
  top:-230px!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:50%!important;
  box-shadow:0 0 0 48px rgba(255,255,255,.025),0 0 0 96px rgba(255,188,45,.018)!important;
  pointer-events:none!important;
}
.tf-search-marketplace .tf-search-hero .shell,
.tf-search-marketplace .tf-search-results-section>.shell{
  width:calc(100% - 56px)!important;
  max-width:none!important;
  margin-inline:auto!important;
}
.tf-search-marketplace .tf-search-hero-grid{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(430px,.88fr)!important;
  gap:34px!important;
  align-items:end!important;
}
.tf-search-marketplace .tf-search-intro{
  min-width:0!important;
}
.tf-search-marketplace .tf-search-hero .eyebrow{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#ffd15b!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.13em!important;
}
.tf-search-marketplace .tf-search-hero .eyebrow::before{
  content:""!important;
  width:26px!important;
  height:3px!important;
  border-radius:999px!important;
  background:#ffbc2d!important;
}
.tf-search-marketplace .tf-search-hero h1{
  max-width:15ch!important;
  margin:11px 0 8px!important;
  color:#fff!important;
  font-size:clamp(38px,3.65vw,58px)!important;
  line-height:.99!important;
  letter-spacing:-.05em!important;
  font-weight:850!important;
}
.tf-search-marketplace .tf-search-hero p{
  max-width:760px!important;
  margin:0!important;
  color:#dce8f6!important;
  font-size:12px!important;
  line-height:1.5!important;
}

.tf-search-marketplace .tf-search-expansion,
.tf-search-marketplace .tf-search-discovery-row>div{
  display:flex!important;
  min-width:0!important;
  gap:6px!important;
  align-items:center!important;
}
.tf-search-marketplace .tf-search-expansion{
  flex-wrap:wrap!important;
  margin-top:13px!important;
}
.tf-search-marketplace .tf-search-expansion>span,
.tf-search-marketplace .tf-search-discovery-row b{
  flex:0 0 auto!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:850!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.tf-search-marketplace .tf-search-expansion>a,
.tf-search-marketplace .tf-search-discovery-row a{
  display:inline-flex!important;
  flex:0 0 auto!important;
  min-height:28px!important;
  align-items:center!important;
  padding:0 10px!important;
  border:1px solid rgba(255,194,55,.58)!important;
  border-radius:999px!important;
  background:#fff9e8!important;
  color:#6b4800!important;
  font-size:7.5px!important;
  line-height:1!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.tf-search-marketplace .tf-search-discovery-row{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px 14px!important;
  margin-top:13px!important;
}

.tf-search-marketplace .tf-search-proof{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
.tf-search-marketplace .tf-search-proof article{
  display:flex!important;
  min-width:0!important;
  min-height:82px!important;
  align-items:flex-start!important;
  gap:10px!important;
  padding:13px!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.035))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.06)!important;
  backdrop-filter:blur(4px)!important;
}
.tf-search-marketplace .tf-search-proof i{
  display:grid!important;
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  place-items:center!important;
  border-radius:9px!important;
  background:rgba(255,188,45,.13)!important;
  color:#ffd15b!important;
  font-size:7px!important;
  font-style:normal!important;
  font-weight:900!important;
}
.tf-search-marketplace .tf-search-proof article>div{
  min-width:0!important;
}
.tf-search-marketplace .tf-search-proof b{
  display:block!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.12!important;
  font-weight:850!important;
}
.tf-search-marketplace .tf-search-proof span{
  display:block!important;
  margin-top:6px!important;
  color:#bdcde0!important;
  font-size:6.6px!important;
  line-height:1.35!important;
}

/* ===========================
   RESULTS SURFACE
   =========================== */
.tf-search-marketplace .tf-search-results-section{
  padding:20px 0 42px!important;
  background:
    linear-gradient(180deg,#f5f8fc 0%,#f1f5fa 100%)!important;
}
.tf-search-marketplace .tf-search-results-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:18px!important;
  margin-bottom:12px!important;
}
.tf-search-marketplace .tf-search-results-head>div>span{
  display:block!important;
  color:#0868d6!important;
  font-size:7px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}
.tf-search-marketplace .tf-search-results-head h2{
  margin:5px 0 0!important;
  color:#102746!important;
  font-size:23px!important;
  line-height:1.06!important;
  letter-spacing:-.025em!important;
}
.tf-search-marketplace .tf-search-results-head>small{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:32px!important;
  padding:0 10px!important;
  border:1px solid #d8e3ee!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(16,43,87,.035)!important;
  color:#667c94!important;
  font-size:6.7px!important;
  font-style:normal!important;
  white-space:nowrap!important;
}
.tf-search-marketplace .tf-search-results-head>small b{
  color:#284765!important;
  font-size:7px!important;
}
.tf-search-marketplace .tf-search-results-head>small em{
  color:#526a84!important;
  font-style:normal!important;
  font-weight:750!important;
}
.tf-search-marketplace .tf-search-results-head>small i{
  color:#7d90a5!important;
  font-style:normal!important;
}
.tf-search-marketplace .tf-search-trending-inline{
  display:flex!important;
  gap:6px!important;
  align-items:center!important;
  overflow-x:auto!important;
  margin:-1px 0 10px!important;
  padding-bottom:2px!important;
  scrollbar-width:none!important;
}
.tf-search-marketplace .tf-search-trending-inline::-webkit-scrollbar{display:none!important}
.tf-search-marketplace .tf-search-trending-inline>*{flex:0 0 auto!important}
.tf-search-marketplace .tf-search-trending-inline b{
  color:#49617c!important;
  font-size:7px!important;
}
.tf-search-marketplace .tf-search-trending-inline a{
  min-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:0 9px!important;
  border:1px solid #dce5ef!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#31506f!important;
  font-size:6.5px!important;
  font-weight:750!important;
}

/* ===========================
   FILTER + CATALOG
   =========================== */
.tf-search-marketplace .tf-search-catalog{
  display:grid!important;
  grid-template-columns:245px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
}
.tf-search-marketplace .tf-search-catalog>.filter-sidebar{
  position:sticky!important;
  top:82px!important;
  min-width:0!important;
  border:1px solid #dbe5ef!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 26px rgba(16,43,87,.045)!important;
  overflow:hidden!important;
}
.tf-search-marketplace .catalog-filter{
  padding:14px!important;
}
.tf-search-marketplace .filter-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin-bottom:13px!important;
}
.tf-search-marketplace .filter-head>div{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.tf-search-marketplace .filter-head strong{
  color:#102746!important;
  font-size:14px!important;
}
.tf-search-marketplace .filter-head span{
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#eaf3ff!important;
  color:#0969d6!important;
  font-size:6px!important;
  font-weight:850!important;
}
.tf-search-marketplace .filter-head>[data-filter-close]{
  display:none!important;
}
.tf-search-marketplace .tf-filter-field,
.tf-search-marketplace .tf-facet-group{
  display:block!important;
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
}
.tf-search-marketplace .tf-filter-field>span,
.tf-search-marketplace .tf-facet-group legend{
  display:block!important;
  margin-bottom:6px!important;
  color:#334e6c!important;
  font-size:8px!important;
  font-weight:850!important;
}
.tf-search-marketplace .catalog-filter input[type="search"],
.tf-search-marketplace .catalog-filter input[type="number"],
.tf-search-marketplace .catalog-filter select{
  width:100%!important;
  min-height:40px!important;
  border:1px solid #d8e2ed!important;
  border-radius:10px!important;
  background:#fbfdff!important;
  padding:0 10px!important;
  color:#173251!important;
  font-size:8px!important;
}
.tf-search-marketplace .range-row{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
}
.tf-search-marketplace .check-row{
  display:flex!important;
  min-height:30px!important;
  align-items:center!important;
  gap:7px!important;
  color:#425d79!important;
  font-size:8px!important;
}
.tf-search-marketplace .check-row input{
  width:15px!important;
  height:15px!important;
}
.tf-search-marketplace .tf-filter-actions{
  display:grid!important;
  gap:6px!important;
  margin-top:13px!important;
}
.tf-search-marketplace .filter-apply{
  min-height:40px!important;
  border:0!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#0a4fa9,#0d6ddd)!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:850!important;
}
.tf-search-marketplace .filter-clear{
  text-align:center!important;
  color:#687e96!important;
  font-size:7px!important;
  font-weight:750!important;
}

.tf-search-marketplace .catalog-toolbar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:48px!important;
  margin:0 0 10px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.tf-search-marketplace .catalog-toolbar>div{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}
.tf-search-marketplace .catalog-toolbar strong{
  color:#172f4d!important;
  font-size:10px!important;
}
.tf-search-marketplace .mobile-filter-button{
  display:none!important;
}
.tf-search-marketplace .catalog-toolbar select{
  min-width:165px!important;
  min-height:40px!important;
  border:1px solid #d8e2ed!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:0 32px 0 10px!important;
  color:#1b324e!important;
  font-size:8px!important;
}

/* Search result cards: denser/premium without changing component logic. */
.tf-search-marketplace .product-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.tf-search-marketplace .product-card{
  border:1px solid #dbe5ef!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 18px rgba(16,43,87,.035)!important;
  overflow:hidden!important;
}
.tf-search-marketplace .product-card:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 14px 28px rgba(16,43,87,.075)!important;
}
.tf-search-marketplace .product-image{
  height:205px!important;
  padding:11px!important;
}
.tf-search-marketplace .product-image img{
  object-fit:contain!important;
}
.tf-search-marketplace .product-body{
  padding:13px!important;
}
.tf-search-marketplace .product-body h3{
  height:auto!important;
  min-height:38px!important;
  margin-bottom:8px!important;
  font-size:11px!important;
  line-height:1.32!important;
}
.tf-search-marketplace .price{
  font-size:15px!important;
}
.tf-search-marketplace .supplier-line{
  font-size:8px!important;
}
.tf-search-marketplace .card-actions{
  gap:6px!important;
  margin-top:10px!important;
}
.tf-search-marketplace .card-actions a,
.tf-search-marketplace .card-actions button{
  min-height:35px!important;
  border-radius:8px!important;
  font-size:7.5px!important;
}

/* ===========================
   TABLET
   =========================== */
@media(max-width:1180px){
  .tf-search-marketplace .tf-search-hero .shell,
  .tf-search-marketplace .tf-search-results-section>.shell{
    width:calc(100% - 36px)!important;
  }
  .tf-search-marketplace .tf-search-hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(340px,.82fr)!important;
    gap:22px!important;
  }
  .tf-search-marketplace .tf-search-catalog{
    grid-template-columns:220px minmax(0,1fr)!important;
    gap:12px!important;
  }
  .tf-search-marketplace .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* ===========================
   MOBILE / SMALL TABLET
   =========================== */
@media(max-width:900px){
  .tf-search-marketplace .tf-search-hero{
    padding:18px 0!important;
  }
  .tf-search-marketplace .tf-search-hero .shell,
  .tf-search-marketplace .tf-search-results-section>.shell{
    width:calc(100% - 16px)!important;
  }
  .tf-search-marketplace .tf-search-hero-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }
  .tf-search-marketplace .tf-search-hero h1{
    max-width:14ch!important;
    margin:8px 0 6px!important;
    font-size:30px!important;
    line-height:1.01!important;
  }
  .tf-search-marketplace .tf-search-hero p{
    display:-webkit-box!important;
    max-width:100%!important;
    overflow:hidden!important;
    font-size:9px!important;
    line-height:1.4!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
  }

  .tf-search-marketplace .tf-search-expansion,
  .tf-search-marketplace .tf-search-discovery-row,
  .tf-search-marketplace .tf-search-discovery-row>div{
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    width:100%!important;
    padding-bottom:2px!important;
    scrollbar-width:none!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .tf-search-marketplace .tf-search-expansion::-webkit-scrollbar,
  .tf-search-marketplace .tf-search-discovery-row::-webkit-scrollbar,
  .tf-search-marketplace .tf-search-discovery-row>div::-webkit-scrollbar{display:none!important}
  .tf-search-marketplace .tf-search-expansion>a,
  .tf-search-marketplace .tf-search-discovery-row a{
    min-height:27px!important;
    padding:0 9px!important;
    font-size:7px!important;
  }

  .tf-search-marketplace .tf-search-proof{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .tf-search-marketplace .tf-search-proof article{
    min-height:64px!important;
    gap:6px!important;
    padding:9px!important;
    border-radius:11px!important;
  }
  .tf-search-marketplace .tf-search-proof i{
    display:none!important;
  }
  .tf-search-marketplace .tf-search-proof b{
    font-size:10px!important;
  }
  .tf-search-marketplace .tf-search-proof span{
    margin-top:4px!important;
    font-size:5.5px!important;
  }

  .tf-search-marketplace .tf-search-results-section{
    padding:13px 0 92px!important;
  }
  .tf-search-marketplace .tf-search-results-head{
    display:block!important;
    margin-bottom:9px!important;
  }
  .tf-search-marketplace .tf-search-results-head h2{
    font-size:18px!important;
    line-height:1.05!important;
  }
  .tf-search-marketplace .tf-search-results-head>small{
    display:inline-flex!important;
    max-width:100%!important;
    margin-top:8px!important;
    min-height:29px!important;
    overflow:hidden!important;
    padding:0 8px!important;
    font-size:6px!important;
  }
  .tf-search-marketplace .tf-search-results-head>small i{
    display:none!important;
  }

  .tf-search-marketplace .tf-search-catalog{
    display:block!important;
    width:100%!important;
  }
  .tf-search-marketplace .tf-search-catalog>main{
    width:100%!important;
    min-width:0!important;
  }

  /* Premium off-canvas filter drawer */
  .tf-search-marketplace .tf-search-catalog>.filter-sidebar{
    position:fixed!important;
    z-index:1002!important;
    top:0!important;
    bottom:0!important;
    left:0!important;
    width:min(340px,88vw)!important;
    height:100dvh!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:0 18px 18px 0!important;
    transform:translateX(-105%)!important;
    transition:transform .23s ease!important;
    box-shadow:18px 0 44px rgba(6,28,58,.22)!important;
  }
  .tf-search-marketplace .tf-search-catalog>.filter-sidebar.open{
    transform:translateX(0)!important;
  }
  .tf-search-marketplace .filter-head>[data-filter-close]{
    display:grid!important;
    width:32px!important;
    height:32px!important;
    place-items:center!important;
    border:1px solid #dce5ef!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#294764!important;
  }
  .tf-search-marketplace .filter-backdrop{
    position:fixed!important;
    z-index:1001!important;
    inset:0!important;
    background:rgba(5,24,49,.42)!important;
    backdrop-filter:blur(2px)!important;
    opacity:0!important;
    visibility:hidden!important;
    transition:.2s!important;
  }
  .tf-search-marketplace:has(.filter-sidebar.open) .filter-backdrop{
    opacity:1!important;
    visibility:visible!important;
  }

  .tf-search-marketplace .catalog-toolbar{
    position:sticky!important;
    top:0!important;
    z-index:24!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px!important;
    min-height:48px!important;
    margin:0 0 8px!important;
    padding:5px 0!important;
    background:rgba(245,248,252,.94)!important;
    backdrop-filter:blur(10px)!important;
  }
  .tf-search-marketplace .mobile-filter-button{
    display:inline-flex!important;
    min-height:38px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 10px!important;
    border:1px solid #d8e2ed!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#173251!important;
    font-size:8px!important;
    font-weight:850!important;
  }
  .tf-search-marketplace .catalog-toolbar strong{
    font-size:8px!important;
    white-space:nowrap!important;
  }
  .tf-search-marketplace .catalog-toolbar select{
    min-width:132px!important;
    min-height:38px!important;
    font-size:7.5px!important;
  }

  .tf-search-marketplace .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .tf-search-marketplace .product-card{
    border-radius:13px!important;
  }
  .tf-search-marketplace .product-image{
    height:150px!important;
    padding:8px!important;
  }
  .tf-search-marketplace .product-body{
    padding:9px!important;
  }
  .tf-search-marketplace .product-body h3{
    display:-webkit-box!important;
    min-height:31px!important;
    overflow:hidden!important;
    margin-bottom:6px!important;
    font-size:8.5px!important;
    line-height:1.25!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
  }
  .tf-search-marketplace .price{
    font-size:12px!important;
  }
  .tf-search-marketplace .product-body>p,
  .tf-search-marketplace .supplier-line{
    font-size:6.5px!important;
  }
  .tf-search-marketplace .card-actions a,
  .tf-search-marketplace .card-actions button{
    min-height:32px!important;
    font-size:6.5px!important;
  }
}

/* ===========================
   PHONE
   =========================== */
@media(max-width:560px){
  .tf-search-marketplace .tf-search-hero{
    padding:15px 0 14px!important;
  }
  .tf-search-marketplace .tf-search-hero .shell,
  .tf-search-marketplace .tf-search-results-section>.shell{
    width:calc(100% - 12px)!important;
  }
  .tf-search-marketplace .tf-search-hero .eyebrow{
    font-size:6.2px!important;
  }
  .tf-search-marketplace .tf-search-hero h1{
    max-width:13ch!important;
    font-size:27px!important;
  }
  .tf-search-marketplace .tf-search-proof article{
    min-height:58px!important;
    padding:8px!important;
  }
  .tf-search-marketplace .tf-search-proof b{
    font-size:9.5px!important;
  }
  .tf-search-marketplace .tf-search-results-head h2{
    font-size:17px!important;
  }
  .tf-search-marketplace .product-image{
    height:132px!important;
  }
}

@media(max-width:390px){
  .tf-search-marketplace .tf-search-hero h1{
    font-size:24px!important;
  }
  .tf-search-marketplace .tf-search-proof{
    grid-template-columns:1fr 1fr!important;
  }
  .tf-search-marketplace .tf-search-proof article:nth-child(3){
    grid-column:1/-1!important;
    min-height:52px!important;
  }
  .tf-search-marketplace .catalog-toolbar{
    grid-template-columns:1fr auto!important;
  }
  .tf-search-marketplace .catalog-toolbar select{
    min-width:118px!important;
  }
  .tf-search-marketplace .product-image{
    height:118px!important;
  }
}

/* Sprint 931 — supplier-style product list view. Grid view remains untouched. */
.tf-search-marketplace .tf-catalog-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.tf-search-marketplace .tf-catalog-toolbar-actions form{margin:0}
.tf-search-marketplace .tf-catalog-view-switch{display:inline-flex;gap:5px;align-items:center}
.tf-search-marketplace .tf-catalog-view-switch a{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d8e0ea;border-radius:9px;background:#fff;color:#687386;text-decoration:none;transition:.18s ease}
.tf-search-marketplace .tf-catalog-view-switch a:hover{border-color:#0a67d8;color:#0a67d8}
.tf-search-marketplace .tf-catalog-view-switch a.active{background:#eaf3ff;border-color:#9dc6ff;color:#075fc8}
.tf-search-marketplace .tf-catalog-view-switch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.tf-search-marketplace .tf-catalog-view-switch svg rect{fill:currentColor;stroke:none}
.tf-search-marketplace .tf-supplier-product-list{display:grid;gap:18px;min-width:0}
.tf-search-marketplace .tf-supplier-list-card{background:#fff;border:1px solid #dfe4ea;border-radius:17px;padding:18px;box-shadow:0 5px 20px rgba(13,31,57,.045);min-width:0;overflow:hidden}
.tf-search-marketplace .tf-supplier-list-head{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:14px}
.tf-search-marketplace .tf-supplier-avatar{width:54px;height:54px;border:1px solid #d8e0e8;border-radius:9px;background:#fff;display:grid;place-items:center;text-decoration:none;overflow:hidden}
.tf-search-marketplace .tf-supplier-avatar span{width:42px;height:42px;border:2px solid #0871c9;border-radius:50%;display:grid;place-items:center;color:#0b63a9;font-size:11px;font-weight:900;letter-spacing:-.04em;background:#f4fbff}
.tf-search-marketplace .tf-supplier-list-identity{min-width:0}
.tf-search-marketplace .tf-supplier-title-line{display:flex;align-items:baseline;gap:10px;min-width:0;flex-wrap:wrap}
.tf-search-marketplace .tf-supplier-title-line h3{margin:0;font-size:18px;line-height:1.25;min-width:0}
.tf-search-marketplace .tf-supplier-title-line h3 a{color:#18212d;text-decoration:none}
.tf-search-marketplace .tf-supplier-title-line>span{font-size:12px;color:#5f6875}
.tf-search-marketplace .tf-supplier-trust-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:6px;font-size:11px;color:#596573}
.tf-search-marketplace .tf-supplier-trust-row>*+*{padding-left:9px;border-left:1px solid #dde2e7}
.tf-search-marketplace .tf-supplier-trust-row .is-verified{color:#0869cc;border-left:0;padding-left:0}
.tf-search-marketplace .tf-supplier-trust-row strong{color:#173e72;font-weight:800}
.tf-search-marketplace .tf-list-rating{color:#252c35}.tf-search-marketplace .tf-list-rating::first-letter{color:#ffb200}.tf-search-marketplace .tf-list-rating u{font-weight:500;color:#454f5b;text-underline-offset:2px}
.tf-search-marketplace .tf-supplier-list-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}
.tf-search-marketplace .tf-supplier-list-actions a,.tf-search-marketplace .tf-supplier-list-actions button{height:42px;padding:0 20px;border-radius:999px;font:800 12px/1 inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}
.tf-search-marketplace .tf-list-contact{background:#fff;border:1px solid #5c636c;color:#1e252d}
.tf-search-marketplace .tf-list-chat{background:#202020;border:1px solid #202020;color:#fff}
.tf-search-marketplace .tf-supplier-list-badges{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:none;margin:14px 0 16px}.tf-search-marketplace .tf-supplier-list-badges::-webkit-scrollbar{display:none}
.tf-search-marketplace .tf-supplier-list-badges span{flex:0 0 auto;padding:8px 11px;border-radius:8px;background:#f6f6f6;color:#272d35;font-size:11px;font-weight:700}
.tf-search-marketplace .tf-supplier-list-badges .tf-match-badge,.tf-search-marketplace .tf-supplier-list-badges .tf-rank-badge{background:#fff2ea;color:#7c3b13}.tf-search-marketplace .tf-supplier-list-badges .tf-rank-badge{color:#bd4f10}
.tf-search-marketplace .tf-supplier-list-main{display:grid;grid-template-columns:minmax(285px,33%) minmax(0,1fr);gap:24px;align-items:stretch}
.tf-search-marketplace .tf-supplier-list-metrics{padding-top:1px;min-width:0}
.tf-search-marketplace .tf-supplier-list-metrics dl{margin:0;display:grid;grid-template-columns:1fr 1fr;column-gap:24px;row-gap:13px}
.tf-search-marketplace .tf-supplier-list-metrics dl>div{min-width:0}.tf-search-marketplace .tf-supplier-list-metrics dt{font-size:11px;color:#4b5562;margin-bottom:3px}.tf-search-marketplace .tf-supplier-list-metrics dd{margin:0;font-size:14px;font-weight:800;color:#171e26;line-height:1.25;min-width:0;overflow:hidden;text-overflow:ellipsis}.tf-search-marketplace .tf-supplier-list-metrics dd a{color:inherit;text-decoration:none}
.tf-search-marketplace .tf-list-customization{margin-top:18px}.tf-search-marketplace .tf-list-customization small{display:block;font-size:11px;color:#4d5764;margin-bottom:8px}.tf-search-marketplace .tf-list-customization>div{display:flex;flex-wrap:wrap;gap:7px}.tf-search-marketplace .tf-list-customization span{padding:7px 10px;border:1px solid #d9dee4;border-radius:8px;background:#fff;color:#272e36;font-size:10px;font-weight:700}
.tf-search-marketplace .tf-supplier-list-gallery{display:grid;grid-template-columns:minmax(210px,1.75fr) repeat(3,minmax(105px,1fr));gap:10px;min-height:210px;min-width:0}
.tf-search-marketplace .tf-supplier-list-gallery>a{position:relative;display:block;border-radius:10px;overflow:hidden;background:#f4f6f8;min-width:0;text-decoration:none}.tf-search-marketplace .tf-supplier-list-gallery>a:nth-child(n+5){display:none}
.tf-search-marketplace .tf-supplier-list-gallery img{width:100%;height:100%;min-height:210px;object-fit:cover;display:block;transition:transform .25s ease}.tf-search-marketplace .tf-supplier-list-gallery>a:not(.is-primary) img{min-height:100%;height:100%}.tf-search-marketplace .tf-supplier-list-gallery>a:hover img{transform:scale(1.025)}
.tf-search-marketplace .tf-supplier-list-gallery strong{position:absolute;left:0;right:0;bottom:0;padding:10px 9px 7px;background:rgba(24,30,38,.82);color:#fff;font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tf-search-marketplace .tf-supplier-list-gallery small{position:absolute;left:9px;top:9px;padding:5px 7px;border-radius:6px;background:rgba(255,255,255,.9);color:#25303c;font-size:9px;font-weight:800}
.tf-search-marketplace .tf-supplier-list-foot{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:12px;min-height:22px}.tf-search-marketplace .tf-supplier-list-foot a{color:#075fc8;font-size:11px;font-weight:800;text-decoration:none}.tf-search-marketplace .tf-supplier-list-foot span{font-size:10px;color:#6a7480}.tf-search-marketplace .tf-supplier-list-foot span::first-letter{color:#f4b400}
@media(max-width:1180px){.tf-search-marketplace .tf-supplier-list-main{grid-template-columns:260px minmax(0,1fr);gap:16px}.tf-search-marketplace .tf-supplier-list-gallery{grid-template-columns:minmax(190px,1.5fr) repeat(2,minmax(90px,1fr))}.tf-search-marketplace .tf-supplier-list-gallery>a:nth-child(4){display:none}.tf-search-marketplace .tf-supplier-list-actions a,.tf-search-marketplace .tf-supplier-list-actions button{padding:0 14px}}
@media(max-width:900px){.tf-search-marketplace .tf-supplier-list-card{padding:14px}.tf-search-marketplace .tf-supplier-list-head{grid-template-columns:46px minmax(0,1fr)}.tf-search-marketplace .tf-supplier-avatar{width:46px;height:46px}.tf-search-marketplace .tf-supplier-avatar span{width:36px;height:36px}.tf-search-marketplace .tf-supplier-list-actions{grid-column:1/-1}.tf-search-marketplace .tf-supplier-list-actions>*{flex:1}.tf-search-marketplace .tf-supplier-list-main{grid-template-columns:1fr}.tf-search-marketplace .tf-supplier-list-gallery{min-height:180px}.tf-search-marketplace .tf-supplier-list-gallery img{min-height:180px}.tf-search-marketplace .catalog-toolbar{align-items:center}.tf-search-marketplace .tf-catalog-toolbar-actions{gap:6px}}
@media(max-width:620px){.tf-search-marketplace .tf-catalog-toolbar-actions{width:100%;justify-content:space-between}.tf-search-marketplace .tf-catalog-toolbar-actions form{flex:1}.tf-search-marketplace .tf-catalog-toolbar-actions select{width:100%!important}.tf-search-marketplace .tf-supplier-list-title-line h3,.tf-search-marketplace .tf-supplier-title-line h3{font-size:15px}.tf-search-marketplace .tf-supplier-trust-row{gap:6px;font-size:9px}.tf-search-marketplace .tf-supplier-trust-row>*+*{padding-left:6px}.tf-search-marketplace .tf-supplier-list-actions a,.tf-search-marketplace .tf-supplier-list-actions button{height:39px;padding:0 10px;font-size:10px}.tf-search-marketplace .tf-supplier-list-badges{margin:12px 0}.tf-search-marketplace .tf-supplier-list-badges span{padding:7px 9px;font-size:9px}.tf-search-marketplace .tf-supplier-list-metrics dl{column-gap:12px;row-gap:10px}.tf-search-marketplace .tf-supplier-list-metrics dt{font-size:9px}.tf-search-marketplace .tf-supplier-list-metrics dd{font-size:12px}.tf-search-marketplace .tf-supplier-list-gallery{grid-template-columns:1.7fr 1fr;grid-template-rows:110px 110px;min-height:230px}.tf-search-marketplace .tf-supplier-list-gallery>a.is-primary{grid-row:1/3}.tf-search-marketplace .tf-supplier-list-gallery>a:nth-child(4){display:block}.tf-search-marketplace .tf-supplier-list-gallery>a:nth-child(n+4){display:none}.tf-search-marketplace .tf-supplier-list-gallery img,.tf-search-marketplace .tf-supplier-list-gallery>a:not(.is-primary) img{min-height:100%;height:100%}.tf-search-marketplace .tf-supplier-list-gallery strong{font-size:9px;padding:15px 6px 6px}.tf-search-marketplace .tf-supplier-list-foot{justify-content:space-between}}

/* ======================================================================
   Sprint 932 — Premium Compact Supplier Product List Card
   Scope: list view only. Grid view intentionally unchanged.
   Theme: TradesFolks navy + golden yellow, no gradients.
   ====================================================================== */
.tf-search-marketplace .catalog-results.is-list .tf-supplier-list-card,
.tf-search-marketplace .tf-catalog-results.is-list .tf-supplier-list-card,
.tf-search-marketplace [data-catalog-results].is-list .tf-supplier-list-card{
  border:1px solid #dbe3ec!important;
  border-radius:14px!important;
  padding:14px 15px 12px!important;
  box-shadow:0 6px 18px rgba(7,29,73,.055)!important;
  background:#fff!important;
}
.tf-search-marketplace .tf-supplier-list-head{
  grid-template-columns:44px minmax(0,1fr) auto!important;
  gap:10px!important;
}
.tf-search-marketplace .tf-supplier-avatar{
  width:44px!important;height:44px!important;border-radius:10px!important;
  border:1px solid #d7e1ec!important;background:#fff!important;
}
.tf-search-marketplace .tf-supplier-avatar span{
  width:34px!important;height:34px!important;border:2px solid #0a69cc!important;
  font-size:10px!important;color:#0a5eb8!important;background:#fff!important;
}
.tf-search-marketplace .tf-supplier-title-line{gap:8px!important;align-items:baseline!important}
.tf-search-marketplace .tf-supplier-title-line h3{
  font-size:16px!important;line-height:1.15!important;letter-spacing:-.015em!important;
  color:#102746!important;
}
.tf-search-marketplace .tf-supplier-title-line>span{font-size:10px!important;color:#64748b!important}
.tf-search-marketplace .tf-supplier-trust-row{
  margin-top:5px!important;gap:7px!important;font-size:9px!important;color:#536477!important;
}
.tf-search-marketplace .tf-supplier-trust-row .is-verified{color:#0969d6!important}
.tf-search-marketplace .tf-list-rating{color:#263547!important}
.tf-search-marketplace .tf-list-rating::first-letter{color:#ffb900!important}
.tf-search-marketplace .tf-supplier-list-actions{gap:7px!important}
.tf-search-marketplace .tf-supplier-list-actions a,
.tf-search-marketplace .tf-supplier-list-actions button{
  height:34px!important;min-width:118px!important;padding:0 15px!important;border-radius:999px!important;
  font-size:10px!important;font-weight:850!important;box-shadow:none!important;
}
.tf-search-marketplace .tf-list-contact{
  background:#fff!important;color:#102746!important;border:1px solid #9daaba!important;
}
.tf-search-marketplace .tf-list-chat{
  background:#071d49!important;color:#fff!important;border:1px solid #071d49!important;
}
.tf-search-marketplace .tf-list-chat:hover{background:#ffbd17!important;color:#071d49!important;border-color:#ffbd17!important}
.tf-search-marketplace .tf-list-contact:hover{border-color:#ffbd17!important;color:#071d49!important;background:#fffaf0!important}
.tf-search-marketplace .tf-supplier-list-badges{
  gap:6px!important;margin:10px 0 11px!important;padding:0!important;
}
.tf-search-marketplace .tf-supplier-list-badges span{
  padding:6px 9px!important;border-radius:7px!important;background:#f5f7fa!important;
  color:#35445a!important;font-size:8px!important;line-height:1.1!important;
}
.tf-search-marketplace .tf-supplier-list-badges .tf-match-badge,
.tf-search-marketplace .tf-supplier-list-badges .tf-rank-badge{
  background:#fff4e9!important;color:#9b4a12!important;
}
.tf-search-marketplace .tf-supplier-list-main{
  grid-template-columns:minmax(250px,31%) minmax(0,1fr)!important;
  gap:16px!important;align-items:stretch!important;
}
.tf-search-marketplace .tf-supplier-list-metrics dl{
  grid-template-columns:1fr 1fr!important;column-gap:18px!important;row-gap:8px!important;
}
.tf-search-marketplace .tf-supplier-list-metrics dt{font-size:8px!important;color:#6b7888!important;margin-bottom:2px!important}
.tf-search-marketplace .tf-supplier-list-metrics dd{font-size:11px!important;line-height:1.2!important;color:#15263d!important}
.tf-search-marketplace .tf-list-customization{margin-top:11px!important}
.tf-search-marketplace .tf-list-customization small{font-size:8px!important;color:#66768a!important}
.tf-search-marketplace .tf-list-customization>div{gap:5px!important;margin-top:5px!important}
.tf-search-marketplace .tf-list-customization span{
  padding:5px 7px!important;border-radius:7px!important;border:1px solid #d7e0ea!important;
  background:#fff!important;color:#26384e!important;font-size:8px!important;line-height:1!important;
}
.tf-search-marketplace .tf-supplier-list-gallery{
  grid-template-columns:minmax(180px,1.55fr) repeat(3,minmax(78px,.72fr))!important;
  gap:7px!important;min-height:154px!important;max-height:174px!important;
}
.tf-search-marketplace .tf-supplier-list-gallery>a{border-radius:9px!important;background:#f6f8fb!important;border:1px solid #edf1f5!important}
.tf-search-marketplace .tf-supplier-list-gallery img{
  min-height:154px!important;height:100%!important;max-height:174px!important;object-fit:contain!important;background:#fff!important;
}
.tf-search-marketplace .tf-supplier-list-gallery>a:not(.is-primary) img{min-height:100%!important;height:100%!important;object-fit:cover!important}
.tf-search-marketplace .tf-supplier-list-gallery strong{
  padding:7px 7px 6px!important;background:#071d49!important;color:#fff!important;font-size:9px!important;
}
.tf-search-marketplace .tf-supplier-list-gallery small{
  top:7px!important;left:7px!important;padding:4px 6px!important;border-radius:5px!important;
  background:#fff!important;color:#24364d!important;font-size:7px!important;box-shadow:0 2px 7px rgba(7,29,73,.08)!important;
}
.tf-search-marketplace .tf-supplier-list-foot{
  margin-top:8px!important;min-height:18px!important;gap:10px!important;
}
.tf-search-marketplace .tf-supplier-list-foot a{font-size:9px!important;color:#075fc8!important}
.tf-search-marketplace .tf-supplier-list-foot span{font-size:8px!important;color:#69788a!important}

@media(max-width:1180px){
  .tf-search-marketplace .tf-supplier-list-main{grid-template-columns:230px minmax(0,1fr)!important;gap:12px!important}
  .tf-search-marketplace .tf-supplier-list-gallery{grid-template-columns:minmax(170px,1.5fr) repeat(2,minmax(82px,.8fr))!important}
  .tf-search-marketplace .tf-supplier-list-gallery>a:nth-child(4){display:none!important}
  .tf-search-marketplace .tf-supplier-list-actions a,
  .tf-search-marketplace .tf-supplier-list-actions button{min-width:104px!important;padding:0 11px!important}
}
@media(max-width:900px){
  .tf-search-marketplace .catalog-results.is-list .tf-supplier-list-card,
  .tf-search-marketplace .tf-catalog-results.is-list .tf-supplier-list-card,
  .tf-search-marketplace [data-catalog-results].is-list .tf-supplier-list-card,
  .tf-search-marketplace .tf-supplier-list-card{padding:12px!important;border-radius:13px!important}
  .tf-search-marketplace .tf-supplier-list-head{grid-template-columns:40px minmax(0,1fr)!important;gap:9px!important}
  .tf-search-marketplace .tf-supplier-avatar{width:40px!important;height:40px!important}
  .tf-search-marketplace .tf-supplier-avatar span{width:31px!important;height:31px!important;font-size:9px!important}
  .tf-search-marketplace .tf-supplier-list-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:2px!important}
  .tf-search-marketplace .tf-supplier-list-actions a,
  .tf-search-marketplace .tf-supplier-list-actions button{width:100%!important;min-width:0!important;height:36px!important}
  .tf-search-marketplace .tf-supplier-list-main{grid-template-columns:1fr!important;gap:11px!important}
  .tf-search-marketplace .tf-supplier-list-metrics dl{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
  .tf-search-marketplace .tf-supplier-list-gallery{grid-template-columns:minmax(0,1.65fr) repeat(2,minmax(72px,.75fr))!important;min-height:160px!important;max-height:170px!important}
  .tf-search-marketplace .tf-supplier-list-gallery img{min-height:160px!important;max-height:170px!important}
}
@media(max-width:620px){
  .tf-search-marketplace .tf-supplier-list-card{padding:10px!important;border-radius:12px!important;box-shadow:0 4px 14px rgba(7,29,73,.05)!important}
  .tf-search-marketplace .tf-supplier-list-head{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important}
  .tf-search-marketplace .tf-supplier-avatar{width:36px!important;height:36px!important;border-radius:9px!important}
  .tf-search-marketplace .tf-supplier-avatar span{width:28px!important;height:28px!important;border-width:1.5px!important;font-size:8px!important}
  .tf-search-marketplace .tf-supplier-title-line{display:block!important}
  .tf-search-marketplace .tf-supplier-title-line h3{font-size:13px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .tf-search-marketplace .tf-supplier-title-line>span{display:block!important;margin-top:2px!important;font-size:8px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .tf-search-marketplace .tf-supplier-trust-row{margin-top:4px!important;gap:4px!important;font-size:7.5px!important;white-space:nowrap!important;overflow-x:auto!important;scrollbar-width:none!important}
  .tf-search-marketplace .tf-supplier-trust-row::-webkit-scrollbar{display:none!important}
  .tf-search-marketplace .tf-supplier-trust-row>*+*{padding-left:4px!important}
  .tf-search-marketplace .tf-supplier-list-actions{margin-top:6px!important;gap:6px!important}
  .tf-search-marketplace .tf-supplier-list-actions a,
  .tf-search-marketplace .tf-supplier-list-actions button{height:34px!important;font-size:9px!important}
  .tf-search-marketplace .tf-supplier-list-badges{margin:8px 0!important;gap:5px!important}
  .tf-search-marketplace .tf-supplier-list-badges span{padding:5px 7px!important;font-size:7px!important}
  .tf-search-marketplace .tf-supplier-list-metrics dl{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
  .tf-search-marketplace .tf-supplier-list-metrics dl>div{padding-right:4px!important;border-right:1px solid #edf1f5!important}
  .tf-search-marketplace .tf-supplier-list-metrics dl>div:last-child{border-right:0!important;padding-right:0!important}
  .tf-search-marketplace .tf-supplier-list-metrics dt{font-size:6.5px!important;margin-bottom:2px!important;white-space:nowrap!important}
  .tf-search-marketplace .tf-supplier-list-metrics dd{font-size:8.5px!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important}
  .tf-search-marketplace .tf-list-customization{margin-top:8px!important}
  .tf-search-marketplace .tf-list-customization small{font-size:7px!important}
  .tf-search-marketplace .tf-list-customization>div{display:flex!important;overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important;margin-top:4px!important}
  .tf-search-marketplace .tf-list-customization>div::-webkit-scrollbar{display:none!important}
  .tf-search-marketplace .tf-list-customization span{flex:0 0 auto!important;padding:4px 6px!important;font-size:7px!important}
  .tf-search-marketplace .tf-supplier-list-gallery{grid-template-columns:minmax(0,1fr)!important;display:block!important;min-height:0!important;max-height:none!important;margin-top:1px!important}
  .tf-search-marketplace .tf-supplier-list-gallery>a{display:none!important}
  .tf-search-marketplace .tf-supplier-list-gallery>a.is-primary{display:block!important;height:190px!important;border-radius:10px!important}
  .tf-search-marketplace .tf-supplier-list-gallery img,
  .tf-search-marketplace .tf-supplier-list-gallery>a:not(.is-primary) img{width:100%!important;height:190px!important;min-height:190px!important;max-height:190px!important;object-fit:contain!important;background:#fff!important}
  .tf-search-marketplace .tf-supplier-list-gallery strong{font-size:9px!important;padding:7px 8px!important}
  .tf-search-marketplace .tf-supplier-list-gallery small{font-size:7px!important}
  .tf-search-marketplace .tf-supplier-list-foot{margin-top:7px!important;justify-content:space-between!important}
  .tf-search-marketplace .tf-supplier-list-foot a{font-size:8px!important}
  .tf-search-marketplace .tf-supplier-list-foot span{font-size:7px!important}
}
@media(max-width:390px){
  .tf-search-marketplace .tf-supplier-list-metrics dl{grid-template-columns:1fr 1fr!important;row-gap:6px!important}
  .tf-search-marketplace .tf-supplier-list-metrics dl>div:nth-child(2n){border-right:0!important}
  .tf-search-marketplace .tf-supplier-list-gallery>a.is-primary,
  .tf-search-marketplace .tf-supplier-list-gallery img{height:168px!important;min-height:168px!important;max-height:168px!important}
}

/* ==============================================================
   Sprint 933 / v1.0.337 — Premium Compact Supplier List Card v2
   Reference-density rebuild. LIST VIEW ONLY. Grid view untouched.
   Solid TradesFolks navy + golden-yellow palette; no new gradients.
   ============================================================== */
.tf-search-marketplace .tf-supplier-product-list{
  display:grid!important;
  gap:12px!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card{
  width:100%!important;
  min-height:0!important;
  padding:16px 18px 14px!important;
  border:1px solid #dfe6ef!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(7,29,73,.055)!important;
  overflow:hidden!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-head{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr) auto!important;
  gap:12px!important;
  align-items:center!important;
  min-height:48px!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-avatar{
  width:48px!important;height:48px!important;border-radius:11px!important;
  border:1px solid #d9e3ee!important;background:#fff!important;
  display:grid!important;place-items:center!important;text-decoration:none!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-avatar span{
  width:38px!important;height:38px!important;border:2px solid #0b68d8!important;
  border-radius:50%!important;display:grid!important;place-items:center!important;
  color:#075fc8!important;font-size:10px!important;font-weight:900!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line{
  display:flex!important;align-items:baseline!important;gap:9px!important;min-width:0!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line h3{
  min-width:0!important;margin:0!important;font-size:18px!important;line-height:1.15!important;
  letter-spacing:-.02em!important;font-weight:850!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line h3 a{color:#172439!important;text-decoration:none!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line>span{
  flex:0 1 auto!important;color:#6d7887!important;font-size:10px!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row{
  display:flex!important;align-items:center!important;gap:7px!important;margin-top:5px!important;
  color:#516176!important;font-size:9px!important;font-weight:700!important;white-space:nowrap!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row>*+*{
  border-left:1px solid #dfe4eb!important;padding-left:7px!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row .is-verified{color:#0667d8!important;font-weight:900!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-rating{color:#263547!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions{
  display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions a,
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions button{
  height:36px!important;min-width:128px!important;padding:0 18px!important;border-radius:999px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-size:10px!important;font-weight:800!important;line-height:1!important;cursor:pointer!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-list-contact{border:1px solid #27374c!important;background:#fff!important;color:#172439!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-chat{border:1px solid #071d49!important;background:#071d49!important;color:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-chat:hover{background:#ffbd17!important;border-color:#ffbd17!important;color:#071d49!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-contact:hover{border-color:#ffbd17!important;background:#fffaf0!important;color:#071d49!important}

.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges{
  display:flex!important;align-items:center!important;gap:6px!important;margin:10px 0 12px!important;
  overflow-x:auto!important;scrollbar-width:none!important;white-space:nowrap!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges::-webkit-scrollbar{display:none!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges span{
  flex:0 0 auto!important;padding:6px 9px!important;border-radius:7px!important;background:#f5f6f8!important;
  color:#344155!important;font-size:8px!important;line-height:1!important;font-weight:800!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges .tf-match-badge,
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges .tf-rank-badge{
  background:#fff2e9!important;color:#8f4212!important;
}

.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{
  display:grid!important;
  grid-template-columns:minmax(300px,360px) minmax(420px,640px)!important;
  justify-content:space-between!important;
  gap:18px!important;
  align-items:stretch!important;
  min-width:0!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics{
  align-self:center!important;min-width:0!important;padding:0!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px 20px!important;margin:0!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dt{
  margin:0 0 3px!important;color:#697789!important;font-size:8px!important;line-height:1.1!important;font-weight:600!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dd{
  margin:0!important;color:#172439!important;font-size:12px!important;line-height:1.15!important;font-weight:850!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dd a{color:inherit!important;text-decoration:none!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-customization{margin-top:13px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-customization small{display:block!important;margin:0 0 6px!important;color:#687789!important;font-size:8px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-customization>div{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-customization span{
  padding:5px 8px!important;border:1px solid #d9e1ea!important;border-radius:7px!important;background:#fff!important;
  color:#2c3a4e!important;font-size:8px!important;line-height:1!important;font-weight:750!important;
}

/* gallery: reference-like compact main image + thumbnails; one-image products stay compact */
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery{
  display:grid!important;
  grid-template-columns:minmax(210px,1.75fr) repeat(2,minmax(90px,.72fr))!important;
  grid-template-rows:86px 86px!important;
  gap:7px!important;
  width:100%!important;max-width:640px!important;height:179px!important;min-height:179px!important;
  justify-self:end!important;align-self:center!important;overflow:hidden!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a{
  position:relative!important;display:block!important;min-width:0!important;min-height:0!important;
  border:1px solid #e7ecf2!important;border-radius:9px!important;overflow:hidden!important;background:#f8fafc!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a.is-primary{
  grid-row:1 / 3!important;grid-column:1!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:nth-child(2){grid-column:2!important;grid-row:1!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:nth-child(3){grid-column:3!important;grid-row:1!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:nth-child(4){grid-column:2!important;grid-row:2!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:nth-child(5){grid-column:3!important;grid-row:2!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:only-child{
  width:min(100%,330px)!important;grid-column:1!important;grid-row:1/3!important;justify-self:end!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery img,
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:not(.is-primary) img{
  width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;display:block!important;
  object-fit:contain!important;background:#fff!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:not(.is-primary) img{object-fit:cover!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery strong{
  position:absolute!important;left:0!important;right:0!important;bottom:0!important;padding:7px 8px!important;
  background:#071d49!important;color:#fff!important;font-size:9px!important;line-height:1!important;font-weight:900!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery small{
  position:absolute!important;top:7px!important;left:7px!important;padding:4px 6px!important;border-radius:6px!important;
  background:#fff!important;color:#24364d!important;font-size:7px!important;line-height:1!important;font-weight:850!important;
  box-shadow:0 2px 7px rgba(7,29,73,.08)!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;
  min-height:18px!important;margin-top:8px!important;
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot a{color:#075fc8!important;font-size:8.5px!important;font-weight:850!important;text-decoration:none!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot span{color:#69788a!important;font-size:7.5px!important}

@media(max-width:1200px){
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{grid-template-columns:minmax(260px,320px) minmax(360px,1fr)!important;gap:14px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery{grid-template-columns:minmax(190px,1.6fr) repeat(2,minmax(76px,.7fr))!important;max-width:540px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions a,
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions button{min-width:112px!important;padding:0 13px!important}
}
@media(max-width:900px){
 .tf-search-marketplace .tf-supplier-product-list{gap:10px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card{padding:13px!important;border-radius:14px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-head{grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-avatar{width:42px!important;height:42px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-avatar span{width:33px!important;height:33px!important;font-size:9px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions a,
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions button{width:100%!important;min-width:0!important;height:35px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery{justify-self:stretch!important;max-width:none!important;width:100%!important;height:170px!important;min-height:170px!important;grid-template-rows:81.5px 81.5px!important;grid-template-columns:minmax(190px,1.6fr) repeat(2,minmax(74px,.7fr))!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:only-child{width:min(100%,320px)!important;justify-self:start!important}
}
@media(max-width:620px){
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card{padding:11px!important;border-radius:12px!important;box-shadow:0 4px 14px rgba(7,29,73,.05)!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-head{grid-template-columns:36px minmax(0,1fr)!important;gap:8px!important;align-items:start!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-avatar{width:36px!important;height:36px!important;border-radius:9px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-avatar span{width:28px!important;height:28px!important;font-size:8px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line{display:block!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line h3{font-size:13px!important;line-height:1.18!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line>span{display:block!important;margin-top:2px!important;font-size:7.5px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row{gap:4px!important;margin-top:4px!important;font-size:7px!important;overflow-x:auto!important;scrollbar-width:none!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row::-webkit-scrollbar{display:none!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row>*+*{padding-left:4px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions{margin-top:4px!important;gap:6px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions a,
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions button{height:34px!important;font-size:8.5px!important;padding:0 7px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges{margin:8px 0!important;gap:5px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges span{padding:5px 7px!important;font-size:7px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 12px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dt{font-size:7px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dd{font-size:9.5px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-list-customization{margin-top:9px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-list-customization small{font-size:7px!important;margin-bottom:5px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-list-customization>div{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-list-customization>div::-webkit-scrollbar{display:none!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-list-customization span{flex:0 0 auto!important;padding:4px 6px!important;font-size:7px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery{display:block!important;width:100%!important;height:176px!important;min-height:176px!important;overflow:hidden!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a{display:none!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a.is-primary{display:block!important;width:100%!important;height:176px!important;min-height:176px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery img{width:100%!important;height:176px!important;min-height:176px!important;object-fit:contain!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery strong{font-size:8.5px!important;padding:7px 8px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot{margin-top:7px!important;justify-content:space-between!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot a{font-size:8px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot span{font-size:7px!important}
}
@media(max-width:390px){
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery,
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a.is-primary,
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery img{height:158px!important;min-height:158px!important}
}

/* ============================================================== 
   Sprint 934 / v1.0.338 — real supplier logo + real gallery premium card
   Uses users.logo and products.image/gallery_images. LIST VIEW ONLY.
   ============================================================== */
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{padding:14px 16px 12px!important;border-radius:15px!important;border-color:#dbe4ef!important;box-shadow:0 8px 24px rgba(7,29,73,.06)!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-logo{overflow:hidden!important;background:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-logo img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;padding:3px!important;background:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-logo span{display:none!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line h3{font-size:17px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges{margin:9px 0 10px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{grid-template-columns:minmax(300px,355px) minmax(430px,650px)!important;gap:16px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{gap:9px 20px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery{height:172px!important;min-height:172px!important;grid-template-rows:82.5px 82.5px!important;gap:7px!important;max-width:650px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single{display:block!important;width:min(100%,300px)!important;height:172px!important;min-height:172px!important;justify-self:end!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single>a.is-primary{display:block!important;width:100%!important;height:172px!important;min-height:172px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{grid-template-columns:minmax(220px,1.72fr) repeat(2,minmax(92px,.72fr))!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery img{object-fit:contain!important;background:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi>a:not(.is-primary) img{object-fit:cover!important}
.tf-search-marketplace .tf-supplier-product-list .tf-gallery-count{position:absolute!important;left:8px!important;top:8px!important;z-index:2!important;background:#071d49!important;color:#fff!important;border-radius:6px!important;padding:4px 6px!important;font-size:7px!important;font-weight:850!important;line-height:1!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery small{left:auto!important;right:7px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-chat{background:#f4b400!important;border-color:#f4b400!important;color:#fff!important;box-shadow:0 4px 10px rgba(244,180,0,.18)!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-chat:hover{background:#e5a900!important;border-color:#e5a900!important;color:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-contact{border-color:#0a2858!important;color:#0a2858!important;background:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-details{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:26px!important;padding:0 10px!important;border-radius:7px!important;background:#fff8df!important;color:#8a6500!important}
@media(max-width:1200px){.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{grid-template-columns:minmax(255px,315px) minmax(360px,1fr)!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single{width:min(100%,280px)!important}}
@media(max-width:900px){.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{grid-template-columns:1fr!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery,.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single{justify-self:stretch!important;width:100%!important;max-width:none!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single>a.is-primary{width:100%!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:620px){.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{padding:10px!important;border-radius:12px!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-head{grid-template-columns:40px minmax(0,1fr)!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-logo{width:40px!important;height:40px!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line h3{font-size:13px!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery,.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single{height:168px!important;min-height:168px!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a.is-primary,.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single>a.is-primary,.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery img{height:168px!important;min-height:168px!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-actions{order:4!important}.tf-search-marketplace .tf-supplier-product-list .tf-list-chat{background:#f4b400!important;color:#fff!important}.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot{margin-top:6px!important}}

/* ==============================================================
   Sprint 935 / v1.0.339 — Reference-accurate premium supplier card
   Wider filters, narrower result column, same-supplier product showcase,
   Trade Secure SVG trust badge. List view only.
   ============================================================== */
@media(min-width:901px){
 .tf-search-marketplace .tf-search-catalog{grid-template-columns:272px minmax(0,1fr)!important;gap:18px!important}
 .tf-search-marketplace .tf-search-catalog>.filter-sidebar{border-radius:15px!important;box-shadow:0 8px 24px rgba(7,29,73,.055)!important}
 .tf-search-marketplace .catalog-filter{padding:16px!important}
 .tf-search-marketplace .tf-search-page{min-width:0!important;max-width:1240px!important;width:100%!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{padding:14px 16px 12px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{grid-template-columns:minmax(300px,36%) minmax(0,64%)!important;gap:18px!important;align-items:end!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery{max-width:none!important;width:100%!important;height:190px!important;min-height:190px!important;grid-template-rows:91.5px 91.5px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{grid-template-columns:minmax(250px,1.7fr) repeat(2,minmax(100px,.72fr))!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single{width:min(100%,330px)!important;height:190px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single>a.is-primary{height:190px!important;min-height:190px!important}
}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3:hover{border-color:#cbd8e8!important;box-shadow:0 12px 30px rgba(7,29,73,.085)!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-head{align-items:start!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row .is-verified{color:#0668d8!important}
.tf-search-marketplace .tf-supplier-product-list .tf-trade-secure{display:inline-flex!important;align-items:center!important;gap:4px!important;color:#0a2858!important;font-weight:850!important}
.tf-search-marketplace .tf-supplier-product-list .tf-trade-secure svg{width:14px!important;height:14px!important;fill:#f4b400!important;stroke:#0a2858!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges .tf-trade-secure{background:#fff8df!important;border:1px solid #f6df94!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics{align-self:stretch!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dt{color:#718198!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dd{color:#102746!important;font-weight:850!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a{position:relative!important;border:1px solid #e1e7ef!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:hover{border-color:#c8d6e7!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery .is-primary{grid-row:1/3!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery .is-primary img{object-fit:contain!important;padding:2px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery>a:not(.is-primary) img{object-fit:contain!important;padding:3px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-gallery-count{display:inline-flex!important;align-items:center!important;gap:4px!important}
.tf-search-marketplace .tf-supplier-product-list .tf-gallery-count svg{width:10px!important;height:10px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
.tf-search-marketplace .tf-supplier-product-list .tf-thumb-price{position:absolute!important;left:5px!important;right:5px!important;bottom:4px!important;z-index:2!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding:3px 5px!important;border-radius:5px!important;background:rgba(255,255,255,.9)!important;color:#102746!important;font-size:7px!important;font-weight:900!important;backdrop-filter:blur(3px)!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-chat{background:#f4b400!important;border-color:#f4b400!important;color:#fff!important;font-weight:850!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-chat:hover{background:#dca300!important;border-color:#dca300!important}
.tf-search-marketplace .tf-supplier-product-list .tf-list-contact{font-weight:800!important}
@media(max-width:900px){
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{display:grid!important;grid-template-columns:minmax(0,1.65fr) repeat(2,minmax(72px,.68fr))!important;grid-template-rows:82px 82px!important;height:171px!important;min-height:171px!important;gap:7px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi>a{display:block!important;height:auto!important;min-height:0!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi>a.is-primary{height:171px!important;min-height:171px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi img{height:100%!important;min-height:0!important}
}
@media(max-width:620px){
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges{flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges::-webkit-scrollbar{display:none!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges>span{flex:0 0 auto!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{grid-template-columns:minmax(0,1.55fr) repeat(2,minmax(58px,.65fr))!important;grid-template-rows:70px 70px!important;height:147px!important;min-height:147px!important;gap:6px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi>a.is-primary{height:147px!important;min-height:147px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-thumb-price{font-size:6px!important}
}

/* ==============================================================
   Sprint 936 / v1.0.340 — Premium visibility + sidebar refinement
   Slightly stronger typography/contrast, premium facet surface and
   country/region flag rows. Keeps approved Sprint 935 geometry.
   ============================================================== */
.tf-search-marketplace{
  --tf-ink-strong:#102746;
  --tf-ink:#1d3856;
  --tf-muted-strong:#5f7188;
  --tf-line-strong:#cfdae8;
  --tf-soft-panel:#f8fafc;
}
.tf-search-marketplace .tf-search-catalog>.filter-sidebar{
  border-color:#cdd9e8!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(7,29,73,.075)!important;
}
.tf-search-marketplace .catalog-filter{padding:17px!important}
.tf-search-marketplace .filter-head{margin-bottom:17px!important;padding-bottom:12px!important;border-bottom:1px solid #e4eaf2!important}
.tf-search-marketplace .filter-head strong{font-size:15px!important;letter-spacing:-.015em!important;color:var(--tf-ink-strong)!important}
.tf-search-marketplace .filter-head span{font-size:7px!important;padding:4px 8px!important;background:#edf4ff!important;color:#075fca!important}
.tf-search-marketplace .tf-filter-field,
.tf-search-marketplace .tf-facet-group{margin-bottom:15px!important}
.tf-search-marketplace .tf-filter-field>span,
.tf-search-marketplace .tf-facet-group legend{margin-bottom:8px!important;color:#284561!important;font-size:9px!important;line-height:1.25!important;font-weight:850!important}
.tf-search-marketplace .catalog-filter input[type="search"],
.tf-search-marketplace .catalog-filter input[type="number"],
.tf-search-marketplace .catalog-filter select{min-height:43px!important;border-color:#cfdbea!important;border-radius:11px!important;background:#fff!important;color:#173251!important;font-size:9px!important;font-weight:650!important;box-shadow:0 1px 2px rgba(7,29,73,.02)!important}
.tf-search-marketplace .catalog-filter input:focus,
.tf-search-marketplace .catalog-filter select:focus{outline:2px solid rgba(15,96,201,.12)!important;outline-offset:1px!important;border-color:#75a7e7!important}
.tf-search-marketplace .check-row{min-height:32px!important;color:#314d6b!important;font-size:9px!important;font-weight:650!important}
.tf-search-marketplace .check-row input{width:16px!important;height:16px!important;accent-color:#0b63ce!important}
.tf-search-marketplace .tf-facet-group:not(.tf-country-facet){padding-bottom:13px!important;border-bottom:1px solid #edf1f5!important}
.tf-search-marketplace .tf-filter-actions{margin-top:16px!important}
.tf-search-marketplace .filter-apply{min-height:42px!important;border-radius:10px!important;background:#f4b400!important;color:#fff!important;font-size:9px!important;font-weight:900!important;box-shadow:0 7px 16px rgba(244,180,0,.18)!important}
.tf-search-marketplace .filter-apply:hover{background:#dfa600!important}
.tf-search-marketplace .filter-clear{font-size:8px!important;color:#4c6580!important}

/* Premium country/region facet */
.tf-search-marketplace .tf-country-facet{padding:0 0 14px!important;border-bottom:1px solid #edf1f5!important}
.tf-search-marketplace .tf-country-list,.tf-search-marketplace .tf-country-more-list{display:grid!important;gap:2px!important}
.tf-search-marketplace .tf-country-row{display:grid!important;grid-template-columns:18px 27px minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:4px 6px!important;border-radius:8px!important;color:#243e5c!important;cursor:pointer!important;transition:background .16s ease,color .16s ease!important}
.tf-search-marketplace .tf-country-row:hover{background:#f5f8fc!important}
.tf-search-marketplace .tf-country-row:has(input:checked){background:#fff8df!important;color:#102746!important}
.tf-search-marketplace .tf-country-row input{appearance:none!important;-webkit-appearance:none!important;width:16px!important;height:16px!important;margin:0!important;border:1.5px solid #c8d3e0!important;border-radius:4px!important;background:#fff!important;display:grid!important;place-items:center!important}
.tf-search-marketplace .tf-country-row input:checked{border-color:#0b63ce!important;background:#0b63ce!important;box-shadow:inset 0 0 0 3px #fff!important}
.tf-search-marketplace .tf-country-flag{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:27px!important;min-width:27px!important;font-size:18px!important;line-height:1!important;filter:saturate(1.05)!important}
.tf-search-marketplace .tf-country-globe{font-size:16px!important}
.tf-search-marketplace .tf-country-name{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important;font-weight:700!important}
.tf-search-marketplace .tf-country-count{padding:2px 6px!important;border-radius:999px!important;background:#f2f5f9!important;color:#718198!important;font-size:7px!important;font-weight:800!important}
.tf-search-marketplace .tf-country-row:has(input:checked) .tf-country-count{background:#fff!important;color:#8a6500!important}
.tf-search-marketplace .tf-country-more{margin-top:3px!important}
.tf-search-marketplace .tf-country-more summary{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:5px 6px!important;color:#0969d6!important;font-size:8px!important;font-weight:800!important;cursor:pointer!important;list-style:none!important}
.tf-search-marketplace .tf-country-more summary::-webkit-details-marker{display:none!important}
.tf-search-marketplace .tf-country-more summary svg{width:11px!important;height:11px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;transition:transform .18s ease!important}
.tf-search-marketplace .tf-country-more[open] summary svg{transform:rotate(180deg)!important}

/* Approved card — slightly stronger visibility only */
.tf-search-marketplace .catalog-toolbar strong{font-size:11px!important;color:#102746!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line h3{font-size:15px!important;color:#102746!important;font-weight:900!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-location{font-size:9px!important;color:#64768d!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row{font-size:8.5px!important;color:#38516d!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges>span{font-size:8px!important;font-weight:800!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dt{font-size:8.5px!important;color:#60738b!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dd{font-size:12px!important;color:#102746!important}
.tf-search-marketplace .tf-supplier-product-list .tf-option-label{font-size:8.5px!important;color:#60738b!important}
.tf-search-marketplace .tf-supplier-product-list .tf-option-chips span{font-size:8px!important;color:#2c4562!important;border-color:#cfd9e5!important;background:#fff!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{border-color:#ccd9e7!important;background:#fff!important;box-shadow:0 7px 20px rgba(7,29,73,.045)!important}
.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3:hover{box-shadow:0 14px 34px rgba(7,29,73,.095)!important}

@media(max-width:900px){
 .tf-search-marketplace .catalog-filter{padding:16px!important}
 .tf-search-marketplace .tf-country-row{min-height:38px!important}
 .tf-search-marketplace .tf-country-name{font-size:11px!important}
}
@media(max-width:620px){
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-title-line h3{font-size:13.5px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-trust-row{font-size:8px!important}
 .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dd{font-size:11px!important}
}
\n\n/* =============================================================\n   Sprint 937 — Full-width balance, stable-view polish, premium density\n   ============================================================= */\n.tf-search-marketplace .tf-search-results-section>.shell,\n.tf-search-marketplace .tf-search-hero .shell{\n  width:calc(100% - 48px)!important;\n  max-width:none!important;\n  margin-left:auto!important;\n  margin-right:auto!important;\n}\n.tf-search-marketplace .tf-search-catalog{\n  grid-template-columns:278px minmax(0,1fr)!important;\n  gap:18px!important;\n  width:100%!important;\n}\n.tf-search-marketplace .tf-search-page{\n  width:100%!important;\n  min-width:0!important;\n  max-width:none!important;\n}\n.tf-search-marketplace .catalog-toolbar{\n  min-height:52px!important;\n  margin:0 0 12px!important;\n  padding:8px 10px 8px 13px!important;\n  border:1px solid #d8e2ee!important;\n  border-radius:13px!important;\n  background:#fff!important;\n  box-shadow:0 6px 18px rgba(7,29,73,.045)!important;\n}\n.tf-search-marketplace .catalog-toolbar strong{font-size:11.5px!important;font-weight:900!important}\n.tf-search-marketplace .catalog-toolbar select{\n  min-width:156px!important;\n  height:36px!important;\n  border-color:#d2ddea!important;\n  background:#fff!important;\n  color:#173251!important;\n  font-weight:750!important;\n}\n.tf-search-marketplace .tf-catalog-view-switch a{\n  width:36px!important;height:36px!important;border-radius:10px!important;\n  box-shadow:0 2px 6px rgba(7,29,73,.035)!important;\n}\n.tf-search-marketplace .tf-catalog-view-switch a.active{\n  background:#eef5ff!important;border-color:#7fb3f2!important;color:#075fc8!important;\n  box-shadow:0 3px 10px rgba(7,95,200,.10)!important;\n}\n.tf-search-marketplace .tf-supplier-product-list{gap:14px!important}\n.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{\n  border-color:#c9d7e6!important;\n  box-shadow:0 8px 24px rgba(7,29,73,.055)!important;\n}\n.tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3:hover{\n  transform:translateY(-1px)!important;\n  border-color:#afc7df!important;\n  box-shadow:0 14px 34px rgba(7,29,73,.095)!important;\n}\n.tf-search-marketplace .product-grid{gap:14px!important}\n.tf-search-marketplace .product-card{\n  border-color:#d2ddea!important;\n  box-shadow:0 7px 20px rgba(7,29,73,.045)!important;\n  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;\n}\n.tf-search-marketplace .product-card:hover{\n  transform:translateY(-2px)!important;\n  border-color:#b7cadf!important;\n  box-shadow:0 14px 30px rgba(7,29,73,.09)!important;\n}\n.tf-search-marketplace .product-image{background:#f7f9fc!important}\n.tf-search-marketplace .tf-search-results-head{margin-bottom:10px!important}\n.tf-search-marketplace .tf-search-results-head>small{\n  border-color:#d2ddea!important;\n  box-shadow:0 5px 14px rgba(7,29,73,.045)!important;\n}\n.tf-search-marketplace .tf-search-results-section{background:#f4f7fb!important}\n.tf-search-marketplace .pagination{margin-top:18px!important}\n.tf-search-marketplace .pagination a{\n  border:1px solid #d5e0ec!important;background:#fff!important;box-shadow:0 2px 7px rgba(7,29,73,.035)!important;\n}\n.tf-search-marketplace .pagination a.active{background:#0b63ce!important;color:#fff!important;border-color:#0b63ce!important}\n@media(max-width:1180px){\n  .tf-search-marketplace .tf-search-results-section>.shell,\n  .tf-search-marketplace .tf-search-hero .shell{width:calc(100% - 32px)!important}\n  .tf-search-marketplace .tf-search-catalog{grid-template-columns:258px minmax(0,1fr)!important;gap:14px!important}\n}\n@media(max-width:900px){\n  .tf-search-marketplace .tf-search-results-section>.shell,\n  .tf-search-marketplace .tf-search-hero .shell{width:calc(100% - 24px)!important}\n  .tf-search-marketplace .tf-search-catalog{display:block!important}\n  .tf-search-marketplace .catalog-toolbar{padding:7px 8px!important}\n}\n@media(max-width:620px){\n  .tf-search-marketplace .tf-search-results-section>.shell,\n  .tf-search-marketplace .tf-search-hero .shell{width:calc(100% - 16px)!important}\n  .tf-search-marketplace .catalog-toolbar{border-radius:11px!important}\n  .tf-search-marketplace .catalog-toolbar select{min-width:0!important}\n}\n

/* ==========================================================
   Sprint 938 — edge-balanced full width + readability polish
   Keep the approved card/filter architecture; only remove the
   remaining asymmetric desktop gutter and lift typography.
   ========================================================== */
@media (min-width: 1025px){
  .tf-search-marketplace .tf-search-hero .shell,
  .tf-search-marketplace .tf-search-results-section > .shell{
    width:auto!important;
    max-width:none!important;
    margin-left:28px!important;
    margin-right:28px!important;
  }

  /* Defensive override against legacy .shell width/max-width rules. */
  body .tf-search-marketplace .tf-search-results-section > .shell,
  main .tf-search-marketplace .tf-search-results-section > .shell{
    width:auto!important;
    max-width:none!important;
    margin-inline:28px!important;
  }
}

/* Readability lift requested after the approved premium layout. */
.tf-search-marketplace .tf-search-results-head>div>span{
  font-size:7.8px!important;
}
.tf-search-marketplace .tf-search-results-head h2{
  font-size:26px!important;
  line-height:1.08!important;
  font-weight:850!important;
}
.tf-search-marketplace .tf-search-results-head>small{
  min-height:34px!important;
  padding-inline:12px!important;
  font-size:7.25px!important;
}
.tf-search-marketplace .tf-search-results-head>small b{
  font-size:7.6px!important;
}
.tf-search-marketplace .tf-search-trending-inline b{
  font-size:7.6px!important;
}
.tf-search-marketplace .tf-search-trending-inline a{
  min-height:28px!important;
  padding-inline:10px!important;
  font-size:7.2px!important;
}
.tf-search-marketplace .catalog-toolbar strong{
  font-size:11px!important;
}
.tf-search-marketplace .catalog-toolbar select{
  font-size:8.8px!important;
}
.tf-search-marketplace .filter-head strong{
  font-size:15px!important;
}
.tf-search-marketplace .tf-filter-field>span,
.tf-search-marketplace .tf-facet-group legend{
  font-size:8.7px!important;
}
.tf-search-marketplace .catalog-filter input[type="search"],
.tf-search-marketplace .catalog-filter input[type="number"],
.tf-search-marketplace .catalog-filter select,
.tf-search-marketplace .check-row{
  font-size:8.7px!important;
}

/* A little more premium visual definition without changing layout. */
.tf-search-marketplace .tf-search-results-section{
  background:#f4f7fb!important;
}
.tf-search-marketplace .tf-search-catalog>.filter-sidebar{
  border-color:#cedbe9!important;
  box-shadow:0 12px 30px rgba(16,43,87,.065)!important;
}
.tf-search-marketplace .product-card{
  border-color:#d4e0ec!important;
  box-shadow:0 8px 22px rgba(16,43,87,.05)!important;
}

@media (max-width:1024px){
  .tf-search-marketplace .tf-search-hero .shell,
  .tf-search-marketplace .tf-search-results-section > .shell{
    width:auto!important;
    max-width:none!important;
    margin-inline:14px!important;
  }
}
@media (max-width:760px){
  .tf-search-marketplace .tf-search-hero .shell,
  .tf-search-marketplace .tf-search-results-section > .shell{
    margin-inline:10px!important;
  }
  .tf-search-marketplace .tf-search-results-head h2{
    font-size:22px!important;
  }
}

/* ==========================================================
   Sprint 939 — viewport-locked equal gutters
   Fixes the remaining right-side dead space by sizing the search
   shell against the viewport rather than any inherited parent width.
   ========================================================== */
@media (min-width:1025px){
  html,body{overflow-x:clip}
  .tf-search-marketplace .tf-search-results-section > .shell,
  .tf-search-marketplace .tf-search-hero > .shell{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 56px)!important;
    max-width:calc(100vw - 56px)!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }
  .tf-search-marketplace .tf-search-results-section > .shell > *,
  .tf-search-marketplace .tf-search-catalog,
  .tf-search-marketplace .tf-search-page,
  .tf-search-marketplace .catalog-toolbar,
  .tf-search-marketplace .product-grid,
  .tf-search-marketplace .tf-supplier-product-list{
    max-width:none!important;
    min-width:0!important;
  }
  .tf-search-marketplace .tf-search-catalog{
    width:100%!important;
    grid-template-columns:278px minmax(0,1fr)!important;
  }
  .tf-search-marketplace .tf-search-page{width:100%!important}
}


/* Sprint 942 — exact viewport gutters + denser supplier list */
@media (min-width:1025px){
  .tf-search-marketplace .tf-search-results-section > .shell{
    position:relative!important;
    left:28px!important;
    right:auto!important;
    transform:none!important;
    width:calc(100vw - 56px)!important;
    max-width:calc(100vw - 56px)!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  .tf-search-marketplace .tf-search-results-section > .shell > .tf-search-catalog,
  .tf-search-marketplace .tf-search-catalog{
    width:calc(100vw - 56px)!important;
    max-width:calc(100vw - 56px)!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    grid-template-columns:278px minmax(0,1fr)!important;
    gap:18px!important;
    box-sizing:border-box!important;
  }
  .tf-search-marketplace .tf-search-catalog > .tf-search-page,
  .tf-search-marketplace .tf-search-catalog > main,
  .tf-search-marketplace .tf-search-page{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    justify-self:stretch!important;
  }
  .tf-search-marketplace .catalog-toolbar,
  .tf-search-marketplace .product-grid,
  .tf-search-marketplace .tf-supplier-product-list{
    width:100%!important;max-width:none!important;min-width:0!important;
  }
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{padding:11px 14px 9px!important}
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges{margin:7px 0 9px!important}
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{gap:14px!important;grid-template-columns:minmax(290px,35%) minmax(0,65%)!important}
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery{height:168px!important;min-height:168px!important;grid-template-rows:80px 80px!important;gap:8px!important}
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single,
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single>a.is-primary{height:168px!important;min-height:168px!important}
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot{margin-top:5px!important}
}

/* source: search-results-premium-18.4.243.css */
/* Sprint 619 — Premium search result cards */
.search-page,
.search-results-page,
.tf-search-page{background:#f5f7fa}

.search-results-page .product-grid,
.search-page .product-grid,
.tf-search-page .product-grid{
  gap:12px!important;
  align-items:stretch;
}

.search-results-page .product-card-detailed,
.search-page .product-card-detailed,
.tf-search-page .product-card-detailed{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-width:0!important;
  border:1px solid #dfe6ee!important;
  border-radius:13px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 3px 12px rgba(17,42,72,.045)!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.search-results-page .product-card-detailed:hover,
.search-page .product-card-detailed:hover,
.tf-search-page .product-card-detailed:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 12px 28px rgba(17,42,72,.10)!important;
}

.search-results-page .product-card-detailed .product-image,
.search-page .product-card-detailed .product-image,
.tf-search-page .product-card-detailed .product-image{
  position:relative!important;
  aspect-ratio:1.28/1!important;
  min-height:0!important;
  padding:8px!important;
  background:#fafbfd!important;
  overflow:hidden!important;
}
.search-results-page .product-card-detailed .product-image img,
.search-page .product-card-detailed .product-image img,
.tf-search-page .product-card-detailed .product-image img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  border-radius:9px!important;
}

.search-results-page .product-card-detailed .product-body,
.search-page .product-card-detailed .product-body,
.tf-search-page .product-card-detailed .product-body{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  padding:12px!important;
}

.search-results-page .product-card-detailed h3,
.search-page .product-card-detailed h3,
.tf-search-page .product-card-detailed h3{
  min-height:34px!important;
  margin:0 0 7px!important;
  color:#132844!important;
  font-size:12px!important;
  line-height:1.42!important;
  font-weight:800!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.search-results-page .product-card-detailed .price,
.search-page .product-card-detailed .price,
.tf-search-page .product-card-detailed .price{
  margin:2px 0 4px!important;
  color:#102b4e!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.search-results-page .product-card-detailed .price small,
.search-page .product-card-detailed .price small,
.tf-search-page .product-card-detailed .price small{
  color:#6f8197!important;
  font-size:8px!important;
  font-weight:700!important;
}

.search-results-page .product-card-detailed .product-description,
.search-page .product-card-detailed .product-description,
.tf-search-page .product-card-detailed .product-description{
  min-height:32px!important;
  margin:4px 0 7px!important;
  color:#718196!important;
  font-size:8px!important;
  line-height:1.5!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.search-results-page .product-card-detailed .product-compact-chips,
.search-page .product-card-detailed .product-compact-chips,
.tf-search-page .product-card-detailed .product-compact-chips{
  display:flex!important;
  gap:5px!important;
  flex-wrap:wrap!important;
  margin:5px 0 8px!important;
}
.search-results-page .product-card-detailed .product-compact-chips>span,
.search-page .product-card-detailed .product-compact-chips>span,
.tf-search-page .product-card-detailed .product-compact-chips>span{
  min-height:23px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  font-size:7px!important;
  line-height:21px!important;
}

.search-results-page .product-card-detailed .supplier-line,
.search-page .product-card-detailed .supplier-line,
.tf-search-page .product-card-detailed .supplier-line{
  margin-top:auto!important;
  min-height:30px!important;
  padding-top:8px!important;
  border-top:1px solid #e6ebf1!important;
  color:#52677f!important;
  font-size:8px!important;
}

.search-results-page .product-card-detailed .card-actions,
.search-page .product-card-detailed .card-actions,
.tf-search-page .product-card-detailed .card-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:7px!important;
  margin-top:8px!important;
}
.search-results-page .product-card-detailed .card-actions>*,
.search-page .product-card-detailed .card-actions>*,
.tf-search-page .product-card-detailed .card-actions>*{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.search-results-page .product-card-detailed .card-actions form,
.search-page .product-card-detailed .card-actions form,
.tf-search-page .product-card-detailed .card-actions form{
  display:block!important;
}
.search-results-page .product-card-detailed .card-actions button,
.search-results-page .product-card-detailed .card-actions a,
.search-page .product-card-detailed .card-actions button,
.search-page .product-card-detailed .card-actions a,
.tf-search-page .product-card-detailed .card-actions button,
.tf-search-page .product-card-detailed .card-actions a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:37px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  font-size:8px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}

.search-results-page .product-card-detailed .tf-add-cart,
.search-page .product-card-detailed .tf-add-cart,
.tf-search-page .product-card-detailed .tf-add-cart{
  border:1px solid #1768cf!important;
  background:#fff!important;
  color:#145db8!important;
}
.search-results-page .product-card-detailed .tf-buy-now,
.search-page .product-card-detailed .tf-buy-now,
.tf-search-page .product-card-detailed .tf-buy-now{
  border:1px solid #efb62f!important;
  background:#ffc33f!important;
  color:#102341!important;
}
.search-results-page .product-card-detailed .tf-rfq-actions button,
.search-page .product-card-detailed .tf-rfq-actions button,
.tf-search-page .product-card-detailed .tf-rfq-actions button{
  border-color:#efb62f!important;
  background:#ffc33f!important;
  color:#102341!important;
}

.search-results-page .product-card-detailed .product-commerce-actions,
.search-page .product-card-detailed .product-commerce-actions,
.tf-search-page .product-card-detailed .product-commerce-actions{
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:14px!important;
  min-height:28px!important;
  margin-top:3px!important;
}
.search-results-page .product-card-detailed .product-commerce-actions button,
.search-page .product-card-detailed .product-commerce-actions button,
.tf-search-page .product-card-detailed .product-commerce-actions button{
  width:auto!important;
  min-height:0!important;
  padding:3px 0!important;
  border:0!important;
  background:transparent!important;
  color:#526b86!important;
  font-size:7px!important;
  font-weight:800!important;
}

@media(min-width:1500px){
  .search-results-page .product-grid,
  .search-page .product-grid,
  .tf-search-page .product-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media(max-width:980px){
  .search-results-page .product-grid,
  .search-page .product-grid,
  .tf-search-page .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:620px){
  .search-results-page .product-grid,
  .search-page .product-grid,
  .tf-search-page .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .search-results-page .product-card-detailed .product-body,
  .search-page .product-card-detailed .product-body,
  .tf-search-page .product-card-detailed .product-body{
    padding:8px!important;
  }
  .search-results-page .product-card-detailed .product-image,
  .search-page .product-card-detailed .product-image,
  .tf-search-page .product-card-detailed .product-image{
    aspect-ratio:1/1!important;
    padding:5px!important;
  }
  .search-results-page .product-card-detailed .product-description,
  .search-page .product-card-detailed .product-description,
  .tf-search-page .product-card-detailed .product-description{
    display:none!important;
  }
  .search-results-page .product-card-detailed .card-actions,
  .search-page .product-card-detailed .card-actions,
  .tf-search-page .product-card-detailed .card-actions{
    grid-template-columns:1fr!important;
  }
  .search-results-page .product-card-detailed .tf-add-cart,
  .search-page .product-card-detailed .tf-add-cart,
  .tf-search-page .product-card-detailed .tf-add-cart{
    display:none!important;
  }
  .search-results-page .product-card-detailed .product-commerce-actions,
  .search-page .product-card-detailed .product-commerce-actions,
  .tf-search-page .product-card-detailed .product-commerce-actions{
    display:none!important;
  }
}

@media(max-width:380px){
  .search-results-page .product-grid,
  .search-page .product-grid,
  .tf-search-page .product-grid{
    grid-template-columns:1fr!important;
  }
}

/* source: search-results-premium-18.4.244.css */
/* Sprint 620 — Generated-design match for search cards */
.tf-search-page .product-card-detailed,
.search-page .product-card-detailed,
.search-results-page .product-card-detailed{
  border-radius:15px!important;
  overflow:hidden!important;
}

.tf-search-page .product-card-detailed .product-image,
.search-page .product-card-detailed .product-image,
.search-results-page .product-card-detailed .product-image{
  position:relative!important;
  background:#fff!important;
}

.tf-search-page .tf-compare-icon,
.search-page .tf-compare-icon,
.search-results-page .tf-compare-icon{
  position:absolute!important;
  top:54px!important;
  right:12px!important;
  z-index:4!important;
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  border:1px solid #d9e3ef!important;
  border-radius:50%!important;
  background:#fff!important;
  color:#173250!important;
  box-shadow:0 4px 12px rgba(17,42,72,.08)!important;
  cursor:pointer!important;
}
.tf-search-page .tf-compare-icon:hover,
.search-page .tf-compare-icon:hover,
.search-results-page .tf-compare-icon:hover{
  border-color:#1768cf!important;
  color:#1768cf!important;
  background:#f5f9ff!important;
}

.tf-search-page .tf-storefront-row,
.search-page .tf-storefront-row,
.search-results-page .tf-storefront-row{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:7px!important;
  min-height:47px!important;
  margin-top:auto!important;
  padding:9px 0 7px!important;
  border-top:1px solid #e6ebf1!important;
}

.tf-search-page .tf-store-icon,
.search-page .tf-store-icon,
.search-results-page .tf-store-icon{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  border-radius:7px!important;
  background:#f3f7fc!important;
  color:#173250!important;
}

.tf-search-page .tf-storefront-copy,
.search-page .tf-storefront-copy,
.search-results-page .tf-storefront-copy{
  min-width:0!important;
}

.tf-search-page .tf-seller-link,
.search-page .tf-seller-link,
.search-results-page .tf-seller-link{
  display:block!important;
  overflow:hidden!important;
  color:#135fbd!important;
  font-size:8px!important;
  font-weight:900!important;
  line-height:1.25!important;
  text-decoration:none!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.tf-search-page .tf-seller-link:hover,
.search-page .tf-seller-link:hover,
.search-results-page .tf-seller-link:hover{
  text-decoration:underline!important;
}

.tf-search-page .tf-seller-link.is-static,
.search-page .tf-seller-link.is-static,
.search-results-page .tf-seller-link.is-static{
  color:#536980!important;
}

.tf-search-page .tf-storefront-link,
.search-page .tf-storefront-link,
.search-results-page .tf-storefront-link{
  display:inline-block!important;
  margin-top:3px!important;
  color:#4d6785!important;
  font-size:7px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
}

.tf-search-page .tf-storefront-link:hover,
.search-page .tf-storefront-link:hover,
.search-results-page .tf-storefront-link:hover{
  color:#1768cf!important;
}

.tf-search-page .tf-storefront-row .supplier-badges,
.search-page .tf-storefront-row .supplier-badges,
.search-results-page .tf-storefront-row .supplier-badges{
  align-self:center!important;
  margin:0!important;
}

.tf-search-page .product-card-detailed .card-actions,
.search-page .product-card-detailed .card-actions,
.search-results-page .product-card-detailed .card-actions{
  margin-top:8px!important;
  gap:8px!important;
}

.tf-search-page .product-card-detailed .tf-shop-actions .tf-add-cart,
.search-page .product-card-detailed .tf-shop-actions .tf-add-cart,
.search-results-page .product-card-detailed .tf-shop-actions .tf-add-cart{
  min-height:39px!important;
  border:1px solid #1a6bd3!important;
  background:#fff!important;
  color:#145db8!important;
}

.tf-search-page .product-card-detailed .tf-shop-actions .tf-buy-now,
.search-page .product-card-detailed .tf-shop-actions .tf-buy-now,
.search-results-page .product-card-detailed .tf-shop-actions .tf-buy-now{
  min-height:39px!important;
  border:1px solid #eeb32a!important;
  background:#ffc33f!important;
  color:#112542!important;
}

.tf-search-page .product-card-detailed .tf-rfq-actions a,
.search-page .product-card-detailed .tf-rfq-actions a,
.search-results-page .product-card-detailed .tf-rfq-actions a{
  min-height:39px!important;
  border:1px solid #0d2c58!important;
  background:#0d2c58!important;
  color:#fff!important;
}

.tf-search-page .product-card-detailed .tf-rfq-actions button,
.search-page .product-card-detailed .tf-rfq-actions button,
.search-results-page .product-card-detailed .tf-rfq-actions button{
  min-height:39px!important;
  border:1px solid #eeb32a!important;
  background:#ffc33f!important;
  color:#112542!important;
}

.tf-search-page .product-card-detailed .product-commerce-actions,
.search-page .product-card-detailed .product-commerce-actions,
.search-results-page .product-card-detailed .product-commerce-actions{
  display:none!important;
}

@media(max-width:620px){
  .tf-search-page .tf-compare-icon,
  .search-page .tf-compare-icon,
  .search-results-page .tf-compare-icon{
    top:46px!important;
    right:8px!important;
    width:29px!important;
    height:29px!important;
    min-height:29px!important;
  }

  .tf-search-page .tf-storefront-row,
  .search-page .tf-storefront-row,
  .search-results-page .tf-storefront-row{
    grid-template-columns:24px minmax(0,1fr) auto!important;
    min-height:40px!important;
    gap:5px!important;
    padding:6px 0!important;
  }

  .tf-search-page .tf-store-icon,
  .search-page .tf-store-icon,
  .search-results-page .tf-store-icon{
    width:24px!important;
    height:24px!important;
  }

  .tf-search-page .tf-storefront-link,
  .search-page .tf-storefront-link,
  .search-results-page .tf-storefront-link{
    display:none!important;
  }
}

/* source: search-product-square-gallery-1.0.402.css */
/*
 TradesFolks Sprint 998 — Search Product Square Gallery Refinement
 Scope: /search list-view supplier cards only.
 Goal: slightly taller cards + square, clean image presentation inspired by
 premium B2B supplier-search layouts while preserving TradesFolks branding.
*/

@media (min-width: 901px){
  .tf-search-marketplace .tf-supplier-product-list{
    gap:16px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{
    min-height:352px!important;
    padding:15px 16px 13px!important;
    border-radius:16px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-head{
    min-height:52px!important;
    align-items:start!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-badges{
    margin:10px 0 12px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{
    grid-template-columns:minmax(300px,34%) minmax(0,66%)!important;
    gap:20px!important;
    align-items:stretch!important;
    min-height:258px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics{
    min-height:258px!important;
    justify-content:space-between!important;
    padding:3px 0 2px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics dl{
    gap:12px 22px!important;
  }

  /* Gallery geometry: primary visual and all 4 supporting visuals read as square tiles. */
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery,
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{
    width:100%!important;
    max-width:none!important;
    height:258px!important;
    min-height:258px!important;
    grid-template-columns:minmax(250px,1.08fr) repeat(2,minmax(112px,.50fr))!important;
    grid-template-rows:125px 125px!important;
    gap:8px!important;
    align-self:stretch!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery > a{
    height:125px!important;
    min-height:125px!important;
    border-radius:12px!important;
    border:1px solid #d8e2ee!important;
    background:#fff!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery > a.is-primary{
    grid-row:1 / 3!important;
    height:258px!important;
    min-height:258px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:10px!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:#fff!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery > a.is-primary img{
    padding:18px!important;
    object-fit:contain!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery > a:not(.is-primary) img{
    padding:8px!important;
    object-fit:contain!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single{
    display:block!important;
    width:min(100%,320px)!important;
    height:258px!important;
    min-height:258px!important;
    justify-self:end!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single > a.is-primary{
    width:258px!important;
    height:258px!important;
    min-height:258px!important;
    margin-left:auto!important;
    aspect-ratio:1 / 1!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-gallery-count{
    top:10px!important;
    left:10px!important;
    padding:5px 7px!important;
    border-radius:7px!important;
    font-size:8px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery small{
    top:10px!important;
    right:10px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery strong{
    min-height:31px!important;
    display:flex!important;
    align-items:center!important;
    padding:7px 10px!important;
    font-size:11px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-thumb-price{
    left:7px!important;
    right:7px!important;
    bottom:6px!important;
    padding:4px 7px!important;
    border-radius:6px!important;
    font-size:8px!important;
    background:rgba(255,255,255,.94)!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-foot{
    min-height:34px!important;
    margin-top:8px!important;
    align-items:center!important;
  }
}

/* Medium desktop/tablet: retain square-look without forcing overflow. */
@media (min-width: 901px) and (max-width: 1180px){
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{
    min-height:330px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{
    grid-template-columns:minmax(250px,34%) minmax(0,66%)!important;
    gap:14px!important;
    min-height:230px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-metrics{
    min-height:230px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery,
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{
    height:230px!important;
    min-height:230px!important;
    grid-template-columns:minmax(220px,1.08fr) repeat(2,minmax(96px,.50fr))!important;
    grid-template-rows:111px 111px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery > a{
    height:111px!important;
    min-height:111px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery > a.is-primary{
    height:230px!important;
    min-height:230px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single,
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single > a.is-primary{
    height:230px!important;
    min-height:230px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single > a.is-primary{
    width:230px!important;
  }
}

/* Tablet: image section moves below product facts; tiles stay balanced and clean. */
@media (max-width: 900px){
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{
    min-height:0!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{
    height:auto!important;
    min-height:0!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:auto!important;
    gap:8px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi > a{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1 / 1!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi > a.is-primary{
    grid-row:auto!important;
    grid-column:1 / -1!important;
    width:min(100%,420px)!important;
    justify-self:center!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1 / 1!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi img,
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single img{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    object-fit:contain!important;
    padding:10px!important;
    background:#fff!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single{
    width:min(100%,420px)!important;
    height:auto!important;
    min-height:0!important;
    justify-self:center!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-single > a.is-primary{
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1 / 1!important;
  }
}

/* Mobile: primary image remains large; supporting images become clean square thumbnails. */
@media (max-width: 620px){
  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-card-v3{
    padding:11px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-main{
    gap:11px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery.is-multi > a.is-primary{
    width:min(100%,340px)!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery img{
    padding:8px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-supplier-list-gallery > a.is-primary img{
    padding:12px!important;
  }

  .tf-search-marketplace .tf-supplier-product-list .tf-thumb-price{
    font-size:7px!important;
  }
}

/* ===== Current authoritative Search UI v7 rules ===== */
/* ==========================================================
   P56 — Search Marketplace Premium UI + Readability
   Manual test: https://tradesfolks.com/search?type=products&q=
   Scoped to .tf-search-marketplace only.
   ========================================================== */

.tf-search-marketplace{
  --sr-text:#102f4d;
  --sr-body:#405a73;
  --sr-muted:#5a7085;
  --sr-border:#cfdae6;
  --sr-soft:#f4f7fa;
  --sr-blue:#0f66d1;
  --sr-blue-dark:#0a4fa6;
  --sr-gold:#f7b83b;
}

/* Results section */
.tf-search-marketplace .tf-search-results-section{
  padding-top:22px!important;
  background:#f3f6f9!important;
}
.tf-search-marketplace .tf-search-results-section>.shell{
  width:min(calc(100% - 32px),1540px)!important;
  max-width:1540px!important;
}

/* Search heading */
.tf-search-marketplace .tf-search-results-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:20px!important;
  margin-bottom:14px!important;
}
.tf-search-marketplace .tf-search-results-head>div>span{
  color:#1267cc!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
}
.tf-search-marketplace .tf-search-results-head h2{
  margin:5px 0 0!important;
  color:#102f4d!important;
  font-size:29px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.02em!important;
}
.tf-search-marketplace .tf-search-results-head>small{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-height:38px!important;
  padding:0 13px!important;
  border:1px solid #d5e0ea!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#536b81!important;
  box-shadow:0 3px 10px rgba(20,48,78,.035)!important;
}
.tf-search-marketplace .tf-search-results-head>small b{
  color:#173d64!important;
  font-size:10.5px!important;
  font-weight:900!important;
}
.tf-search-marketplace .tf-search-results-head>small em{
  color:#526b81!important;
  font-size:9.5px!important;
  font-style:normal!important;
  font-weight:700!important;
}
.tf-search-marketplace .tf-search-results-head>small i{
  color:#73869a!important;
  font-size:9px!important;
  font-style:normal!important;
  font-weight:600!important;
}

/* Main 2-column layout */
.tf-search-marketplace .tf-search-catalog{
  display:grid!important;
  grid-template-columns:300px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
}

/* Filters */
.tf-search-marketplace .filter-sidebar{
  position:sticky!important;
  top:92px!important;
  align-self:start!important;
}
.tf-search-marketplace .tf-facet-filter{
  padding:17px!important;
  border:1px solid var(--sr-border)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(19,49,78,.045)!important;
}
.tf-search-marketplace .filter-head{
  padding-bottom:13px!important;
  margin-bottom:14px!important;
  border-bottom:1px solid #e3eaf1!important;
}
.tf-search-marketplace .filter-head strong{
  color:#153653!important;
  font-size:16px!important;
  font-weight:900!important;
}
.tf-search-marketplace .filter-head span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#eaf3ff!important;
  color:#0d63c5!important;
  font-size:9px!important;
  font-weight:850!important;
}
.tf-search-marketplace .tf-filter-field>span,
.tf-search-marketplace .tf-facet-group>legend,
.tf-search-marketplace .tf-facet-section-title strong{
  color:#3c5871!important;
  font-size:10.5px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
.tf-search-marketplace .tf-filter-field input,
.tf-search-marketplace .tf-facet-group select,
.tf-search-marketplace .tf-facet-group input[type="number"]{
  min-height:43px!important;
  border:1px solid #cbd8e5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#183b5c!important;
  font-size:11px!important;
}
.tf-search-marketplace .tf-filter-field input::placeholder,
.tf-search-marketplace .tf-facet-group input::placeholder{
  color:#6b7f92!important;
  opacity:1!important;
}
.tf-search-marketplace .tf-facet-group{
  padding:14px 0!important;
  border-top:1px solid #edf1f5!important;
}
.tf-search-marketplace .tf-facet-group:first-of-type{
  border-top:0!important;
}
.tf-search-marketplace .tf-country-row{
  min-height:34px!important;
  padding:5px 7px!important;
  border-radius:8px!important;
  color:#405b74!important;
  font-size:10.5px!important;
}
.tf-search-marketplace .tf-country-row.is-all{
  background:#fff7db!important;
  color:#173653!important;
}
.tf-search-marketplace .tf-country-name{
  font-weight:750!important;
}
.tf-search-marketplace .tf-country-count{
  color:#718397!important;
  font-size:9px!important;
  font-weight:700!important;
}
.tf-search-marketplace .check-row{
  min-height:32px!important;
  color:#425e77!important;
  font-size:10.5px!important;
}
.tf-search-marketplace .check-row input,
.tf-search-marketplace .tf-country-row input{
  width:16px!important;
  height:16px!important;
  accent-color:#1267cc!important;
}
.tf-search-marketplace .tf-filter-actions{
  display:grid!important;
  gap:8px!important;
  margin-top:12px!important;
}
.tf-search-marketplace .filter-apply{
  min-height:42px!important;
  border-radius:9px!important;
  background:#1267cc!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
}
.tf-search-marketplace .filter-clear{
  color:#526b81!important;
  font-size:10px!important;
  font-weight:750!important;
  text-align:center!important;
}

/* P78 modern ecommerce filter + trending treatment */
.tf-search-marketplace .tf-search-trending-inline{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;
  margin:10px 0 18px!important;padding:0!important;color:#587086!important;font-size:10px!important;font-weight:800!important;
}
.tf-search-marketplace .tf-search-trending-inline>b{margin-right:2px!important;color:#536b81!important;font-size:10px!important;}
.tf-search-marketplace .tf-search-trending-inline>a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;
  padding:0 14px!important;border:1px solid #e8ad26!important;border-radius:999px!important;background:#f7b928!important;
  color:#fff!important;font-size:10px!important;font-weight:850!important;text-decoration:none!important;
  box-shadow:0 3px 8px rgba(205,145,14,.12)!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
}
.tf-search-marketplace .tf-search-trending-inline>a:hover{background:#eaa817!important;box-shadow:0 5px 12px rgba(205,145,14,.18)!important;transform:translateY(-1px)!important;}
.tf-search-marketplace .filter-sidebar{width:100%!important;}
.tf-search-marketplace .tf-facet-filter{
  padding:18px!important;border:1px solid #d8e2ec!important;border-radius:18px!important;background:#fff!important;
  box-shadow:0 8px 24px rgba(18,48,77,.055)!important;overflow:hidden!important;
}
.tf-search-marketplace .filter-head{display:flex!important;align-items:center!important;gap:9px!important;padding:0 0 14px!important;margin:0 0 4px!important;border-bottom:1px solid #edf2f6!important;}
.tf-search-marketplace .filter-head strong{font-size:18px!important;letter-spacing:-.02em!important;}
.tf-search-marketplace .filter-head span{min-height:25px!important;padding:0 9px!important;background:#eaf3ff!important;font-size:10px!important;}
.tf-search-marketplace .tf-filter-field,.tf-search-marketplace .tf-facet-group{margin:0!important;padding:15px 0!important;border-top:1px solid #edf2f6!important;}
.tf-search-marketplace .tf-filter-field:first-of-type,.tf-search-marketplace .tf-facet-group:first-of-type{border-top:0!important;}
.tf-search-marketplace .tf-filter-field>span,.tf-search-marketplace .tf-facet-group>legend,.tf-search-marketplace .tf-facet-section-title strong{display:block!important;margin-bottom:8px!important;color:#294b68!important;font-size:11px!important;font-weight:850!important;}
.tf-search-marketplace .tf-filter-field input,.tf-search-marketplace .tf-facet-group select,.tf-search-marketplace .tf-facet-group input[type="number"]{
  width:100%!important;min-height:42px!important;padding:0 12px!important;border:1px solid #cfdbe7!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;outline:none!important;
}
.tf-search-marketplace .tf-filter-field input:focus,.tf-search-marketplace .tf-facet-group select:focus,.tf-search-marketplace .tf-facet-group input[type="number"]:focus{border-color:#5a9de5!important;box-shadow:0 0 0 3px rgba(18,103,204,.08)!important;}
.tf-search-marketplace .tf-country-row{display:grid!important;grid-template-columns:18px minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;min-height:34px!important;padding:5px 7px!important;margin:1px 0!important;border-radius:9px!important;}
.tf-search-marketplace .tf-country-row.is-all{background:#fff5d4!important;}
.tf-search-marketplace .tf-country-row input,.tf-search-marketplace .check-row input{width:16px!important;height:16px!important;margin:0!important;}
.tf-search-marketplace .tf-country-count{min-width:28px!important;padding:3px 7px!important;border-radius:999px!important;background:#f2f5f8!important;text-align:center!important;}
.tf-search-marketplace .tf-filter-actions{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding-top:14px!important;margin-top:0!important;border-top:1px solid #edf2f6!important;}
.tf-search-marketplace .filter-apply{min-height:40px!important;border:0!important;border-radius:10px!important;background:#1267cc!important;box-shadow:0 4px 10px rgba(18,103,204,.16)!important;}
.tf-search-marketplace .filter-clear{padding:0 4px!important;color:#1267cc!important;font-weight:800!important;text-decoration:none!important;}
.tf-search-marketplace .search-facet-box{margin-top:12px!important;padding:14px!important;border:1px solid #e1e8ef!important;border-radius:12px!important;background:#fff!important;}
@media(max-width:980px){.tf-search-marketplace .tf-search-trending-inline{margin-bottom:12px!important}.tf-search-marketplace .tf-facet-filter{border-radius:14px!important;padding:15px!important;}}

/* Listing toolbar */
.tf-search-marketplace .catalog-toolbar{
  min-height:54px!important;
  padding:0 2px 12px!important;
  margin-bottom:4px!important;
}
.tf-search-marketplace .catalog-toolbar>div:first-child>strong{
  color:#173653!important;
  font-size:12.5px!important;
  font-weight:900!important;
}
.tf-search-marketplace .tf-catalog-toolbar-actions{
  gap:8px!important;
}
.tf-search-marketplace .tf-catalog-toolbar-actions select{
  min-width:170px!important;
  min-height:42px!important;
  border:1px solid #cbd8e5!important;
  border-radius:9px!important;
  color:#294861!important;
  font-size:10.5px!important;
  background:#fff!important;
}
.tf-search-marketplace .tf-catalog-view-switch a{
  width:42px!important;
  height:42px!important;
  border:1px solid #cbd8e5!important;
  border-radius:9px!important;
  background:#fff!important;
}
.tf-search-marketplace .tf-catalog-view-switch a.active{
  border-color:#8db8eb!important;
  background:#edf6ff!important;
  color:#0d63c5!important;
}

/* Product grid */
.tf-search-marketplace .tf-search-page .product-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}
.tf-search-marketplace .product-card{
  overflow:hidden!important;
  border:1px solid #cfdbe6!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(18,48,77,.045)!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.tf-search-marketplace .product-card:hover{
  transform:translateY(-2px)!important;
  border-color:#a8c6e4!important;
  box-shadow:0 10px 24px rgba(18,48,77,.10)!important;
}
.tf-search-marketplace .product-card .product-image{
  background:#f7f9fc!important;
  border-bottom:1px solid #e2e9f0!important;
}
.tf-search-marketplace .product-card .product-image img{
  object-fit:contain!important;
  background:#fff!important;
}
.tf-search-marketplace .product-card .product-body{
  padding:13px!important;
}
.tf-search-marketplace .product-card h3{
  margin:0 0 7px!important;
  min-height:35px!important;
}
.tf-search-marketplace .product-card h3 a{
  color:#173653!important;
  font-size:12.5px!important;
  line-height:1.35!important;
  font-weight:900!important;
}
.tf-search-marketplace .product-card .price{
  color:#102f4d!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:900!important;
}
.tf-search-marketplace .product-card .price small{
  color:#667b8e!important;
  font-size:9px!important;
  font-weight:650!important;
}
.tf-search-marketplace .product-card .product-primary-meta{
  margin-top:6px!important;
  color:#5a7186!important;
  font-size:9.5px!important;
  line-height:1.35!important;
  font-weight:600!important;
}
.tf-search-marketplace .product-card .product-primary-meta b{
  color:#405970!important;
}
.tf-search-marketplace .product-card .product-description{
  display:-webkit-box!important;
  min-height:48px!important;
  margin:8px 0 9px!important;
  overflow:hidden!important;
  color:#526a80!important;
  font-size:10.5px!important;
  line-height:1.5!important;
  font-weight:500!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
}
.tf-search-marketplace .product-card .product-compact-chips{
  gap:5px!important;
  margin-bottom:9px!important;
}
.tf-search-marketplace .product-card .product-compact-chips span{
  min-height:25px!important;
  padding:0 7px!important;
  border:1px solid #dde6ee!important;
  border-radius:999px!important;
  background:#f8fafc!important;
  color:#50677e!important;
  font-size:8.5px!important;
  font-weight:700!important;
}
.tf-search-marketplace .product-card .product-compact-chips .is-verified{
  border-color:#c5e7d5!important;
  background:#eefaf4!important;
  color:#16764b!important;
}
.tf-search-marketplace .product-card .supplier-line{
  min-height:44px!important;
  padding-top:9px!important;
  border-top:1px solid #e6edf3!important;
}
.tf-search-marketplace .product-card .tf-seller-link{
  color:#24527a!important;
  font-size:9.5px!important;
  font-weight:850!important;
}
.tf-search-marketplace .product-card .tf-storefront-link{
  color:#587188!important;
  font-size:8.5px!important;
  font-weight:650!important;
}
.tf-search-marketplace .product-card .card-actions{
  gap:7px!important;
  margin-top:10px!important;
}
.tf-search-marketplace .product-card .card-actions :where(a,button){
  min-height:38px!important;
  border-radius:9px!important;
  font-size:9.5px!important;
  font-weight:850!important;
}
.tf-search-marketplace .product-card .tf-buy-now,
.tf-search-marketplace .product-card .tf-rfq-actions button{
  background:#f8b93e!important;
  color:#122d4a!important;
}
.tf-search-marketplace .product-card .tf-add-cart,
.tf-search-marketplace .product-card .tf-rfq-actions a{
  border:1px solid #8fb9e8!important;
  background:#fff!important;
  color:#0f5fb9!important;
}

/* Quick actions */
.tf-search-marketplace .product-card .product-quick-view{
  min-height:34px!important;
  padding:0 11px!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#173653!important;
  font-size:9.5px!important;
  font-weight:850!important;
  box-shadow:0 4px 12px rgba(18,48,77,.08)!important;
}
.tf-search-marketplace .product-card :where(.wishlist,.tf-compare-icon){
  width:36px!important;
  height:36px!important;
  border:1px solid #d2dde7!important;
  background:#fff!important;
  box-shadow:0 4px 12px rgba(18,48,77,.06)!important;
}

/* Supplier/category entity matches */
.tf-search-marketplace .tf-search-entity-matches{
  gap:10px!important;
  margin-bottom:14px!important;
}
.tf-search-marketplace .tf-search-entity-matches>div{
  border:1px solid #d3dee8!important;
  border-radius:12px!important;
  background:#fff!important;
}
.tf-search-marketplace .tf-search-entity-matches strong{
  color:#173653!important;
  font-size:11px!important;
}
.tf-search-marketplace .tf-search-entity-matches a b{
  color:#214563!important;
  font-size:10.5px!important;
}
.tf-search-marketplace .tf-search-entity-matches a small,
.tf-search-marketplace .tf-search-entity-matches a span{
  color:#667b8e!important;
  font-size:9px!important;
}

/* Responsive */
@media(max-width:1260px){
  .tf-search-marketplace .tf-search-page .product-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:980px){
  .tf-search-marketplace .tf-search-catalog{
    grid-template-columns:1fr!important;
  }
  .tf-search-marketplace .filter-sidebar{
    position:static!important;
  }
  .tf-search-marketplace .tf-search-page .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:640px){
  .tf-search-marketplace .tf-search-results-section>.shell{
    width:calc(100% - 20px)!important;
  }
  .tf-search-marketplace .tf-search-results-head{
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .tf-search-marketplace .tf-search-results-head h2{
    font-size:24px!important;
  }
  .tf-search-marketplace .tf-search-results-head>small{
    width:100%!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
  }
  .tf-search-marketplace .catalog-toolbar{
    gap:10px!important;
    align-items:flex-start!important;
    flex-direction:column!important;
  }
  .tf-search-marketplace .tf-catalog-toolbar-actions{
    width:100%!important;
  }
  .tf-search-marketplace .tf-catalog-toolbar-actions form{
    flex:1!important;
  }
  .tf-search-marketplace .tf-catalog-toolbar-actions select{
    width:100%!important;
  }
  .tf-search-marketplace .tf-search-page .product-grid{
    grid-template-columns:1fr!important;
  }
  .tf-search-marketplace .product-card .product-body{
    padding:12px!important;
  }
}

/* ==========================================================
   P57 — Search card simplification + country flags + compare icon
   Manual test:
   https://tradesfolks.com/search?type=products&q=
   ========================================================== */

/* Country filter flags */
.tf-search-marketplace .tf-country-row{
  display:grid!important;
  grid-template-columns:18px 24px minmax(0,1fr) auto!important;
  gap:8px!important;
  align-items:center!important;
}
.tf-search-marketplace .tf-country-flag{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:24px!important;
  height:20px!important;
  overflow:hidden!important;
  border-radius:4px!important;
  font-size:17px!important;
  line-height:1!important;
  background:#f5f7fa!important;
  box-shadow:0 0 0 1px #dce4ec!important;
}
.tf-search-marketplace .tf-country-globe{
  font-size:15px!important;
  background:#eef6ff!important;
  box-shadow:none!important;
}
.tf-search-marketplace .tf-country-name{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Simpler cards: let product name/price/supplier/actions carry the hierarchy. */
.tf-search-marketplace .product-card .product-body{
  display:flex!important;
  flex-direction:column!important;
}
.tf-search-marketplace .product-card h3{
  min-height:auto!important;
  margin-bottom:8px!important;
}
.tf-search-marketplace .product-card .product-primary-meta{
  margin-top:7px!important;
  min-height:18px!important;
}
.tf-search-marketplace .product-card .product-primary-meta>span:first-child{
  color:#536b81!important;
  font-size:9.5px!important;
  font-weight:650!important;
}
.tf-search-marketplace .product-card .product-primary-meta>span:first-child b{
  color:#38546d!important;
  font-weight:850!important;
}
.tf-search-marketplace .product-card .product-compact-chips{
  margin:9px 0 8px!important;
}
.tf-search-marketplace .product-card .product-compact-chips span{
  min-height:27px!important;
  padding:0 8px!important;
}

/* One MOQ location only: primary meta. */
.tf-search-marketplace .product-card .product-compact-chips .tf-search-moq-chip{
  display:none!important;
}

/* Compare + wishlist: clean vertical right rail with equal geometry. */
.tf-search-marketplace .product-card .wishlist,
.tf-search-marketplace .product-card .tf-compare-icon{
  position:absolute!important;
  right:10px!important;
  left:auto!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #d2dde7!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.96)!important;
  color:#173653!important;
  box-shadow:0 4px 12px rgba(18,48,77,.08)!important;
  z-index:4!important;
}
.tf-search-marketplace .product-card .wishlist{
  top:10px!important;
  font-size:21px!important;
  line-height:1!important;
}
.tf-search-marketplace .product-card .tf-compare-icon{
  top:52px!important;
}
.tf-search-marketplace .product-card .wishlist:hover,
.tf-search-marketplace .product-card .tf-compare-icon:hover{
  border-color:#8fb9e8!important;
  background:#edf6ff!important;
  color:#0d63c5!important;
}
.tf-search-marketplace .product-card .tf-compare-icon-svg{
  width:19px!important;
  height:19px!important;
  display:grid!important;
  place-items:center!important;
}
.tf-search-marketplace .product-card .tf-compare-icon-svg svg{
  width:19px!important;
  height:19px!important;
  display:block!important;
}
.tf-search-marketplace .product-card .tf-compare-state{
  display:none!important;
}

/* Trade Secure remains below the action rail and no longer collides. */
.tf-search-marketplace .product-card .tf-tradesecure-card-badge{
  right:9px!important;
  top:94px!important;
}

/* Description intentionally removed in search-grid mode; tighten card height. */
.tf-search-marketplace .product-card.tf-search-simple-card .supplier-line{
  margin-top:2px!important;
}
.tf-search-marketplace .product-card.tf-search-simple-card .card-actions{
  margin-top:auto!important;
}

/* Cards become easier to scan with less vertical noise. */
.tf-search-marketplace .product-card.tf-search-simple-card{
  min-height:0!important;
}
.tf-search-marketplace .product-card.tf-search-simple-card .product-body{
  min-height:0!important;
}

@media(max-width:640px){
  .tf-search-marketplace .tf-country-row{
    grid-template-columns:18px 24px minmax(0,1fr) auto!important;
  }
}

/* P76 — compact premium search cards. Product-first, fixed media, hover commerce. */
.tf-search-marketplace .tf-search-page .product-grid{gap:16px!important;align-items:start!important}
.tf-search-marketplace .product-card.tf-search-simple-card{
  position:relative!important;display:block!important;min-height:0!important;height:auto!important;
  overflow:hidden!important;border:1px solid #d7e0e9!important;border-radius:14px!important;
  box-shadow:0 3px 12px rgba(16,47,77,.055)!important;background:#fff!important;
}
.tf-search-marketplace .product-card.tf-search-simple-card:hover{border-color:#a9c6e2!important;box-shadow:0 12px 28px rgba(16,47,77,.12)!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-image{
  position:relative!important;width:100%!important;height:220px!important;aspect-ratio:auto!important;
  overflow:hidden!important;background:#f6f8fb!important;border-bottom:1px solid #e5ebf1!important;
}
.tf-search-marketplace .product-card.tf-search-simple-card .product-image-link{display:block!important;width:100%!important;height:100%!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-image img{
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;object-fit:cover!important;object-position:center!important;background:#f6f8fb!important;
  transition:transform .28s ease!important;
}
.tf-search-marketplace .product-card.tf-search-simple-card:hover .product-image img{transform:scale(1.025)!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-body{display:block!important;min-height:0!important;padding:11px 12px 12px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .tf-product-category{display:block!important;margin:0 0 4px!important;overflow:hidden!important;color:#6b8196!important;font-size:8px!important;font-weight:850!important;line-height:1.2!important;text-overflow:ellipsis!important;text-transform:uppercase!important;white-space:nowrap!important}
.tf-search-marketplace .product-card.tf-search-simple-card h3{height:34px!important;min-height:34px!important;margin:0 0 7px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important}
.tf-search-marketplace .product-card.tf-search-simple-card h3 a{font-size:12.5px!important;line-height:1.35!important;font-weight:850!important}
.tf-search-marketplace .product-card.tf-search-simple-card .price{margin:0!important;font-size:18px!important;line-height:1.15!important}
.tf-search-marketplace .product-card.tf-search-simple-card .price small{font-size:8.5px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-primary-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:22px!important;margin:5px 0 6px!important;font-size:8.5px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-compact-chips{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;flex-wrap:nowrap!important;margin:0!important;overflow:hidden!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-compact-chips>span{min-width:0!important;min-height:24px!important;padding:0 7px!important;overflow:hidden!important;font-size:7.8px!important;line-height:22px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-compact-chips>span:first-of-type{flex:1 1 auto!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-compact-chips .is-verified{flex:0 0 auto!important}
.tf-search-marketplace .product-card.tf-search-simple-card .supplier-line{display:grid!important;grid-template-columns:24px minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important;min-height:38px!important;margin-top:8px!important;padding:7px 0 0!important;border-top:1px solid #e9eef3!important}
.tf-search-marketplace .product-card.tf-search-simple-card .tf-store-icon{width:24px!important;height:24px!important;border-radius:7px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .tf-seller-link{font-size:8.5px!important;line-height:1.15!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tf-search-marketplace .product-card.tf-search-simple-card .tf-storefront-link{display:none!important}
/* Commerce controls live on the image on desktop, so card height never grows. */
.tf-search-marketplace .product-card.tf-search-simple-card .card-actions{position:absolute!important;left:10px!important;right:10px!important;top:170px!important;z-index:6!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin:0!important;opacity:0!important;transform:translateY(8px)!important;pointer-events:none!important;transition:opacity .16s ease,transform .16s ease!important}
.tf-search-marketplace .product-card.tf-search-simple-card:hover .card-actions,.tf-search-marketplace .product-card.tf-search-simple-card:focus-within .card-actions{opacity:1!important;transform:translateY(0)!important;pointer-events:auto!important}
.tf-search-marketplace .product-card.tf-search-simple-card .card-actions :where(a,button){min-height:38px!important;border-radius:9px!important;box-shadow:0 5px 15px rgba(15,45,72,.14)!important;font-size:9px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-quick-view{top:10px!important;left:10px!important;opacity:0!important;transform:translateY(-4px)!important;transition:opacity .16s ease,transform .16s ease!important}
.tf-search-marketplace .product-card.tf-search-simple-card:hover .product-quick-view,.tf-search-marketplace .product-card.tf-search-simple-card:focus-within .product-quick-view{opacity:1!important;transform:none!important}
.tf-search-marketplace .product-card.tf-search-simple-card .tf-compare-icon{opacity:0!important;transform:translateX(5px)!important;transition:opacity .16s ease,transform .16s ease!important}
.tf-search-marketplace .product-card.tf-search-simple-card:hover .tf-compare-icon,.tf-search-marketplace .product-card.tf-search-simple-card:focus-within .tf-compare-icon{opacity:1!important;transform:none!important}
@media(max-width:1260px){.tf-search-marketplace .product-card.tf-search-simple-card .product-image{height:210px!important}.tf-search-marketplace .product-card.tf-search-simple-card .card-actions{top:160px!important}}
@media(max-width:980px){.tf-search-marketplace .product-card.tf-search-simple-card .product-image{height:230px!important}.tf-search-marketplace .product-card.tf-search-simple-card .card-actions{top:180px!important}}
@media(max-width:640px){
 .tf-search-marketplace .product-card.tf-search-simple-card .product-image{height:250px!important}
 .tf-search-marketplace .product-card.tf-search-simple-card .card-actions{position:static!important;display:grid!important;margin-top:9px!important;opacity:1!important;transform:none!important;pointer-events:auto!important}
 .tf-search-marketplace .product-card.tf-search-simple-card .product-quick-view{opacity:1!important;transform:none!important}
 .tf-search-marketplace .product-card.tf-search-simple-card .tf-compare-icon{opacity:1!important;transform:none!important}
}

/* P77 — tighter premium search cards + shield check verified icon. */
.tf-search-marketplace .tf-search-page .product-grid{gap:14px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-image{height:190px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-body{padding:9px 11px 10px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .tf-product-category{margin-bottom:2px!important;font-size:7.7px!important}
.tf-search-marketplace .product-card.tf-search-simple-card h3{height:auto!important;min-height:0!important;max-height:32px!important;margin:0 0 5px!important;-webkit-line-clamp:2!important}
.tf-search-marketplace .product-card.tf-search-simple-card h3 a{font-size:12px!important;line-height:1.3!important}
.tf-search-marketplace .product-card.tf-search-simple-card .price{font-size:17px!important;line-height:1.1!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-primary-meta{min-height:18px!important;margin:4px 0 5px!important;line-height:1.15!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-compact-chips>span{min-height:22px!important;line-height:20px!important;padding:0 6px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .supplier-line{min-height:32px!important;margin-top:6px!important;padding-top:6px!important;grid-template-columns:22px minmax(0,1fr) auto!important;gap:6px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .tf-store-icon{width:22px!important;height:22px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .card-actions{top:143px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .card-actions :where(a,button){min-height:35px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-compact-chips .is-verified{display:inline-flex!important;align-items:center!important;gap:4px!important;color:#08724e!important}
@media(max-width:1260px){.tf-search-marketplace .product-card.tf-search-simple-card .product-image{height:185px!important}.tf-search-marketplace .product-card.tf-search-simple-card .card-actions{top:138px!important}}
@media(max-width:980px){.tf-search-marketplace .product-card.tf-search-simple-card .product-image{height:205px!important}.tf-search-marketplace .product-card.tf-search-simple-card .card-actions{top:158px!important}}
@media(max-width:640px){.tf-search-marketplace .product-card.tf-search-simple-card .product-image{height:220px!important}}

.tf-search-marketplace .tf-search-results-head>small{min-height:42px!important;padding:0 16px!important;border-color:#c9d9e8!important;background:#fff!important;box-shadow:0 6px 18px rgba(13,45,76,.07)!important}
.tf-search-marketplace .tf-search-results-head>small b{font-size:13px!important;color:#0b3157!important}
.tf-search-marketplace .tf-search-results-head>small em{font-size:11px!important;color:#315878!important}
.tf-search-marketplace .tf-search-results-head>small i{font-size:10px!important;color:#6a7f93!important}
.tf-search-marketplace .tf-search-entity-matches{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0 0 18px!important}
.tf-search-marketplace .tf-search-entity-matches>div{padding:15px!important;border:1px solid #cfddea!important;border-radius:16px!important;box-shadow:0 5px 16px rgba(13,45,76,.045)!important}
.tf-search-marketplace .tf-search-entity-matches strong{display:block!important;margin-bottom:10px!important;font-size:13px!important;color:#0f3152!important}
.tf-search-marketplace .tf-search-entity-matches>div>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.tf-search-marketplace .tf-search-entity-matches a{display:grid!important;gap:2px!important;min-height:70px!important;padding:11px 12px!important;border:1px solid #e0e8ef!important;border-radius:12px!important;background:#fbfdff!important;text-decoration:none!important;transition:.18s ease!important}
.tf-search-marketplace .tf-search-entity-matches a:hover{border-color:#f4b81d!important;background:#fffaf0!important;box-shadow:0 5px 14px rgba(244,184,29,.10)!important;transform:translateY(-1px)}
.tf-search-marketplace .tf-search-entity-matches a span{font-size:9.5px!important;font-weight:800!important;color:#73869a!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.tf-search-marketplace .tf-search-entity-matches a b{font-size:12px!important;line-height:1.3!important;color:#143b5d!important}
.tf-search-marketplace .tf-search-entity-matches a small{font-size:10px!important;font-weight:700!important;color:#56718a!important}
.tf-search-marketplace .search-facet-box{padding:16px!important;border-color:#cfddea!important;border-radius:16px!important;box-shadow:0 5px 16px rgba(13,45,76,.04)!important}
.tf-search-marketplace .search-facet-box>strong{display:block!important;margin-bottom:8px!important;color:#102f4d!important;font-size:13px!important;font-weight:900!important}
.tf-search-marketplace .search-facet-box>span{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:42px!important;padding:8px 0!important;border-top:1px solid #edf2f6!important;color:#526d86!important;font-size:11px!important;line-height:1.25!important}
.tf-search-marketplace .search-facet-box>span b{display:inline-grid!important;place-items:center!important;min-width:32px!important;height:28px!important;padding:0 8px!important;border-radius:9px!important;background:#eef5ff!important;color:#1267cc!important;font-size:10.5px!important;font-weight:900!important}
@media(max-width:760px){.tf-search-marketplace .tf-search-entity-matches{grid-template-columns:1fr!important}.tf-search-marketplace .tf-search-entity-matches>div>div{grid-template-columns:1fr!important}.tf-search-marketplace .tf-search-results-head>small i{display:none!important}}

/* Existing supplier showcase list rules consolidated from v5 path. */
/* TradesFolks Search List v6 — supplier showcase card. Authoritative replacement. */
.tf-search-marketplace .tf-supplier-product-list{display:grid!important;gap:14px!important;min-width:0!important}
.tf-search-marketplace .tf-supplier-list-card{display:block!important;min-width:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #dbe4ee!important;border-radius:18px!important;box-shadow:0 8px 26px rgba(15,47,77,.055)!important;color:#102f4d!important}
.tf-search-marketplace .tf-supplier-list-head{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;padding:16px 18px 10px!important}
.tf-search-marketplace .tf-supplier-avatar{width:52px!important;height:52px!important;border:1px solid #dce5ef!important;border-radius:12px!important;background:#f8fafc!important;display:grid!important;place-items:center!important;overflow:hidden!important;text-decoration:none!important}
.tf-search-marketplace .tf-supplier-avatar img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:5px!important;background:#fff!important}
.tf-search-marketplace .tf-supplier-avatar span{display:none;place-items:center;width:100%;height:100%;font-weight:800;color:#0f66d1}
.tf-search-marketplace .tf-supplier-list-identity{min-width:0!important}
.tf-search-marketplace .tf-supplier-title-line{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.tf-search-marketplace .tf-supplier-title-line h3{margin:0!important;min-width:0!important;font-size:18px!important;line-height:1.2!important;font-weight:800!important}
.tf-search-marketplace .tf-supplier-title-line h3 a{color:#102f4d!important;text-decoration:none!important;display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.tf-search-marketplace .tf-supplier-title-line>span{flex:0 1 auto;color:#657b90;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-search-marketplace .tf-supplier-trust-row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin-top:6px!important;font-size:12px!important;color:#50677d!important}
.tf-search-marketplace .tf-supplier-trust-row .is-verified{color:#0f66d1!important}.tf-search-marketplace .tf-supplier-trust-row strong{font-weight:650!important;color:#344f69!important}
.tf-search-marketplace .tf-list-rating{color:#9a6500!important}
.tf-search-marketplace .tf-supplier-list-actions{display:flex!important;gap:8px!important;align-items:center!important}
.tf-search-marketplace .tf-supplier-list-actions :where(a,button){min-height:40px!important;padding:0 16px!important;border-radius:999px!important;font:700 12px/1 inherit!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;cursor:pointer!important}
.tf-search-marketplace .tf-list-contact{background:#0f66d1!important;border:1px solid #0f66d1!important;color:#fff!important;text-decoration:none!important}.tf-search-marketplace .tf-list-chat{background:#fff!important;border:1px solid #bdcad7!important;color:#173b5c!important}
.tf-search-marketplace .tf-supplier-list-badges{display:flex!important;gap:7px!important;align-items:center!important;overflow-x:auto!important;padding:0 18px 11px!important;scrollbar-width:none}.tf-search-marketplace .tf-supplier-list-badges::-webkit-scrollbar{display:none}
.tf-search-marketplace .tf-supplier-list-badges>span{flex:0 0 auto!important;border-radius:8px!important;background:#f4f7fa!important;border:1px solid #e3eaf1!important;padding:6px 9px!important;font-size:10.5px!important;font-weight:700!important;color:#4b6278!important}.tf-search-marketplace .tf-supplier-list-badges .tf-match-badge{background:#fff8df!important;border-color:#f5d575!important;color:#7d5a00!important}.tf-search-marketplace .tf-trade-secure{color:#0b6b4c!important;background:#edf9f3!important;border-color:#ccebdd!important;display:inline-flex!important;align-items:center!important;gap:4px!important}.tf-search-marketplace .tf-trade-secure svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.tf-search-marketplace .tf-supplier-list-main{display:grid!important;grid-template-columns:minmax(230px,25%) minmax(0,1fr)!important;gap:18px!important;padding:0 18px 16px!important;align-items:stretch!important}
.tf-search-marketplace .tf-supplier-list-metrics{min-width:0!important;border-radius:14px!important;background:#f7f9fb!important;border:1px solid #e6edf3!important;padding:13px!important}
.tf-search-marketplace .tf-supplier-list-metrics dl{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:0!important}.tf-search-marketplace .tf-supplier-list-metrics dl>div:first-child{grid-column:1/-1}.tf-search-marketplace .tf-supplier-list-metrics dt{font-size:9px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#7a8da0!important;font-weight:800!important}.tf-search-marketplace .tf-supplier-list-metrics dd{margin:3px 0 0!important;font-size:12px!important;font-weight:750!important;color:#183b5c!important;line-height:1.3!important}.tf-search-marketplace .tf-supplier-list-metrics dd a{color:inherit!important;text-decoration:none!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.tf-search-marketplace .tf-list-customization{margin-top:12px!important;padding-top:10px!important;border-top:1px solid #e0e8ef!important}.tf-search-marketplace .tf-list-customization small{display:block;margin-bottom:6px;color:#74899c;font-size:9px;font-weight:800;text-transform:uppercase}.tf-search-marketplace .tf-list-customization>div{display:flex;gap:5px;flex-wrap:wrap}.tf-search-marketplace .tf-list-customization span{font-size:9px;padding:4px 6px;border-radius:6px;background:#fff;border:1px solid #dfe7ee;color:#536b80}
.tf-search-marketplace .tf-supplier-list-gallery{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;min-width:0!important;align-items:start!important}.tf-search-marketplace .tf-supplier-list-gallery>a{position:relative!important;display:grid!important;grid-template-rows:150px auto auto!important;min-width:0!important;text-decoration:none!important;color:#173b5c!important;overflow:hidden!important}.tf-search-marketplace .tf-supplier-list-gallery img{display:block!important;width:100%!important;height:150px!important;max-width:none!important;object-fit:cover!important;border-radius:12px!important;background:#f2f5f8!important;border:1px solid #e5ebf1!important}.tf-search-marketplace .tf-supplier-list-gallery>a::after{content:attr(aria-label);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px;font-size:11px;line-height:1.3;color:#405970}.tf-search-marketplace .tf-supplier-list-gallery .tf-thumb-price,.tf-search-marketplace .tf-supplier-list-gallery>a>strong{display:block!important;margin-top:5px!important;font-size:14px!important;line-height:1.1!important;font-weight:850!important;color:#102f4d!important}.tf-search-marketplace .tf-supplier-list-gallery>a>small{font-size:9.5px!important;color:#71869a!important;margin-top:3px!important}.tf-search-marketplace .tf-gallery-count{position:absolute!important;left:8px!important;top:8px!important;z-index:2!important;background:rgba(255,255,255,.94)!important;border:1px solid #dce5ed!important;border-radius:999px!important;padding:4px 7px!important;font-size:9px!important;font-weight:800!important;color:#294b69!important;display:flex!important;gap:4px!important;align-items:center!important}.tf-search-marketplace .tf-gallery-count svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7}
.tf-search-marketplace .tf-supplier-list-foot{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;border-top:1px solid #edf1f5!important;padding:10px 18px!important;font-size:10px!important;color:#6b8194!important}.tf-search-marketplace .tf-list-details{font-weight:800!important;color:#0f66d1!important;text-decoration:none!important}
@media(max-width:1200px){.tf-search-marketplace .tf-supplier-list-gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important}.tf-search-marketplace .tf-supplier-list-gallery>a:nth-child(n+5){display:none!important}.tf-search-marketplace .tf-supplier-list-main{grid-template-columns:220px minmax(0,1fr)!important}}
@media(max-width:900px){.tf-search-marketplace .tf-supplier-list-head{grid-template-columns:44px minmax(0,1fr)!important}.tf-search-marketplace .tf-supplier-avatar{width:44px!important;height:44px!important}.tf-search-marketplace .tf-supplier-list-actions{grid-column:1/-1!important}.tf-search-marketplace .tf-supplier-list-main{display:block!important}.tf-search-marketplace .tf-supplier-list-metrics{margin-bottom:12px!important}.tf-search-marketplace .tf-supplier-list-gallery{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding-bottom:3px!important;scrollbar-width:none}.tf-search-marketplace .tf-supplier-list-gallery::-webkit-scrollbar{display:none}.tf-search-marketplace .tf-supplier-list-gallery>a{flex:0 0 170px!important;scroll-snap-align:start!important}.tf-search-marketplace .tf-supplier-list-gallery>a:nth-child(n){display:grid!important}}
@media(max-width:640px){.tf-search-marketplace .tf-supplier-product-list{gap:10px!important}.tf-search-marketplace .tf-supplier-list-card{border-radius:14px!important}.tf-search-marketplace .tf-supplier-list-head{padding:12px 12px 8px!important;gap:9px!important}.tf-search-marketplace .tf-supplier-title-line{display:block!important}.tf-search-marketplace .tf-supplier-title-line h3{font-size:15px!important}.tf-search-marketplace .tf-supplier-title-line>span{display:block!important;margin-top:3px!important;font-size:10px!important}.tf-search-marketplace .tf-supplier-trust-row{gap:5px!important;font-size:10px!important}.tf-search-marketplace .tf-supplier-list-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.tf-search-marketplace .tf-supplier-list-actions :where(a,button){min-height:38px!important;padding:0 10px!important}.tf-search-marketplace .tf-supplier-list-badges{padding:0 12px 9px!important}.tf-search-marketplace .tf-supplier-list-main{padding:0 12px 12px!important}.tf-search-marketplace .tf-supplier-list-metrics dl{grid-template-columns:1fr 1fr!important}.tf-search-marketplace .tf-supplier-list-gallery>a{flex-basis:145px!important;grid-template-rows:126px auto auto!important}.tf-search-marketplace .tf-supplier-list-gallery img{height:126px!important}.tf-search-marketplace .tf-supplier-list-foot{padding:9px 12px!important}}

/* ============================================================
   TradesFolks Search UI v7 — cleanup, typography & responsive polish
   Single page-owned stylesheet. No framework/runtime dependency.
   ============================================================ */
.tf-search-marketplace{
  --tf-search-radius:16px;
  --tf-search-shadow:0 8px 24px rgba(13,45,76,.06);
}

/* Compact search hero: results should reach the viewport sooner. */
.tf-search-marketplace .tf-search-hero{padding-block:28px!important}
.tf-search-marketplace .tf-search-hero-grid{align-items:center!important;gap:28px!important}
.tf-search-marketplace .tf-search-intro h1{font-size:clamp(34px,4vw,58px)!important;line-height:1.02!important}
.tf-search-marketplace .tf-search-intro>p{max-width:820px!important;font-size:14px!important;line-height:1.55!important}
.tf-search-marketplace .tf-search-proof{gap:10px!important}
.tf-search-marketplace .tf-search-proof article{
  min-height:92px!important;padding:16px 18px!important;border-radius:16px!important;
}
.tf-search-marketplace .tf-search-proof article i{width:38px!important;height:38px!important;font-size:11px!important}
.tf-search-marketplace .tf-search-proof article b{font-size:17px!important;line-height:1.15!important}
.tf-search-marketplace .tf-search-proof article span{
  margin-top:5px!important;font-size:12px!important;line-height:1.3!important;opacity:.9!important;
}

/* Supplier/category discovery: compact but readable. */
.tf-search-marketplace .tf-search-entity-matches{gap:10px!important;margin-bottom:16px!important}
.tf-search-marketplace .tf-search-entity-matches>div{padding:13px!important;border-radius:14px!important}
.tf-search-marketplace .tf-search-entity-matches strong{font-size:14px!important;margin-bottom:8px!important}
.tf-search-marketplace .tf-search-entity-matches a{min-height:60px!important;padding:9px 11px!important}
.tf-search-marketplace .tf-search-entity-matches a span{font-size:10px!important}
.tf-search-marketplace .tf-search-entity-matches a b{font-size:13px!important}
.tf-search-marketplace .tf-search-entity-matches a small{font-size:11px!important}

/* Results heading / toolbar */
.tf-search-marketplace .tf-search-results-head h2{font-size:clamp(25px,2.2vw,36px)!important}
.tf-search-marketplace .catalog-toolbar{position:relative!important;z-index:2!important}
.tf-search-marketplace .catalog-toolbar strong{font-size:14px!important}
.tf-search-marketplace .tf-catalog-toolbar-actions select{min-height:42px!important;font-size:13px!important}

/* Filters: denser and easier to scan. */
.tf-search-marketplace .tf-facet-filter{box-shadow:var(--tf-search-shadow)!important}
.tf-search-marketplace .filter-head strong{font-size:18px!important}
.tf-search-marketplace .tf-filter-field>span,
.tf-search-marketplace .tf-facet-group>legend,
.tf-search-marketplace .tf-facet-section-title strong{font-size:12px!important}
.tf-search-marketplace .tf-country-name{font-size:12px!important}
.tf-search-marketplace .tf-country-count{font-size:10px!important}

/* Grid cards: readable commercial hierarchy without increasing card height too much. */
.tf-search-marketplace .product-card.tf-search-simple-card .tf-product-category{font-size:9px!important;line-height:1.2!important}
.tf-search-marketplace .product-card.tf-search-simple-card h3,
.tf-search-marketplace .product-card.tf-search-simple-card h3 a{
  font-size:14px!important;line-height:1.3!important;min-height:36px!important;
}
.tf-search-marketplace .product-card.tf-search-simple-card .price{font-size:19px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .price small{font-size:10.5px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-primary-meta{font-size:10.5px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .supplier-line{font-size:10.5px!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-compact-chips span{font-size:9.5px!important}
.tf-search-marketplace .product-card.tf-search-simple-card{contain:layout paint!important;overflow:hidden!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-image{overflow:hidden!important}
.tf-search-marketplace .product-card.tf-search-simple-card .product-image img{
  width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;
}

/* Supplier showcase list: increase tiny labels/text and make CTA hierarchy sourcing-first. */
.tf-search-marketplace .tf-supplier-title-line h3{font-size:19px!important}
.tf-search-marketplace .tf-supplier-title-line>span{font-size:12.5px!important}
.tf-search-marketplace .tf-supplier-trust-row{font-size:12.5px!important}
.tf-search-marketplace .tf-supplier-list-badges>span{font-size:11px!important}
.tf-search-marketplace .tf-supplier-list-metrics dt{font-size:11px!important;line-height:1.2!important}
.tf-search-marketplace .tf-supplier-list-metrics dd{font-size:15px!important;line-height:1.35!important}
.tf-search-marketplace .tf-list-customization small{font-size:10.5px!important}
.tf-search-marketplace .tf-list-customization span{font-size:10.5px!important}
.tf-search-marketplace .tf-supplier-list-gallery>a::after{font-size:12px!important}
.tf-search-marketplace .tf-supplier-list-gallery .tf-thumb-price,
.tf-search-marketplace .tf-supplier-list-gallery>a>strong{font-size:15px!important}
.tf-search-marketplace .tf-supplier-list-gallery>a>small{font-size:10.5px!important}
.tf-search-marketplace .tf-supplier-list-foot{font-size:11px!important}
.tf-search-marketplace .tf-list-contact{
  background:#f7b916!important;border-color:#f7b916!important;color:#102f4d!important;
  box-shadow:0 5px 14px rgba(247,185,22,.20)!important;
}
.tf-search-marketplace .tf-list-chat{background:#fff!important;border-color:#cbd7e2!important;color:#173b5c!important}
.tf-search-marketplace .tf-supplier-list-gallery>a{min-width:0!important}
.tf-search-marketplace .tf-supplier-list-gallery img{max-width:100%!important}

/* Responsive: no desktop layout squeezing on smaller devices. */
@media(max-width:1180px){
  .tf-search-marketplace .tf-search-hero-grid{grid-template-columns:1fr!important}
  .tf-search-marketplace .tf-search-proof{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .tf-search-marketplace .tf-search-proof article{min-height:82px!important}
}
@media(max-width:900px){
  .tf-search-marketplace .tf-search-hero{padding-block:22px!important}
  .tf-search-marketplace .tf-search-entity-matches{grid-template-columns:1fr!important}
  .tf-search-marketplace .tf-supplier-list-metrics dt{font-size:10.5px!important}
  .tf-search-marketplace .tf-supplier-list-metrics dd{font-size:14px!important}
}
@media(max-width:640px){
  .tf-search-marketplace .tf-search-hero{padding-block:18px!important}
  .tf-search-marketplace .tf-search-intro h1{font-size:32px!important}
  .tf-search-marketplace .tf-search-intro>p{font-size:13px!important}
  .tf-search-marketplace .tf-search-proof{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding-bottom:3px!important}
  .tf-search-marketplace .tf-search-proof article{flex:0 0 78%!important;min-height:78px!important;scroll-snap-align:start!important}
  .tf-search-marketplace .tf-search-proof article b{font-size:16px!important}
  .tf-search-marketplace .tf-search-proof article span{font-size:11.5px!important}
  .tf-search-marketplace .tf-search-entity-matches>div>div{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important}
  .tf-search-marketplace .tf-search-entity-matches a{flex:0 0 78%!important;scroll-snap-align:start!important}
  .tf-search-marketplace .tf-supplier-title-line h3{font-size:16px!important}
  .tf-search-marketplace .tf-supplier-trust-row{font-size:11px!important}
  .tf-search-marketplace .tf-supplier-list-badges>span{font-size:10.5px!important}
  .tf-search-marketplace .tf-supplier-list-metrics dd{font-size:13.5px!important}
}
@media(max-width:380px){
  .tf-search-marketplace .tf-search-intro h1{font-size:29px!important}
  .tf-search-marketplace .tf-search-proof article{flex-basis:86%!important}
}


/* v9: Verified state is presentation-only and no longer requires DOM-mutating JS. */
.tf-search-marketplace .product-card.tf-search-simple-card .is-verified{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
}
.tf-search-marketplace .product-card.tf-search-simple-card .is-verified::before{
  content:"✓";
  display:inline-grid;
  place-items:center;
  width:15px;
  height:15px;
  flex:0 0 15px;
  border-radius:50%;
  background:#0b69d1;
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
}


/* v10 — accessibility, touch and motion polish */
.tf-search-marketplace :where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid rgba(11,105,209,.28)!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 2px #fff,0 0 0 5px rgba(11,105,209,.22)!important;
}
.tf-search-marketplace :where(button,.btn,.tf-filter-toggle,.tf-list-contact,.tf-list-chat){
  min-height:42px;
}
.tf-search-marketplace input[type="checkbox"],
.tf-search-marketplace input[type="radio"]{
  min-width:18px;min-height:18px;
}
.tf-search-marketplace a{overflow-wrap:anywhere}
.tf-search-marketplace img{content-visibility:auto}
.tf-search-marketplace .pagination a,
.tf-search-marketplace .pagination span{
  min-width:40px!important;min-height:40px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
}
@media (hover:hover) and (pointer:fine){
  .tf-search-marketplace .product-card,
  .tf-search-marketplace .tf-supplier-list-card{
    transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  }
  .tf-search-marketplace .product-card:hover,
  .tf-search-marketplace .tf-supplier-list-card:hover{
    transform:translateY(-2px);
  }
}
@media (prefers-reduced-motion:reduce){
  .tf-search-marketplace *,
  .tf-search-marketplace *::before,
  .tf-search-marketplace *::after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}
@media(max-width:640px){
  .tf-search-marketplace :where(button,.btn,.tf-filter-toggle,.tf-list-contact,.tf-list-chat){
    min-height:44px;
  }
  .tf-search-marketplace .pagination a,
  .tf-search-marketplace .pagination span{min-width:42px!important;min-height:42px!important}
}
