/* TradesFolks 18.4.82 — Featured Marketplace 6x2 Reference Cards
   Direct implementation of approved reference:
   large product image + yellow footer + centered name + underline.
   No price, MOQ, seller row or bulky CTA buttons.
   Premium inline SVG action icons.
*/

.tf-homepage .marketplace-products{
  padding:16px 0 22px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.tf-homepage .marketplace-products>.shell{
  width:calc(100% - 24px)!important;
  max-width:none!important;
  margin-inline:auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.tf-homepage .marketplace-products .curated-products-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0 0 12px!important;
}
.tf-homepage .marketplace-products .curated-products-head .eyebrow{
  margin:0 0 4px!important;
  color:#075bc7!important;
  font-size:7.5px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}
.tf-homepage .marketplace-products .curated-products-head h2{
  margin:0!important;
  color:#0b2343!important;
  font-size:26px!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
}
.tf-homepage .marketplace-products .curated-products-head .section-copy{
  margin:4px 0 0!important;
  color:#718096!important;
  font-size:8.5px!important;
  line-height:1.3!important;
}
.tf-homepage .marketplace-products .curated-products-head>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:32px!important;
  height:32px!important;
  padding:0 12px!important;
  border:1px solid #d8e4f1!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#075bc7!important;
  font-size:7.4px!important;
  font-weight:850!important;
  text-decoration:none!important;
}

/* exactly 6 + 6 on desktop */
.tf-homepage .marketplace-products .featured-twelve-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  align-items:stretch!important;
}

/* reference card shell */
.tf-homepage .marketplace-products .tf-featured-opportunity-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #f0c23f!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(8,31,63,.065)!important;
  box-sizing:border-box!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.tf-homepage .marketplace-products .tf-featured-opportunity-card:hover{
  transform:translateY(-3px)!important;
  border-color:#e5ae13!important;
  box-shadow:0 14px 30px rgba(8,31,63,.11)!important;
}

/* image occupies the complete upper card */
.tf-homepage .marketplace-products .tf-featured-opportunity-media{
  position:relative!important;
  display:block!important;
  flex:0 0 245px!important;
  width:100%!important;
  height:245px!important;
  min-height:245px!important;
  max-height:245px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  background:#fff!important;
}
.tf-homepage .marketplace-products .tf-featured-opportunity-media > .tf-featured-opportunity-image-link{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:7px!important;
  overflow:hidden!important;
  border:0!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
.tf-homepage .marketplace-products .tf-featured-opportunity-image-link img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  object-fit:contain!important;
  object-position:center center!important;
  aspect-ratio:auto!important;
  transform:none!important;
}

/* premium SVG action rail */
.tf-homepage .marketplace-products .tf-featured-opportunity-media > .tf-featured-card-tools{
  position:absolute!important;
  z-index:6!important;
  top:9px!important;
  right:9px!important;
  left:auto!important;
  bottom:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:6px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.tf-homepage .marketplace-products .tf-featured-tool,
.tf-homepage .marketplace-products .tf-featured-card-tools > *{
  position:static!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 31px!important;
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  min-height:31px!important;
  max-width:31px!important;
  max-height:31px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d8e3ed!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.97)!important;
  color:#0a2347!important;
  box-shadow:0 4px 12px rgba(7,31,64,.10)!important;
  text-decoration:none!important;
  cursor:pointer!important;
  backdrop-filter:blur(8px)!important;
}
.tf-homepage .marketplace-products .tf-featured-tool svg,
.tf-homepage .marketplace-products .tf-featured-card-tools > * svg{
  display:block!important;
  width:15px!important;
  height:15px!important;
  fill:none!important;
}
.tf-homepage .marketplace-products .tf-featured-card-tools > *:hover{
  border-color:#efb516!important;
  background:#fffaf0!important;
  color:#075bc7!important;
}

/* yellow reference footer */
.tf-homepage .marketplace-products .tf-featured-opportunity-body{
  position:relative!important;
  display:flex!important;
  flex:0 0 86px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:86px!important;
  height:86px!important;
  margin:0!important;
  padding:11px 12px 13px!important;
  border-top:1px solid rgba(187,126,0,.12)!important;
  background:linear-gradient(180deg,#ffd454 0%,#fbbf24 100%)!important;
  box-sizing:border-box!important;
}

/* simple centered title, no white pill */
.tf-homepage .marketplace-products .tf-featured-opportunity-body h3{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0 8px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0b2343!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.tf-homepage .marketplace-products .tf-featured-opportunity-body h3:before,
.tf-homepage .marketplace-products .tf-featured-opportunity-body h3:after{
  display:none!important;
  content:none!important;
}
.tf-homepage .marketplace-products .tf-featured-opportunity-body h3 a{
  display:block!important;
  width:100%!important;
  overflow:hidden!important;
  color:inherit!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

/* reference underline */
.tf-homepage .marketplace-products .tf-featured-opportunity-body:after{
  content:""!important;
  display:block!important;
  width:34px!important;
  height:4px!important;
  margin-top:8px!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(126,84,0,.08)!important;
}

/* hard-hide everything except product name */
.tf-homepage .marketplace-products .tf-featured-opportunity-body .price,
.tf-homepage .marketplace-products .tf-featured-moq,
.tf-homepage .marketplace-products .tf-featured-opportunity-card .supplier-line,
.tf-homepage .marketplace-products .tf-featured-opportunity-card .card-actions,
.tf-homepage .marketplace-products .tf-featured-opportunity-card .product-badge{
  display:none!important;
}

/* laptop: still 6 columns where usable */
@media(min-width:1280px) and (max-width:1535px){
  .tf-homepage .marketplace-products .featured-twelve-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-media{
    flex-basis:205px!important;
    height:205px!important;
    min-height:205px!important;
    max-height:205px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-body{
    flex-basis:76px!important;
    min-height:76px!important;
    height:76px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-body h3{
    font-size:10px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-tool,
  .tf-homepage .marketplace-products .tf-featured-card-tools > *{
    flex-basis:28px!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    max-width:28px!important;
    max-height:28px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-tool svg,
  .tf-homepage .marketplace-products .tf-featured-card-tools > * svg{
    width:13px!important;
    height:13px!important;
  }
}

/* smaller laptop */
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .marketplace-products .featured-twelve-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-media{
    flex-basis:215px!important;
    height:215px!important;
    min-height:215px!important;
    max-height:215px!important;
  }
}

/* tablet */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .marketplace-products .featured-twelve-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-media{
    flex-basis:190px!important;
    height:190px!important;
    min-height:190px!important;
    max-height:190px!important;
  }
}

/* mobile */
@media(max-width:699px){
  .tf-homepage .marketplace-products{
    padding:13px 0 18px!important;
  }
  .tf-homepage .marketplace-products>.shell{
    width:100%!important;
    padding:0 7px!important;
  }
  .tf-homepage .marketplace-products .curated-products-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:4px 7px!important;
    align-items:center!important;
  }
  .tf-homepage .marketplace-products .curated-products-head h2{
    font-size:18px!important;
  }
  .tf-homepage .marketplace-products .curated-products-head .section-copy{
    font-size:7px!important;
  }
  .tf-homepage .marketplace-products .curated-products-head>a{
    min-height:27px!important;
    height:27px!important;
    padding:0 8px!important;
    font-size:6.3px!important;
  }
  .tf-homepage .marketplace-products .featured-twelve-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-card{
    border-radius:14px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-media{
    flex-basis:142px!important;
    height:142px!important;
    min-height:142px!important;
    max-height:142px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-body{
    flex-basis:58px!important;
    min-height:58px!important;
    height:58px!important;
    padding:8px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-body h3{
    min-height:25px!important;
    max-height:25px!important;
    font-size:8px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-body:after{
    width:25px!important;
    height:3px!important;
    margin-top:5px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-media > .tf-featured-card-tools{
    top:5px!important;
    right:5px!important;
    gap:4px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-tool,
  .tf-homepage .marketplace-products .tf-featured-card-tools > *{
    flex-basis:23px!important;
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
    max-width:23px!important;
    max-height:23px!important;
  }
  .tf-homepage .marketplace-products .tf-featured-tool svg,
  .tf-homepage .marketplace-products .tf-featured-card-tools > * svg{
    width:11px!important;
    height:11px!important;
  }
}
@media(max-width:340px){
  .tf-homepage .marketplace-products .featured-twelve-grid{
    grid-template-columns:1fr!important;
  }
  .tf-homepage .marketplace-products .tf-featured-opportunity-media{
    flex-basis:225px!important;
    height:225px!important;
    min-height:225px!important;
    max-height:225px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .tf-homepage .marketplace-products .tf-featured-opportunity-card{
    transition:none!important;
  }
}

/* TradesFolks 18.4.83 — Trending / Popular Products Reference Cards
   Same approved card system as Featured Marketplace. */

.tf-homepage .trending-products-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0 0 12px!important;
}
.tf-homepage .trending-products-head .eyebrow{
  margin:0 0 4px!important;
  color:#075bc7!important;
  font-size:7.5px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
}
.tf-homepage .trending-products-head h2{
  margin:0!important;
  color:#0b2343!important;
  font-size:26px!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
}
.tf-homepage .trending-products-head .section-copy{
  margin:4px 0 0!important;
  color:#718096!important;
  font-size:8.5px!important;
  line-height:1.3!important;
}
.tf-homepage .trending-products-head>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:32px!important;
  height:32px!important;
  padding:0 12px!important;
  border:1px solid #d8e4f1!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#075bc7!important;
  font-size:7.4px!important;
  font-weight:850!important;
  text-decoration:none!important;
}

.tf-homepage .trending-twelve-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  align-items:stretch!important;
}

/* Reference card shell */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #f0c23f!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(8,31,63,.065)!important;
  box-sizing:border-box!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-card:hover{
  transform:translateY(-3px)!important;
  border-color:#e5ae13!important;
  box-shadow:0 14px 30px rgba(8,31,63,.11)!important;
}

/* Large product media */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
  position:relative!important;
  display:block!important;
  flex:0 0 245px!important;
  width:100%!important;
  height:245px!important;
  min-height:245px!important;
  max-height:245px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  background:#fff!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media > .tf-featured-opportunity-image-link{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:7px!important;
  overflow:hidden!important;
  border:0!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-image-link img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}

/* Premium SVG action rail */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media > .tf-featured-card-tools{
  position:absolute!important;
  z-index:6!important;
  top:9px!important;
  right:9px!important;
  left:auto!important;
  bottom:auto!important;
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-tool,
.tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
  position:static!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 31px!important;
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  min-height:31px!important;
  max-width:31px!important;
  max-height:31px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d8e3ed!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.97)!important;
  color:#0a2347!important;
  box-shadow:0 4px 12px rgba(7,31,64,.10)!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-tool svg,
.tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
  width:15px!important;
  height:15px!important;
  display:block!important;
  fill:none!important;
}

/* Yellow name footer */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
  position:relative!important;
  display:flex!important;
  flex:0 0 86px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:86px!important;
  height:86px!important;
  margin:0!important;
  padding:11px 12px 13px!important;
  border-top:1px solid rgba(187,126,0,.12)!important;
  background:linear-gradient(180deg,#ffd454 0%,#fbbf24 100%)!important;
  box-sizing:border-box!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0 8px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#0b2343!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3:before,
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3:after{
  display:none!important;
  content:none!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3 a{
  display:block!important;
  width:100%!important;
  overflow:hidden!important;
  color:inherit!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body:after{
  content:""!important;
  display:block!important;
  width:34px!important;
  height:4px!important;
  margin-top:8px!important;
  border-radius:999px!important;
  background:#fff!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body .price,
.tf-homepage .trending-twelve-grid .tf-featured-moq,
.tf-homepage .trending-twelve-grid .supplier-line,
.tf-homepage .trending-twelve-grid .card-actions,
.tf-homepage .trending-twelve-grid .product-badge{
  display:none!important;
}

/* responsive */
@media(min-width:1280px) and (max-width:1535px){
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:205px!important;height:205px!important;min-height:205px!important;max-height:205px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:76px!important;min-height:76px!important;height:76px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
    font-size:10px!important;
  }
}
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:699px){
  .tf-homepage .trending-products-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:4px 7px!important;
  }
  .tf-homepage .trending-products-head h2{
    font-size:18px!important;
  }
  .tf-homepage .trending-products-head .section-copy{
    font-size:7px!important;
  }
  .tf-homepage .trending-products-head>a{
    min-height:27px!important;height:27px!important;padding:0 8px!important;font-size:6.3px!important;
  }
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-card{
    border-radius:14px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:142px!important;height:142px!important;min-height:142px!important;max-height:142px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:58px!important;min-height:58px!important;height:58px!important;padding:8px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
    min-height:25px!important;max-height:25px!important;font-size:8px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body:after{
    width:25px!important;height:3px!important;margin-top:5px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-tool,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
    flex-basis:23px!important;width:23px!important;height:23px!important;min-width:23px!important;min-height:23px!important;max-width:23px!important;max-height:23px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-tool svg,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
    width:11px!important;height:11px!important;
  }
}
@media(max-width:340px){
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:1fr!important;
  }
}


/* TradesFolks 18.4.84 — Trending Section Size Parity
   User requirement: "Popular products buyers are exploring" must occupy the same
   overall section footprint as "Featured marketplace opportunities".
   This override synchronizes shell width, section padding, header rhythm,
   desktop card media/footer heights and responsive sizing. */

/* Section shell + vertical rhythm match Featured marketplace */
.tf-homepage .trending-products{
  padding:16px 0 22px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.tf-homepage .trending-products>.shell{
  width:calc(100% - 24px)!important;
  max-width:none!important;
  margin-inline:auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Header exactly follows Featured marketplace proportions */
.tf-homepage .trending-products-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  margin:0 0 12px!important;
}
.tf-homepage .trending-products-head .eyebrow{
  margin:0 0 4px!important;
  font-size:7.5px!important;
  font-weight:900!important;
  letter-spacing:.10em!important;
  color:#075bc7!important;
}
.tf-homepage .trending-products-head h2{
  margin:0!important;
  color:#0b2343!important;
  font-size:26px!important;
  line-height:1.03!important;
  letter-spacing:-.045em!important;
}
.tf-homepage .trending-products-head .section-copy{
  margin:4px 0 0!important;
  color:#718096!important;
  font-size:8.5px!important;
  line-height:1.3!important;
}
.tf-homepage .trending-products-head>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-height:32px!important;
  height:32px!important;
  padding:0 12px!important;
  border:1px solid #d8e4f1!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#075bc7!important;
  font-size:7.4px!important;
  font-weight:850!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

/* 6 + 6 desktop matrix, same footprint as Featured section */
.tf-homepage .trending-twelve-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  align-items:stretch!important;
}

/* Match Featured card geometry */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-card{
  border-radius:18px!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
  flex:0 0 245px!important;
  height:245px!important;
  min-height:245px!important;
  max-height:245px!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
  flex:0 0 86px!important;
  min-height:86px!important;
  height:86px!important;
  padding:11px 12px 13px!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
  min-height:32px!important;
  max-height:32px!important;
  font-size:12px!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body:after{
  width:34px!important;
  height:4px!important;
  margin-top:8px!important;
}

/* Keep SVG action rail proportionally identical */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media > .tf-featured-card-tools{
  top:9px!important;
  right:9px!important;
  gap:6px!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-tool,
.tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
  flex-basis:31px!important;
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  min-height:31px!important;
  max-width:31px!important;
  max-height:31px!important;
}
.tf-homepage .trending-twelve-grid .tf-featured-tool svg,
.tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
  width:15px!important;
  height:15px!important;
}

/* 1280–1535: exact same compact geometry as Featured marketplace */
@media(min-width:1280px) and (max-width:1535px){
  .tf-homepage .trending-products>.shell{
    width:calc(100% - 24px)!important;
  }
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:205px!important;
    height:205px!important;
    min-height:205px!important;
    max-height:205px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:76px!important;
    min-height:76px!important;
    height:76px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
    font-size:10px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-tool,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
    flex-basis:28px!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    max-width:28px!important;
    max-height:28px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-tool svg,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
    width:13px!important;
    height:13px!important;
  }
}

/* Smaller laptop parity */
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .trending-products>.shell{
    width:calc(100% - 24px)!important;
  }
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:215px!important;
    height:215px!important;
    min-height:215px!important;
    max-height:215px!important;
  }
}

/* Tablet parity */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .trending-products{
    padding:16px 0 22px!important;
  }
  .tf-homepage .trending-products>.shell{
    width:calc(100% - 24px)!important;
  }
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:190px!important;
    height:190px!important;
    min-height:190px!important;
    max-height:190px!important;
  }
}

/* Mobile follows Featured section sizing and rhythm */
@media(max-width:699px){
  .tf-homepage .trending-products{
    padding:13px 0 18px!important;
  }
  .tf-homepage .trending-products>.shell{
    width:100%!important;
    max-width:none!important;
    padding:0 7px!important;
    box-sizing:border-box!important;
  }
  .tf-homepage .trending-products-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:4px 7px!important;
    margin-bottom:9px!important;
  }
  .tf-homepage .trending-products-head h2{
    font-size:18px!important;
  }
  .tf-homepage .trending-products-head .section-copy{
    font-size:7px!important;
  }
  .tf-homepage .trending-products-head>a{
    min-height:27px!important;
    height:27px!important;
    padding:0 8px!important;
    font-size:6.3px!important;
  }
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-card{
    border-radius:14px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:142px!important;
    height:142px!important;
    min-height:142px!important;
    max-height:142px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:58px!important;
    min-height:58px!important;
    height:58px!important;
    padding:8px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
    min-height:25px!important;
    max-height:25px!important;
    font-size:8px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body:after{
    width:25px!important;
    height:3px!important;
    margin-top:5px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media > .tf-featured-card-tools{
    top:5px!important;
    right:5px!important;
    gap:4px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-tool,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
    flex-basis:23px!important;
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
    max-width:23px!important;
    max-height:23px!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-tool svg,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
    width:11px!important;
    height:11px!important;
  }
}
@media(max-width:340px){
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:1fr!important;
  }
  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:225px!important;
    height:225px!important;
    min-height:225px!important;
    max-height:225px!important;
  }
}


/* TradesFolks 18.4.85 — Trending Compact Density Hotfix
   Keeps the approved 6 + 6 layout but reduces the overall section footprint. */

.tf-homepage .trending-products{
  padding:12px 0 16px!important;
}

.tf-homepage .trending-products-head{
  gap:12px!important;
  margin-bottom:9px!important;
}
.tf-homepage .trending-products-head .eyebrow{
  margin-bottom:3px!important;
  font-size:6.8px!important;
}
.tf-homepage .trending-products-head h2{
  font-size:23px!important;
  line-height:1.02!important;
}
.tf-homepage .trending-products-head .section-copy{
  margin-top:3px!important;
  font-size:7.8px!important;
}
.tf-homepage .trending-products-head>a{
  min-height:29px!important;
  height:29px!important;
  padding:0 10px!important;
  border-radius:9px!important;
  font-size:6.8px!important;
}

/* Compact 6 + 6 matrix */
.tf-homepage .trending-twelve-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
}

/* Compact card geometry */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-card{
  border-radius:15px!important;
}

.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
  flex-basis:188px!important;
  height:188px!important;
  min-height:188px!important;
  max-height:188px!important;
}

.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media > .tf-featured-opportunity-image-link{
  padding:5px!important;
}

.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
  flex-basis:64px!important;
  min-height:64px!important;
  height:64px!important;
  padding:8px 10px 9px!important;
}

.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
  min-height:26px!important;
  max-height:26px!important;
  font-size:9.4px!important;
}

.tf-homepage .trending-twelve-grid .tf-featured-opportunity-body:after{
  width:28px!important;
  height:3px!important;
  margin-top:6px!important;
}

/* Smaller action rail */
.tf-homepage .trending-twelve-grid .tf-featured-opportunity-media > .tf-featured-card-tools{
  top:7px!important;
  right:7px!important;
  gap:4px!important;
}

.tf-homepage .trending-twelve-grid .tf-featured-tool,
.tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
  flex-basis:25px!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  min-height:25px!important;
  max-width:25px!important;
  max-height:25px!important;
}

.tf-homepage .trending-twelve-grid .tf-featured-tool svg,
.tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
  width:12px!important;
  height:12px!important;
}

/* Common desktop / laptop */
@media(min-width:1280px) and (max-width:1535px){
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:176px!important;
    height:176px!important;
    min-height:176px!important;
    max-height:176px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:60px!important;
    min-height:60px!important;
    height:60px!important;
    padding:7px 8px 8px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
    min-height:24px!important;
    max-height:24px!important;
    font-size:8.6px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body:after{
    width:25px!important;
    margin-top:5px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-tool,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
    flex-basis:24px!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    max-width:24px!important;
    max-height:24px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-tool svg,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
    width:11px!important;
    height:11px!important;
  }
}

/* Smaller laptop */
@media(min-width:1024px) and (max-width:1279px){
  .tf-homepage .trending-products{
    padding:11px 0 15px!important;
  }

  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:184px!important;
    height:184px!important;
    min-height:184px!important;
    max-height:184px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:60px!important;
    min-height:60px!important;
    height:60px!important;
  }
}

/* Tablet */
@media(min-width:700px) and (max-width:1023px){
  .tf-homepage .trending-products{
    padding:11px 0 15px!important;
  }

  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:168px!important;
    height:168px!important;
    min-height:168px!important;
    max-height:168px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:58px!important;
    min-height:58px!important;
    height:58px!important;
  }
}

/* Mobile */
@media(max-width:699px){
  .tf-homepage .trending-products{
    padding:10px 0 14px!important;
  }

  .tf-homepage .trending-products-head{
    margin-bottom:7px!important;
  }

  .tf-homepage .trending-products-head h2{
    font-size:16.5px!important;
  }

  .tf-homepage .trending-products-head .section-copy{
    font-size:6.6px!important;
  }

  .tf-homepage .trending-products-head>a{
    min-height:25px!important;
    height:25px!important;
    padding:0 7px!important;
    font-size:6px!important;
  }

  .tf-homepage .trending-twelve-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-card{
    border-radius:12px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:122px!important;
    height:122px!important;
    min-height:122px!important;
    max-height:122px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body{
    flex-basis:50px!important;
    min-height:50px!important;
    height:50px!important;
    padding:6px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body h3{
    min-height:21px!important;
    max-height:21px!important;
    font-size:7.3px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-body:after{
    width:22px!important;
    height:2.5px!important;
    margin-top:4px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-tool,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > *{
    flex-basis:21px!important;
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    min-height:21px!important;
    max-width:21px!important;
    max-height:21px!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-tool svg,
  .tf-homepage .trending-twelve-grid .tf-featured-card-tools > * svg{
    width:10px!important;
    height:10px!important;
  }
}

@media(max-width:340px){
  .tf-homepage .trending-twelve-grid{
    grid-template-columns:1fr!important;
  }

  .tf-homepage .trending-twelve-grid .tf-featured-opportunity-media{
    flex-basis:190px!important;
    height:190px!important;
    min-height:190px!important;
    max-height:190px!important;
  }
}
