/* Sprint 365R — Clean Homepage V3 */
body:has(.tf-home-v3){background:#f5f7fb;overflow-x:clip}
.tf-home-v3{--gold:#f4b72f;--gold2:#e0a40f;--navy:#071b46;--ink:#0b1f3a;--muted:#6c7d90;--line:#dce4ed}
.tf-home-v3 .shell{width:min(1480px,calc(100% - 40px));margin-inline:auto;padding:0}
.tf-home-v3-hero{position:relative;width:min(1480px,calc(100% - 40px));height:500px;margin:16px auto 0;overflow:hidden;border:1px solid rgba(7,27,70,.12);border-radius:18px;background:var(--navy)}
.tf-home-v3-media,.tf-home-v3-slide,.tf-home-v3-overlay{position:absolute;inset:0}
.tf-home-v3-slide{opacity:0;background-position:center;background-size:cover;background-repeat:no-repeat;transition:opacity .35s ease}
.tf-home-v3-slide.is-active{opacity:1}
.tf-home-v3-slide-fallback{background:#17304f}
.tf-home-v3-overlay{background:rgba(4,20,48,.58)}
.tf-home-v3-inner{position:relative;z-index:2;height:100%;display:flex;align-items:center}
.tf-home-v3-copy{width:min(680px,52%);padding-left:50px}
.tf-home-v3-eyebrow{display:inline-flex;min-height:26px;align-items:center;border:1px solid rgba(244,183,47,.55);border-radius:999px;background:rgba(7,27,70,.58);padding:0 10px;color:#ffd56b;font-size:9px;font-weight:900;letter-spacing:.1em}
.tf-home-v3 h1{margin:13px 0 9px;color:#fff;font-size:clamp(42px,3.5vw,58px);line-height:1;letter-spacing:-.045em}
.tf-home-v3-mobile-title{display:none}
.tf-home-v3-copy>p{max-width:620px;margin:0 0 16px;color:#dce5ef;font-size:14px;line-height:1.5}
.tf-home-v3-search{display:grid;grid-template-columns:112px minmax(0,1fr) 108px;width:min(640px,100%);height:52px;overflow:hidden;border:1px solid #dce4ed;border-radius:12px;background:#fff}
.tf-home-v3-search select,.tf-home-v3-search input,.tf-home-v3-search button{height:52px;border:0;font:inherit}
.tf-home-v3-search select{border-right:1px solid #e5eaf0;padding:0 11px;background:#fff;color:var(--ink);font-size:11px;font-weight:800}
.tf-home-v3-search input{min-width:0;padding:0 13px;color:var(--ink);font-size:12px;outline:0}
.tf-home-v3-search button{display:flex;align-items:center;justify-content:center;background:var(--gold);color:var(--ink);font-size:12px;font-weight:900}
.tf-home-v3-search button:hover{background:var(--gold2)}
.tf-home-v3-search svg{display:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.tf-home-v3-popular{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:10px 0 12px;color:#c8d4df;font-size:9px}
.tf-home-v3-popular a{display:inline-flex;min-height:25px;align-items:center;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(7,27,70,.48);padding:0 8px;color:#fff;text-decoration:none}
.tf-home-v3-actions{display:flex;gap:7px;margin-bottom:13px}
.tf-home-v3-actions a{display:inline-flex;min-height:38px;align-items:center;justify-content:center;border-radius:9px;padding:0 14px;font-size:10px;font-weight:900;text-decoration:none}
.tf-home-v3-primary{background:var(--gold);color:var(--ink)}
.tf-home-v3-secondary{border:1px solid rgba(255,255,255,.36);background:rgba(7,27,70,.46);color:#fff}
.tf-home-v3-stats{display:grid;grid-template-columns:repeat(3,1fr);width:min(540px,100%);overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(7,27,70,.58)}
.tf-home-v3-stats div{padding:9px 11px;border-right:1px solid rgba(255,255,255,.15)}
.tf-home-v3-stats div:last-child{border-right:0}
.tf-home-v3-stats strong{display:block;color:#fff;font-size:14px}
.tf-home-v3-stats span{display:block;margin-top:3px;color:#b9c7d5;font-size:7px}
.tf-home-v3-slider-ui{position:absolute;z-index:3;right:18px;bottom:14px;display:flex;align-items:center;gap:7px}
.tf-home-v3-slider-ui>button{width:34px;height:34px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(7,27,70,.72);color:#fff;font-size:20px}
.tf-home-v3-dots{display:flex;gap:5px}
.tf-home-v3-dots button{width:7px;height:7px;border:0;border-radius:999px;background:rgba(255,255,255,.5);padding:0}
.tf-home-v3-dots button.is-active{width:22px;background:var(--gold)}
.tf-home-v3-trust{width:min(1480px,calc(100% - 40px));margin:0 auto;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;background:#fff}
.tf-home-v3-trust .shell{min-height:46px;display:flex;align-items:center;justify-content:center;gap:18px;padding:0 18px}
.tf-home-v3-trust span{white-space:nowrap;color:#496078;font-size:9px;font-weight:800}
.tf-home-v3-trust i{width:4px;height:4px;border-radius:50%;background:var(--gold)}
.tf-home-v3-industries{padding:34px 0 28px}
.tf-home-v3-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}
.tf-home-v3-section-head>div>span{display:block;margin-bottom:6px;color:#0c5bc7;font-size:9px;font-weight:900;letter-spacing:.1em}
.tf-home-v3-section-head h2{margin:0;color:var(--ink);font-size:clamp(25px,2.2vw,34px);line-height:1.08;letter-spacing:-.035em}
.tf-home-v3-section-head p{margin:6px 0 0;color:var(--muted);font-size:11px}
.tf-home-v3-section-head>a{display:inline-flex;min-height:38px;align-items:center;gap:6px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 11px;color:#0c5bc7;font-size:10px;font-weight:800;text-decoration:none}
.tf-home-v3-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.tf-home-v3-category-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none}
.tf-home-v3-category-media{height:112px;overflow:hidden;background:#eef2f6}
.tf-home-v3-category-media.no-image{background:#eef2f6}
.tf-home-v3-category-media img{width:100%;height:100%;display:block;object-fit:cover}
.tf-home-v3-category-body{min-height:58px;padding:8px 9px}
.tf-home-v3-category-body span{display:block;margin-bottom:3px;color:#d49a00;font-size:7px;font-weight:900}
.tf-home-v3-category-body strong{display:block;color:var(--ink);font-size:10px;line-height:1.25}
.tf-home-v3-subcategories{display:flex;align-items:center;gap:10px;margin-top:12px;overflow:hidden}
.tf-home-v3-subcategories>strong{flex:0 0 auto;color:var(--ink);font-size:9px}
.tf-home-v3-subcategories>div{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.tf-home-v3-subcategories>div::-webkit-scrollbar{display:none}
.tf-home-v3-subcategories a{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#fff;padding:5px 8px;color:#496078;font-size:8px;text-decoration:none}

@media(max-width:1100px){
 .tf-home-v3 .shell,.tf-home-v3-hero,.tf-home-v3-trust{width:calc(100% - 24px)}
 .tf-home-v3-hero{height:440px}
 .tf-home-v3-copy{width:min(620px,62%);padding-left:30px}
 .tf-home-v3 h1{font-size:clamp(36px,4.6vw,48px)}
 .tf-home-v3-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px){
 body:has(.tf-home-v3){padding-bottom:calc(70px + env(safe-area-inset-bottom))}
 .tf-home-v3 .shell{width:calc(100% - 20px)}
 .tf-home-v3-hero{width:calc(100% - 16px);height:auto;min-height:320px;margin-top:8px;border-radius:14px}
 .tf-home-v3-slide{background-position:62% center}
 .tf-home-v3-overlay{background:rgba(4,20,48,.66)}
 .tf-home-v3-inner{height:auto;min-height:320px;align-items:flex-start}
 .tf-home-v3-copy{width:100%;padding:18px 14px 46px}
 .tf-home-v3-eyebrow{min-height:22px;padding:0 7px;font-size:7px}
 .tf-home-v3 h1{margin:9px 0 7px;font-size:27px}
 .tf-home-v3-desktop-title{display:none}
 .tf-home-v3-mobile-title{display:block;max-width:12ch}
 .tf-home-v3-copy>p{max-width:34ch;margin-bottom:10px;font-size:11px;line-height:1.42}
 .tf-home-v3-search{display:none}
 .tf-home-v3-popular{flex-wrap:nowrap;overflow-x:auto;margin:0 0 10px;scrollbar-width:none}
 .tf-home-v3-popular::-webkit-scrollbar{display:none}
 .tf-home-v3-popular>*{flex:0 0 auto}
 .tf-home-v3-popular span,.tf-home-v3-popular a{font-size:7px}
 .tf-home-v3-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:10px}
 .tf-home-v3-actions a{min-width:0;min-height:36px;padding:0 7px;font-size:9px}
 .tf-home-v3-stats{width:100%}
 .tf-home-v3-stats div{padding:8px 7px}
 .tf-home-v3-stats strong{font-size:12px}
 .tf-home-v3-stats span{font-size:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .tf-home-v3-slider-ui{right:12px;bottom:10px}
 .tf-home-v3-slider-ui>button{display:none}
 .tf-home-v3-trust{width:100%;border-inline:0;border-radius:0}
 .tf-home-v3-trust .shell{width:100%;min-height:38px;justify-content:flex-start;gap:11px;overflow-x:auto;padding:0 12px;scrollbar-width:none}
 .tf-home-v3-trust .shell::-webkit-scrollbar{display:none}
 .tf-home-v3-trust span,.tf-home-v3-trust i{flex:0 0 auto}
 .tf-home-v3-trust span{font-size:7px}
 .tf-home-v3-industries{padding:19px 0 18px}
 .tf-home-v3-section-head{display:block;margin-bottom:10px}
 .tf-home-v3-section-head h2{font-size:21px}
 .tf-home-v3-section-head p{font-size:10px}
 .tf-home-v3-section-head>a{width:100%;justify-content:center;margin-top:9px}
 .tf-home-v3-category-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100vw - 42px)/3);grid-template-columns:none;grid-template-rows:repeat(2,1fr);gap:7px;margin-right:-10px;padding:0 10px 5px 0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none}
 .tf-home-v3-category-grid::-webkit-scrollbar{display:none}
 .tf-home-v3-category-card{scroll-snap-align:start}
 .tf-home-v3-category-media{height:78px}
 .tf-home-v3-category-body{min-height:48px;padding:7px}
 .tf-home-v3-category-body span{font-size:6px}
 .tf-home-v3-category-body strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:8px;line-height:1.2}
 .tf-home-v3-subcategories{align-items:flex-start;flex-direction:column;gap:6px}
 .tf-home-v3-subcategories>div{width:100%}
}
@media(max-width:390px){
 .tf-home-v3-hero,.tf-home-v3-inner{min-height:308px}
 .tf-home-v3-copy{padding:16px 12px 42px}
 .tf-home-v3 h1{font-size:25px}
 .tf-home-v3-category-grid{grid-auto-columns:calc((100vw - 36px)/3)}
}
@media(max-width:340px){
 .tf-home-v3-actions{grid-template-columns:1fr}
 .tf-home-v3-stats span{display:none}
 .tf-home-v3-category-grid{grid-auto-columns:calc((100vw - 32px)/3)}
}
@media(min-width:1600px){
 .tf-home-v3-hero{height:520px}
 .tf-home-v3-copy{padding-left:58px}
}
@media(prefers-reduced-motion:reduce){.tf-home-v3-slide{transition:none}}


/* ==========================================================
   V3 MASTER — remaining marketplace discovery sections
   ========================================================== */
body:has(.tf-home-v3){--v3-gold:#f4b72f;--v3-navy:#071b46;--v3-ink:#0b1f3a;--v3-muted:#6c7d90;--v3-line:#dce4ed;--v3-soft:#f5f7fb}
body:has(.tf-home-v3) main>section:not(.tf-home-v3){max-width:100%}
body:has(.tf-home-v3) :where(.country-network-premium,.curated-b2b-market,.easy-sourcing-section,.home-category-showcases,.festival-marketplace,.marketplace-products,.section-soft,.new-arrivals,.rfq-market-board,.trade-services,.industry-collections,.marketplace-insights,.home-reels,.home-content-hub){padding:28px 0}
body:has(.tf-home-v3) :where(.country-network-premium,.easy-sourcing-section,.festival-marketplace,.section-soft){background:var(--v3-soft)}
body:has(.tf-home-v3) :where(.curated-b2b-market,.marketplace-products,.new-arrivals,.industry-collections,.marketplace-insights,.home-content-hub){background:#fff}

/* canonical shell after V3 */
body:has(.tf-home-v3) :where(.country-network-premium,.curated-b2b-market,.easy-sourcing-section,.home-category-showcases,.festival-marketplace,.marketplace-products,.section-soft,.new-arrivals,.rfq-market-board,.trade-services,.industry-collections,.marketplace-insights,.home-reels,.home-content-hub)>.shell{
  width:min(1480px,calc(100% - 40px));margin-inline:auto;padding:0
}

/* headings */
body:has(.tf-home-v3) :where(.country-network-head,.festival-heading,.section-head.premium-head){
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 16px
}
body:has(.tf-home-v3) :where(.country-network-head,.festival-heading,.section-head.premium-head) :where(.eyebrow,.eyebrow.dark){
  display:block;margin:0 0 6px;color:#0c5bc7;font-size:9px;font-weight:900;letter-spacing:.1em
}
body:has(.tf-home-v3) :where(.country-network-head h2,.festival-heading h2,.section-head.premium-head h2){
  margin:0;color:var(--v3-ink);font-size:clamp(23px,2vw,32px);line-height:1.1;letter-spacing:-.03em
}
body:has(.tf-home-v3) :where(.country-network-head p,.festival-heading p,.section-head.premium-head .section-copy){
  max-width:700px;margin:6px 0 0;color:var(--v3-muted);font-size:11px;line-height:1.5
}
body:has(.tf-home-v3) :where(.country-network-head>a,.section-head.premium-head>a){
  flex:0 0 auto;display:inline-flex;min-height:38px;align-items:center;gap:6px;border:1px solid var(--v3-line);border-radius:9px;background:#fff;padding:0 11px;color:#0c5bc7;font-size:10px;font-weight:800;text-decoration:none
}

/* country */
body:has(.tf-home-v3) .country-market-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body:has(.tf-home-v3) .country-market-card{display:block;min-width:0;overflow:hidden;border:1px solid var(--v3-line);border-radius:12px;background:#fff;color:var(--v3-ink);text-decoration:none}
body:has(.tf-home-v3) .country-market-visual{min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:11px;background:#f1f4f8}
body:has(.tf-home-v3) .country-flag{font-size:28px}
body:has(.tf-home-v3) .country-market-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--v3-gold);color:var(--v3-ink);font-size:9px;font-weight:900}
body:has(.tf-home-v3) .country-market-tags{display:none}
body:has(.tf-home-v3) .country-market-body{padding:9px 10px 10px}
body:has(.tf-home-v3) .country-market-body>span{display:block;color:#7a8998;font-size:8px}
body:has(.tf-home-v3) .country-market-body>strong{display:block;margin-top:2px;color:var(--v3-ink);font-size:12px}
body:has(.tf-home-v3) .country-market-body>small{display:flex;justify-content:space-between;gap:6px;margin-top:7px;color:#607487;font-size:8px}

/* curated sourcing groups */
body:has(.tf-home-v3) .curated-b2b-market>.shell{width:min(1480px,calc(100% - 40px));margin:auto}
body:has(.tf-home-v3) .curated-b2b-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body:has(.tf-home-v3) .curated-b2b-card{min-width:0;border:1px solid var(--v3-line);border-radius:12px;background:#fff;overflow:hidden}

/* RFQ */
body:has(.tf-home-v3) .easy-sourcing-section>.shell{display:grid;grid-template-columns:minmax(0,.8fr) minmax(480px,1.2fr);gap:24px;align-items:center;border:1px solid var(--v3-line);border-radius:16px;background:#fff;padding:24px}
body:has(.tf-home-v3) .easy-sourcing-section :where(input,select,textarea){max-width:100%;min-height:44px;border:1px solid var(--v3-line);border-radius:9px;background:#fff}
body:has(.tf-home-v3) .easy-sourcing-section textarea{min-height:90px}
body:has(.tf-home-v3) .easy-sourcing-section button{min-height:44px;border:0;border-radius:9px;background:var(--v3-gold);color:var(--v3-ink);font-weight:900}

/* category showcases */
body:has(.tf-home-v3) .home-category-showcase{padding:20px 0;border-top:1px solid #e6ebf0}
body:has(.tf-home-v3) .home-category-showcase:first-child{border-top:0}

/* festival */
body:has(.tf-home-v3) .festival-controls{display:flex;gap:6px}
body:has(.tf-home-v3) .festival-controls button{width:38px;height:38px;border:1px solid var(--v3-line);border-radius:9px;background:#fff;color:var(--v3-ink)}
body:has(.tf-home-v3) .festival-stage{position:relative;min-height:270px;overflow:hidden;border:1px solid var(--v3-line);border-radius:15px;background:var(--v3-navy)}
body:has(.tf-home-v3) .festival-slide{position:absolute;inset:0;display:none;align-items:center;background-color:var(--v3-navy);background-image:var(--festival-bg);background-size:cover;background-position:center}
body:has(.tf-home-v3) .festival-slide.is-active{display:flex}
body:has(.tf-home-v3) .festival-slide::before{content:"";position:absolute;inset:0;background:rgba(7,27,70,.68)}
body:has(.tf-home-v3) .festival-copy{position:relative;z-index:1;width:min(620px,65%);padding:30px}
body:has(.tf-home-v3) .festival-copy>span{display:inline-flex;min-height:24px;align-items:center;border-radius:999px;background:var(--v3-gold);padding:0 8px;color:var(--v3-ink);font-size:8px;font-weight:900}
body:has(.tf-home-v3) .festival-copy h3{margin:10px 0 7px;color:#fff;font-size:clamp(24px,2.4vw,36px)}
body:has(.tf-home-v3) .festival-copy p{color:#d9e3ed;font-size:11px}
body:has(.tf-home-v3) .festival-copy a{display:inline-flex;min-height:38px;align-items:center;margin-top:8px;border-radius:9px;background:#fff;padding:0 11px;color:var(--v3-ink);font-size:10px;font-weight:900;text-decoration:none}
body:has(.tf-home-v3) .festival-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:8px}
body:has(.tf-home-v3) .festival-tabs button{min-width:0;min-height:52px;border:1px solid var(--v3-line);border-radius:9px;background:#fff;padding:8px 10px;text-align:left}
body:has(.tf-home-v3) .festival-tabs button.is-active{border-color:var(--v3-gold);background:#fff8e5}

/* product sections */
body:has(.tf-home-v3) :where(.featured-twelve-grid,.trending-twelve-grid,.new-arrivals-twelve-grid){display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
body:has(.tf-home-v3) :where(.featured-twelve-grid,.trending-twelve-grid,.new-arrivals-twelve-grid)>.product-card{min-width:0;border:1px solid var(--v3-line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:none}
body:has(.tf-home-v3) :where(.featured-twelve-grid,.trending-twelve-grid,.new-arrivals-twelve-grid)>.product-card img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#eef2f6}

/* business network desktop hidden, preserved mobile */
@media(min-width:768px){body:has(.tf-home-v3) .business-network-section{display:none}}

/* mobile */
@media(max-width:900px){
 body:has(.tf-home-v3) .country-market-rail{grid-template-columns:repeat(3,minmax(0,1fr))}
 body:has(.tf-home-v3) .curated-b2b-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:has(.tf-home-v3) .easy-sourcing-section>.shell{grid-template-columns:1fr}
 body:has(.tf-home-v3) :where(.featured-twelve-grid,.trending-twelve-grid,.new-arrivals-twelve-grid){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
 body:has(.tf-home-v3) :where(.country-network-premium,.curated-b2b-market,.easy-sourcing-section,.home-category-showcases,.festival-marketplace,.marketplace-products,.section-soft,.new-arrivals,.rfq-market-board,.trade-services,.industry-collections,.marketplace-insights,.home-reels,.home-content-hub){padding:18px 0}
 body:has(.tf-home-v3) :where(.country-network-premium,.curated-b2b-market,.easy-sourcing-section,.home-category-showcases,.festival-marketplace,.marketplace-products,.section-soft,.new-arrivals,.rfq-market-board,.trade-services,.industry-collections,.marketplace-insights,.home-reels,.home-content-hub)>.shell{width:calc(100% - 20px)}
 body:has(.tf-home-v3) :where(.country-network-head,.festival-heading,.section-head.premium-head){display:block;margin-bottom:10px}
 body:has(.tf-home-v3) :where(.country-network-head h2,.festival-heading h2,.section-head.premium-head h2){font-size:21px}
 body:has(.tf-home-v3) :where(.country-network-head>a,.section-head.premium-head>a){width:100%;justify-content:center;margin-top:9px}
 body:has(.tf-home-v3) .country-market-rail{display:grid;grid-auto-flow:column;grid-auto-columns:min(70vw,230px);grid-template-columns:none;overflow-x:auto;gap:8px;padding-bottom:5px;scroll-snap-type:x proximity;scrollbar-width:none}
 body:has(.tf-home-v3) .country-market-rail::-webkit-scrollbar{display:none}
 body:has(.tf-home-v3) .country-market-card{scroll-snap-align:start}
 body:has(.tf-home-v3) .curated-b2b-grid{display:grid;grid-auto-flow:column;grid-auto-columns:min(78vw,280px);grid-template-columns:none;overflow-x:auto;gap:8px;scroll-snap-type:x proximity;scrollbar-width:none}
 body:has(.tf-home-v3) .curated-b2b-grid::-webkit-scrollbar{display:none}
 body:has(.tf-home-v3) .easy-sourcing-section>.shell{display:block;padding:13px;border-radius:13px}
 body:has(.tf-home-v3) .festival-controls{display:none}
 body:has(.tf-home-v3) .festival-stage{min-height:225px;border-radius:13px}
 body:has(.tf-home-v3) .festival-copy{width:100%;padding:18px 15px 40px}
 body:has(.tf-home-v3) .festival-copy h3{font-size:23px}
 body:has(.tf-home-v3) .festival-tabs{display:flex;overflow-x:auto;gap:6px;scrollbar-width:none}
 body:has(.tf-home-v3) .festival-tabs::-webkit-scrollbar{display:none}
 body:has(.tf-home-v3) .festival-tabs button{flex:0 0 min(58vw,190px)}
 body:has(.tf-home-v3) :where(.featured-twelve-grid,.trending-twelve-grid,.new-arrivals-twelve-grid){display:grid;grid-auto-flow:column;grid-auto-columns:min(68vw,225px);grid-template-columns:none;overflow-x:auto;gap:8px;padding-bottom:6px;scroll-snap-type:x proximity;scrollbar-width:none}
 body:has(.tf-home-v3) :where(.featured-twelve-grid,.trending-twelve-grid,.new-arrivals-twelve-grid)::-webkit-scrollbar{display:none}
 body:has(.tf-home-v3) .market-floating-actions{display:none}
 body:has(.tf-home-v3){padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){
 body:has(.tf-home-v3) .country-market-rail{grid-auto-columns:76vw}
 body:has(.tf-home-v3) .curated-b2b-grid{grid-auto-columns:82vw}
 body:has(.tf-home-v3) :where(.featured-twelve-grid,.trending-twelve-grid,.new-arrivals-twelve-grid){grid-auto-columns:72vw}
}


/* ==========================================================
   Sprint 366C.2 — Curated Business + RFQ canonical repair
   This remains inside the ONE canonical homepage stylesheet.
   ========================================================== */

/* Curated business: 2x2 enterprise modules on desktop */
body:has(.tf-home-v3) .curated-b2b-market>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0
}
body:has(.tf-home-v3) .curated-b2b-heading{
  margin:0 0 16px
}
body:has(.tf-home-v3) .curated-b2b-heading .eyebrow{
  display:block;
  margin:0 0 6px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em
}
body:has(.tf-home-v3) .curated-b2b-heading h2{
  margin:0;
  color:var(--v3-ink);
  font-size:clamp(23px,2vw,32px);
  line-height:1.1;
  letter-spacing:-.03em
}
body:has(.tf-home-v3) .curated-b2b-rail{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  width:100%;
  overflow:visible
}
body:has(.tf-home-v3) .curated-b2b-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--v3-line);
  border-radius:14px;
  background:#fff;
  padding:14px;
  box-shadow:none
}
body:has(.tf-home-v3) .curated-b2b-card>h3{
  margin:0 0 11px;
  color:var(--v3-ink);
  font-size:14px;
  line-height:1.25
}
body:has(.tf-home-v3) .curated-b2b-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px
}
body:has(.tf-home-v3) .curated-b2b-item{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:10px;
  align-items:center;
  min-width:0;
  min-height:82px;
  padding:7px;
  border:1px solid #e7ecf1;
  border-radius:10px;
  background:#fbfcfe;
  color:var(--v3-ink);
  text-decoration:none
}
body:has(.tf-home-v3) .curated-b2b-item:hover{
  border-color:#d1dae4;
  background:#fff
}
body:has(.tf-home-v3) .curated-b2b-image{
  grid-row:1/3;
  position:relative;
  display:block;
  width:72px;
  height:68px;
  overflow:hidden;
  border-radius:8px;
  background:#eef2f6
}
body:has(.tf-home-v3) .curated-b2b-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
body:has(.tf-home-v3) .curated-b2b-image.is-missing::after{
  content:"TF";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#9aa8b7;
  font-size:12px;
  font-weight:900
}
body:has(.tf-home-v3) .curated-b2b-placeholder{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:#9aa8b7;
  font-size:12px;
  font-weight:900
}
body:has(.tf-home-v3) .curated-b2b-item>strong{
  align-self:end;
  min-width:0;
  margin:0;
  color:var(--v3-ink);
  font-size:10px;
  line-height:1.25;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2
}
body:has(.tf-home-v3) .curated-b2b-item>small{
  align-self:start;
  margin-top:3px;
  color:#607487;
  font-size:8px;
  line-height:1.2
}
body:has(.tf-home-v3) .curated-b2b-cta{
  display:inline-flex;
  min-height:34px;
  align-items:center;
  gap:5px;
  margin-top:10px;
  border-radius:8px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:800;
  text-decoration:none
}

/* RFQ: enterprise conversion panel */
body:has(.tf-home-v3) .easy-sourcing-section>.shell.easy-sourcing-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:0;
  align-items:stretch;
  overflow:hidden;
  border:1px solid var(--v3-line);
  border-radius:16px;
  background:#fff;
  padding:0
}
body:has(.tf-home-v3) .easy-sourcing-visual{
  position:relative;
  min-width:0;
  min-height:420px;
  overflow:hidden;
  background:#17304f
}
body:has(.tf-home-v3) .easy-sourcing-visual::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(7,27,70,.18)
}
body:has(.tf-home-v3) .easy-sourcing-copy{
  position:relative;
  z-index:2;
  width:min(520px,82%);
  padding:42px 40px
}
body:has(.tf-home-v3) .easy-sourcing-copy .eyebrow{
  display:block;
  margin:0 0 12px;
  color:#ffd05c;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em
}
body:has(.tf-home-v3) .easy-sourcing-copy h2{
  margin:0;
  color:#fff;
  font-size:clamp(28px,2.4vw,40px);
  line-height:1.04;
  letter-spacing:-.04em
}
body:has(.tf-home-v3) .easy-sourcing-copy p{
  max-width:480px;
  margin:12px 0 14px;
  color:#dbe5ef;
  font-size:12px;
  line-height:1.55
}
body:has(.tf-home-v3) .easy-sourcing-copy ul{
  display:grid;
  gap:8px;
  margin:0 0 18px;
  padding:0;
  list-style:none
}
body:has(.tf-home-v3) .easy-sourcing-copy li{
  position:relative;
  padding-left:25px;
  color:#e8eef5;
  font-size:11px
}
body:has(.tf-home-v3) .easy-sourcing-copy li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:-1px;
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#fff1b8;
  color:#875f00;
  font-size:9px;
  font-weight:900
}
body:has(.tf-home-v3) .easy-sourcing-copy>a{
  display:inline-flex;
  min-height:36px;
  align-items:center;
  gap:7px;
  color:#ffd05c;
  font-size:10px;
  font-weight:900;
  text-decoration:none
}
body:has(.tf-home-v3) .easy-sourcing-art{
  position:absolute;
  inset:auto 4% 0 auto;
  width:48%;
  height:82%;
  opacity:.86
}
body:has(.tf-home-v3) .easy-sourcing-form-card{
  min-width:0;
  padding:38px 42px;
  background:#fff
}
body:has(.tf-home-v3) .easy-sourcing-form-card>.eyebrow{
  display:block;
  margin:0 0 12px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em
}
body:has(.tf-home-v3) .easy-sourcing-form-card>h2{
  margin:0;
  color:var(--v3-ink);
  font-size:clamp(26px,2vw,34px);
  line-height:1.08;
  letter-spacing:-.03em
}
body:has(.tf-home-v3) .easy-sourcing-form-card>p{
  margin:10px 0 16px;
  color:var(--v3-muted);
  font-size:11px;
  line-height:1.5
}
body:has(.tf-home-v3) .easy-rfq-form{
  display:grid;
  gap:12px
}
body:has(.tf-home-v3) .easy-rfq-form label{
  display:grid;
  gap:5px;
  min-width:0
}
body:has(.tf-home-v3) .easy-rfq-form label>span{
  color:#52677d;
  font-size:8px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase
}
body:has(.tf-home-v3) .easy-rfq-form :where(input,select,textarea){
  width:100%;
  min-width:0;
  border:1px solid #d6dfe8;
  border-radius:9px;
  background:#fff;
  padding-inline:12px;
  color:var(--v3-ink);
  font-size:11px;
  outline:none
}
body:has(.tf-home-v3) .easy-rfq-form input,
body:has(.tf-home-v3) .easy-rfq-form select{
  height:44px
}
body:has(.tf-home-v3) .easy-rfq-form textarea{
  min-height:86px;
  padding-block:10px;
  resize:vertical
}
body:has(.tf-home-v3) .easy-rfq-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
body:has(.tf-home-v3) .easy-rfq-form>button{
  width:max-content;
  min-width:190px;
  min-height:44px;
  border:0;
  border-radius:9px;
  background:var(--v3-gold);
  padding:0 16px;
  color:var(--v3-ink);
  font-size:11px;
  font-weight:900
}

/* Tablet */
@media(max-width:1050px){
  body:has(.tf-home-v3) .curated-b2b-rail{
    grid-template-columns:1fr
  }
  body:has(.tf-home-v3) .easy-sourcing-section>.shell.easy-sourcing-grid{
    grid-template-columns:1fr 1fr
  }
  body:has(.tf-home-v3) .easy-sourcing-copy{
    width:100%;
    padding:32px 26px
  }
  body:has(.tf-home-v3) .easy-sourcing-form-card{
    padding:30px 26px
  }
}

/* Mobile */
@media(max-width:767px){
  body:has(.tf-home-v3) .curated-b2b-market>.shell{
    width:calc(100% - 20px)
  }
  body:has(.tf-home-v3) .curated-b2b-heading{
    margin-bottom:10px
  }
  body:has(.tf-home-v3) .curated-b2b-heading h2{
    font-size:21px
  }
  body:has(.tf-home-v3) .curated-b2b-rail{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:min(88vw,330px);
    grid-template-columns:none;
    gap:8px;
    margin-right:-10px;
    padding:0 10px 5px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none
  }
  body:has(.tf-home-v3) .curated-b2b-rail::-webkit-scrollbar{
    display:none
  }
  body:has(.tf-home-v3) .curated-b2b-card{
    scroll-snap-align:start;
    padding:11px;
    border-radius:12px
  }
  body:has(.tf-home-v3) .curated-b2b-card>h3{
    margin-bottom:9px;
    font-size:12px
  }
  body:has(.tf-home-v3) .curated-b2b-grid{
    grid-template-columns:1fr 1fr;
    gap:7px
  }
  body:has(.tf-home-v3) .curated-b2b-item{
    display:block;
    min-height:0;
    padding:6px
  }
  body:has(.tf-home-v3) .curated-b2b-image{
    width:100%;
    height:auto;
    aspect-ratio:1.35/1;
    margin-bottom:6px
  }
  body:has(.tf-home-v3) .curated-b2b-item>strong{
    min-height:24px;
    font-size:9px
  }
  body:has(.tf-home-v3) .curated-b2b-item>small{
    display:block;
    margin-top:3px;
    font-size:7px
  }

  body:has(.tf-home-v3) .easy-sourcing-section{
    padding-bottom:24px
  }
  body:has(.tf-home-v3) .easy-sourcing-section>.shell.easy-sourcing-grid{
    width:calc(100% - 20px);
    display:block;
    overflow:hidden;
    border-radius:13px
  }
  body:has(.tf-home-v3) .easy-sourcing-visual{
    min-height:0;
    padding:0;
    background:#17304f
  }
  body:has(.tf-home-v3) .easy-sourcing-copy{
    width:100%;
    padding:18px 14px 16px
  }
  body:has(.tf-home-v3) .easy-sourcing-copy .eyebrow{
    margin-bottom:7px;
    font-size:7px
  }
  body:has(.tf-home-v3) .easy-sourcing-copy h2{
    max-width:15ch;
    font-size:22px;
    line-height:1.04
  }
  body:has(.tf-home-v3) .easy-sourcing-copy p{
    margin:8px 0 0;
    font-size:9px;
    line-height:1.45
  }
  body:has(.tf-home-v3) .easy-sourcing-copy ul,
  body:has(.tf-home-v3) .easy-sourcing-copy>a,
  body:has(.tf-home-v3) .easy-sourcing-art{
    display:none
  }
  body:has(.tf-home-v3) .easy-sourcing-form-card{
    padding:16px 14px 18px
  }
  body:has(.tf-home-v3) .easy-sourcing-form-card>.eyebrow{
    margin-bottom:7px;
    font-size:7px
  }
  body:has(.tf-home-v3) .easy-sourcing-form-card>h2{
    font-size:21px
  }
  body:has(.tf-home-v3) .easy-sourcing-form-card>p{
    margin:7px 0 12px;
    font-size:9px
  }
  body:has(.tf-home-v3) .easy-rfq-form{
    gap:9px
  }
  body:has(.tf-home-v3) .easy-rfq-form :where(input,select){
    height:42px
  }
  body:has(.tf-home-v3) .easy-rfq-form textarea{
    min-height:76px
  }
  body:has(.tf-home-v3) .easy-rfq-row{
    grid-template-columns:1fr 1fr;
    gap:7px
  }
  body:has(.tf-home-v3) .easy-rfq-form>button{
    width:100%;
    min-width:0;
    min-height:44px
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .curated-b2b-rail{
    grid-auto-columns:92vw
  }
  body:has(.tf-home-v3) .easy-rfq-row{
    grid-template-columns:1fr
  }
}


/* ==========================================================
   Sprint 366C.3 — Curated rail + Browse-by-Category repair
   Canonical rules only; no extra stylesheet layer.
   ========================================================== */

/* ---------- Curated for Business ---------- */
body:has(.tf-home-v3) .curated-b2b-market{
  overflow:hidden;
}
body:has(.tf-home-v3) .curated-b2b-rail{
  align-items:stretch;
}
body:has(.tf-home-v3) .curated-b2b-card{
  display:flex;
  flex-direction:column;
  min-width:0;
}
body:has(.tf-home-v3) .curated-b2b-grid{
  flex:1 1 auto;
  min-width:0;
}
body:has(.tf-home-v3) .curated-b2b-item{
  overflow:hidden;
}
body:has(.tf-home-v3) .curated-b2b-image{
  flex:0 0 auto;
}
body:has(.tf-home-v3) .curated-b2b-item>strong,
body:has(.tf-home-v3) .curated-b2b-item>small{
  min-width:0;
}

/* ---------- Browse by Category ---------- */
body:has(.tf-home-v3) .home-category-showcases{
  background:#fff;
  padding:26px 0 30px;
}
body:has(.tf-home-v3) .home-category-showcases>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .home-category-showcase-list{
  display:grid;
  gap:14px;
}
body:has(.tf-home-v3) .home-category-showcase{
  overflow:hidden;
  border:1px solid var(--v3-line);
  border-radius:15px;
  background:#fff;
  padding:18px;
}
body:has(.tf-home-v3) .home-category-showcase-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}
body:has(.tf-home-v3) .home-category-showcase-head>div{
  min-width:0;
}
body:has(.tf-home-v3) .home-category-browse-pill{
  display:inline-flex;
  min-height:24px;
  align-items:center;
  gap:6px;
  margin-bottom:7px;
  border-radius:999px;
  background:#fff7df;
  padding:0 8px;
  color:#8a6400;
  font-size:8px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body:has(.tf-home-v3) .home-category-browse-pill i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--v3-gold);
}
body:has(.tf-home-v3) .home-category-showcase-head h3{
  margin:0;
  color:var(--v3-ink);
  font-size:clamp(21px,1.8vw,28px);
  line-height:1.08;
  letter-spacing:-.025em;
}
body:has(.tf-home-v3) .home-category-showcase-head p{
  max-width:680px;
  margin:6px 0 0;
  color:var(--v3-muted);
  font-size:10px;
  line-height:1.5;
}
body:has(.tf-home-v3) .home-category-showcase-head>a{
  flex:0 0 auto;
  display:inline-flex;
  min-height:36px;
  align-items:center;
  gap:5px;
  border:1px solid var(--v3-line);
  border-radius:9px;
  background:#fff;
  padding:0 10px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .home-category-showcase-grid{
  display:grid;
  grid-template-columns:minmax(250px,.8fr) minmax(0,2.2fr);
  gap:10px;
  min-width:0;
}
body:has(.tf-home-v3) .home-category-source-card{
  position:relative;
  display:flex;
  min-height:240px;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  border-radius:13px;
  background:#102a4d;
  padding:18px;
  color:#fff;
  text-decoration:none;
}
body:has(.tf-home-v3) .home-category-source-label{
  position:absolute;
  top:16px;
  left:16px;
  display:inline-flex;
  min-height:23px;
  align-items:center;
  border-radius:999px;
  background:var(--v3-gold);
  padding:0 8px;
  color:var(--v3-ink);
  font-size:7px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body:has(.tf-home-v3) .home-category-source-emblem{
  position:absolute;
  top:16px;
  right:16px;
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:10px;
  font-weight:900;
}
body:has(.tf-home-v3) .home-category-source-card>strong{
  display:block;
  max-width:16ch;
  margin:0 0 8px;
  color:#fff;
  font-size:21px;
  line-height:1.08;
}
body:has(.tf-home-v3) .home-category-source-card>p{
  max-width:36ch;
  margin:0 0 10px;
  color:#d8e2ed;
  font-size:9px;
  line-height:1.5;
}
body:has(.tf-home-v3) .home-category-source-card>ul{
  display:grid;
  gap:5px;
  margin:0;
  padding:0;
  list-style:none;
}
body:has(.tf-home-v3) .home-category-source-card>ul li{
  position:relative;
  padding-left:15px;
  color:#e5edf5;
  font-size:8px;
}
body:has(.tf-home-v3) .home-category-source-card>ul li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#ffd261;
  font-weight:900;
}
body:has(.tf-home-v3) .home-category-subgrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
body:has(.tf-home-v3) .home-category-subcard{
  position:relative;
  display:block;
  min-width:0;
  overflow:hidden;
  border:1px solid #e4eaf0;
  border-radius:12px;
  background:#fbfcfe;
  color:var(--v3-ink);
  text-decoration:none;
}
body:has(.tf-home-v3) .home-category-subcard-media{
  display:block;
  width:100%;
  height:108px;
  overflow:hidden;
  background:#eef2f6;
}
body:has(.tf-home-v3) .home-category-subcard-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
body:has(.tf-home-v3) .home-category-subcard-body{
  display:block;
  min-height:72px;
  padding:9px 10px;
}
body:has(.tf-home-v3) .home-category-subcard-body>span{
  display:block;
  margin-bottom:3px;
  color:#d49a00;
  font-size:7px;
  font-weight:900;
}
body:has(.tf-home-v3) .home-category-subcard-body>strong{
  display:block;
  color:var(--v3-ink);
  font-size:10px;
  line-height:1.25;
}
body:has(.tf-home-v3) .home-category-subcard-body>small{
  display:block;
  margin-top:4px;
  color:#6f8091;
  font-size:7px;
}

/* Tablet */
@media(max-width:1050px){
  body:has(.tf-home-v3) .home-category-showcase-grid{
    grid-template-columns:minmax(220px,.9fr) minmax(0,2.1fr);
  }
  body:has(.tf-home-v3) .home-category-subgrid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Mobile */
@media(max-width:767px){
  body:has(.tf-home-v3) .curated-b2b-market{
    overflow:hidden;
  }
  body:has(.tf-home-v3) .curated-b2b-rail{
    grid-auto-columns:calc(100vw - 38px);
    width:auto;
    max-width:none;
    margin-right:-10px;
    padding-right:10px;
  }
  body:has(.tf-home-v3) .curated-b2b-card{
    width:auto;
    min-width:0;
    max-width:none;
  }
  body:has(.tf-home-v3) .curated-b2b-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body:has(.tf-home-v3) .curated-b2b-item{
    width:auto;
    min-width:0;
  }
  body:has(.tf-home-v3) .curated-b2b-image{
    width:100%;
    height:96px;
    aspect-ratio:auto;
  }
  body:has(.tf-home-v3) .curated-b2b-item>strong{
    font-size:9px;
  }

  body:has(.tf-home-v3) .home-category-showcases{
    padding:18px 0;
  }
  body:has(.tf-home-v3) .home-category-showcases>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .home-category-showcase{
    padding:12px;
    border-radius:13px;
  }
  body:has(.tf-home-v3) .home-category-showcase-head{
    display:block;
    margin-bottom:10px;
  }
  body:has(.tf-home-v3) .home-category-showcase-head h3{
    font-size:20px;
  }
  body:has(.tf-home-v3) .home-category-showcase-head p{
    font-size:9px;
  }
  body:has(.tf-home-v3) .home-category-showcase-head>a{
    width:100%;
    justify-content:center;
    margin-top:9px;
  }
  body:has(.tf-home-v3) .home-category-showcase-grid{
    display:block;
  }
  body:has(.tf-home-v3) .home-category-source-card{
    min-height:180px;
    margin-bottom:9px;
    padding:14px;
  }
  body:has(.tf-home-v3) .home-category-source-card>strong{
    font-size:19px;
  }
  body:has(.tf-home-v3) .home-category-source-card>p{
    font-size:8px;
  }
  body:has(.tf-home-v3) .home-category-source-card>ul{
    grid-template-columns:1fr 1fr;
    gap:4px 8px;
  }
  body:has(.tf-home-v3) .home-category-source-card>ul li{
    font-size:7px;
  }
  body:has(.tf-home-v3) .home-category-subgrid{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:min(64vw,220px);
    grid-template-columns:none;
    grid-template-rows:repeat(2,1fr);
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:5px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .home-category-subgrid::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .home-category-subcard{
    scroll-snap-align:start;
  }
  body:has(.tf-home-v3) .home-category-subcard-media{
    height:86px;
  }
  body:has(.tf-home-v3) .home-category-subcard-body{
    min-height:58px;
    padding:7px 8px;
  }
  body:has(.tf-home-v3) .home-category-subcard-body>strong{
    font-size:9px;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .curated-b2b-rail{
    grid-auto-columns:calc(100vw - 28px);
  }
  body:has(.tf-home-v3) .curated-b2b-image{
    height:90px;
  }
  body:has(.tf-home-v3) .home-category-subgrid{
    grid-auto-columns:68vw;
  }
}


/* ==========================================================
   Sprint 366C.4 — Curated mobile finalization
   One full group card per swipe; compact 2x2 product grid.
   ========================================================== */
@media(max-width:767px){
  body:has(.tf-home-v3) .curated-b2b-market{
    overflow:hidden;
    padding-block:16px;
  }

  body:has(.tf-home-v3) .curated-b2b-market>.shell{
    width:calc(100% - 20px);
    overflow:visible;
  }

  body:has(.tf-home-v3) .curated-b2b-heading{
    margin-bottom:10px;
  }

  body:has(.tf-home-v3) .curated-b2b-heading .eyebrow{
    margin-bottom:5px;
    font-size:7px;
  }

  body:has(.tf-home-v3) .curated-b2b-heading h2{
    font-size:20px;
    line-height:1.08;
    letter-spacing:-.025em;
  }

  body:has(.tf-home-v3) .curated-b2b-rail{
    display:flex;
    width:auto;
    max-width:none;
    gap:8px;
    margin:0 -10px 0 0;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding-left:0;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }

  body:has(.tf-home-v3) .curated-b2b-rail::-webkit-scrollbar{
    display:none;
  }

  body:has(.tf-home-v3) .curated-b2b-card{
    flex:0 0 calc(100vw - 38px);
    width:calc(100vw - 38px);
    min-width:0;
    max-width:calc(100vw - 38px);
    scroll-snap-align:start;
    scroll-snap-stop:always;
    overflow:hidden;
    padding:10px;
    border-radius:12px;
  }

  body:has(.tf-home-v3) .curated-b2b-card>h3{
    margin:0 0 8px;
    font-size:12px;
    line-height:1.22;
  }

  body:has(.tf-home-v3) .curated-b2b-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto auto;
    gap:7px;
    width:100%;
    min-width:0;
    overflow:visible;
  }

  body:has(.tf-home-v3) .curated-b2b-item{
    display:block;
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:0;
    overflow:hidden;
    padding:6px;
    border-radius:9px;
    background:#fbfcfe;
  }

  body:has(.tf-home-v3) .curated-b2b-image{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1.45 / 1;
    margin:0 0 6px;
    overflow:hidden;
    border-radius:7px;
    background:#eef2f6;
  }

  body:has(.tf-home-v3) .curated-b2b-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  body:has(.tf-home-v3) .curated-b2b-image.is-missing::after{
    font-size:11px;
  }

  body:has(.tf-home-v3) .curated-b2b-item>strong{
    display:-webkit-box;
    min-height:22px;
    margin:0;
    overflow:hidden;
    color:var(--v3-ink);
    font-size:8px;
    line-height:1.3;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }

  body:has(.tf-home-v3) .curated-b2b-item>small{
    display:block;
    min-height:10px;
    margin-top:3px;
    overflow:hidden;
    color:#607487;
    font-size:7px;
    line-height:1.2;
    white-space:nowrap;
    text-overflow:ellipsis;
  }

  body:has(.tf-home-v3) .curated-b2b-cta{
    min-height:34px;
    margin-top:8px;
    font-size:8px;
  }
}

@media(max-width:430px){
  body:has(.tf-home-v3) .curated-b2b-card{
    flex-basis:calc(100vw - 30px);
    width:calc(100vw - 30px);
    max-width:calc(100vw - 30px);
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .curated-b2b-card{
    flex-basis:calc(100vw - 26px);
    width:calc(100vw - 26px);
    max-width:calc(100vw - 26px);
  }

  body:has(.tf-home-v3) .curated-b2b-image{
    aspect-ratio:1.35 / 1;
  }
}


/* ==========================================================
   Sprint 366C.5 — Browse by Category final UI repair
   Balanced desktop + readable mobile cards.
   ========================================================== */

/* Desktop balance */
body:has(.tf-home-v3) .home-category-showcase{
  padding:16px;
}
body:has(.tf-home-v3) .home-category-showcase-grid{
  grid-template-columns:minmax(260px,.72fr) minmax(0,2.28fr);
  gap:10px;
}
body:has(.tf-home-v3) .home-category-source-card{
  min-height:100%;
  height:auto;
  padding:16px;
}
body:has(.tf-home-v3) .home-category-source-card>strong{
  max-width:15ch;
  font-size:20px;
}
body:has(.tf-home-v3) .home-category-source-card>p{
  max-width:34ch;
  font-size:8px;
}
body:has(.tf-home-v3) .home-category-source-card>ul{
  gap:4px;
}
body:has(.tf-home-v3) .home-category-source-card>ul li{
  font-size:7px;
}

body:has(.tf-home-v3) .home-category-subgrid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:1fr;
  gap:9px;
}
body:has(.tf-home-v3) .home-category-subcard{
  display:flex;
  min-height:168px;
  flex-direction:column;
  border-radius:11px;
  background:#fbfcfe;
}
body:has(.tf-home-v3) .home-category-subcard-media{
  position:relative;
  height:74px;
  background:#eef2f6;
}
body:has(.tf-home-v3) .home-category-subcard-media.no-image::after{
  content:"TF";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#9aa8b7;
  font-size:11px;
  font-weight:900;
}
body:has(.tf-home-v3) .home-category-subcard-body{
  display:flex;
  min-height:0;
  flex:1;
  flex-direction:column;
  padding:9px 10px 10px;
}
body:has(.tf-home-v3) .home-category-subcard-body>span{
  flex:0 0 auto;
  margin-bottom:4px;
}
body:has(.tf-home-v3) .home-category-subcard-body>strong{
  flex:0 0 auto;
  margin-bottom:6px;
  font-size:10px;
}
body:has(.tf-home-v3) .home-category-subcard-body>ul{
  display:grid;
  gap:2px;
  margin:0;
  padding-left:14px;
  color:#607487;
  font-size:8px;
  line-height:1.3;
}
body:has(.tf-home-v3) .home-category-subcard-body>a,
body:has(.tf-home-v3) .home-category-subcard>a:last-child{
  margin-top:auto;
  padding-top:7px;
  color:#0c5bc7;
  font-size:8px;
  font-weight:800;
  text-decoration:none;
}

/* Tablet */
@media(max-width:1050px){
  body:has(.tf-home-v3) .home-category-showcase-grid{
    grid-template-columns:minmax(230px,.8fr) minmax(0,2.2fr);
  }
  body:has(.tf-home-v3) .home-category-subgrid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Mobile: readable full cards, no clipped 2-column text */
@media(max-width:767px){
  body:has(.tf-home-v3) .home-category-showcase{
    padding:11px;
  }

  body:has(.tf-home-v3) .home-category-showcase-head{
    margin-bottom:9px;
  }

  body:has(.tf-home-v3) .home-category-showcase-head h3{
    font-size:19px;
  }

  body:has(.tf-home-v3) .home-category-showcase-head>a{
    min-height:38px;
  }

  body:has(.tf-home-v3) .home-category-source-card{
    min-height:170px;
    margin-bottom:9px;
    border-radius:12px;
  }

  body:has(.tf-home-v3) .home-category-source-card>strong{
    max-width:14ch;
    font-size:18px;
  }

  body:has(.tf-home-v3) .home-category-source-card>p{
    max-width:30ch;
    font-size:8px;
  }

  body:has(.tf-home-v3) .home-category-source-card>ul{
    grid-template-columns:1fr;
    gap:3px;
  }

  body:has(.tf-home-v3) .home-category-subgrid{
    display:flex;
    gap:8px;
    width:auto;
    margin-right:-10px;
    padding:0 10px 5px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }

  body:has(.tf-home-v3) .home-category-subgrid::-webkit-scrollbar{
    display:none;
  }

  body:has(.tf-home-v3) .home-category-subcard{
    flex:0 0 min(78vw,280px);
    width:min(78vw,280px);
    min-width:0;
    min-height:210px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  body:has(.tf-home-v3) .home-category-subcard-media{
    height:88px;
  }

  body:has(.tf-home-v3) .home-category-subcard-body{
    padding:9px;
  }

  body:has(.tf-home-v3) .home-category-subcard-body>strong{
    font-size:11px;
  }

  body:has(.tf-home-v3) .home-category-subcard-body>ul{
    gap:3px;
    font-size:9px;
    line-height:1.35;
  }

  body:has(.tf-home-v3) .home-category-subcard-body>a,
  body:has(.tf-home-v3) .home-category-subcard>a:last-child{
    padding-top:8px;
    font-size:9px;
  }
}

@media(max-width:430px){
  body:has(.tf-home-v3) .home-category-subcard{
    flex-basis:84vw;
    width:84vw;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .home-category-subcard{
    flex-basis:86vw;
    width:86vw;
  }
}


/* ==========================================================
   Sprint 366C.6 — Category image stretch containment
   Corrects actual markup class: .home-category-subcard-image
   ========================================================== */

/* Never let one image determine the height of the whole category row */
body:has(.tf-home-v3) .home-category-subgrid{
  align-items:start;
  grid-auto-rows:auto;
}

body:has(.tf-home-v3) .home-category-subcard{
  align-self:start;
  height:auto;
  min-height:0;
}

/* Actual image wrapper used by homepage markup */
body:has(.tf-home-v3) .home-category-subcard-image{
  position:relative;
  display:block;
  width:100%;
  height:96px;
  min-height:96px;
  max-height:96px;
  overflow:hidden;
  border-bottom:1px solid #e4eaf0;
  background:#eef2f6;
  color:inherit;
  text-decoration:none;
}

body:has(.tf-home-v3) .home-category-subcard-image img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  margin:0;
  object-fit:contain;
  object-position:center;
  background:#fff;
}

body:has(.tf-home-v3) .home-category-subcard-image>span{
  position:absolute;
  inset:0;
  z-index:0;
  display:grid;
  place-items:center;
  color:#9aa8b7;
  font-size:11px;
  font-weight:900;
  pointer-events:none;
}

body:has(.tf-home-v3) .home-category-subcard-image img+span{
  visibility:hidden;
}

body:has(.tf-home-v3) .home-category-subcard-image img[style*="display: none"]+span,
body:has(.tf-home-v3) .home-category-subcard-image img[style*="display:none"]+span{
  visibility:visible;
}

/* Compact text area independent of image source dimensions */
body:has(.tf-home-v3) .home-category-subcard-body{
  min-height:112px;
  max-height:138px;
  overflow:hidden;
}

body:has(.tf-home-v3) .home-category-subcard-body h4{
  margin:0 0 7px;
  font-size:11px;
  line-height:1.25;
}

body:has(.tf-home-v3) .home-category-subcard-body h4 a{
  color:var(--v3-ink);
  text-decoration:none;
}

body:has(.tf-home-v3) .home-category-subcard-body ul{
  max-height:70px;
  overflow:hidden;
}

body:has(.tf-home-v3) .home-category-subcard-action{
  display:flex;
  min-height:34px;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  border-top:1px solid #e9edf2;
  padding:0 10px;
  color:#0c5bc7;
  font-size:8px;
  font-weight:900;
  text-decoration:none;
}

/* Keep desktop cards visually compact and equal without row stretching */
@media(min-width:1051px){
  body:has(.tf-home-v3) .home-category-subcard{
    min-height:250px;
    max-height:290px;
  }
}

/* Tablet */
@media(min-width:768px) and (max-width:1050px){
  body:has(.tf-home-v3) .home-category-subcard{
    min-height:240px;
    max-height:285px;
  }
  body:has(.tf-home-v3) .home-category-subcard-image{
    height:92px;
    min-height:92px;
    max-height:92px;
  }
}

/* Mobile: image can never stretch the swipe card */
@media(max-width:767px){
  body:has(.tf-home-v3) .home-category-subgrid{
    align-items:stretch;
  }

  body:has(.tf-home-v3) .home-category-subcard{
    flex:0 0 min(82vw,286px);
    width:min(82vw,286px);
    min-height:0;
    max-height:330px;
    height:auto;
  }

  body:has(.tf-home-v3) .home-category-subcard-image{
    height:112px;
    min-height:112px;
    max-height:112px;
  }

  body:has(.tf-home-v3) .home-category-subcard-body{
    min-height:118px;
    max-height:138px;
    padding:10px;
  }

  body:has(.tf-home-v3) .home-category-subcard-body h4{
    font-size:12px;
  }

  body:has(.tf-home-v3) .home-category-subcard-body ul{
    max-height:76px;
    font-size:9px;
  }

  body:has(.tf-home-v3) .home-category-subcard-action{
    min-height:38px;
    padding-inline:10px;
    font-size:9px;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .home-category-subcard{
    flex-basis:86vw;
    width:86vw;
    max-height:320px;
  }
  body:has(.tf-home-v3) .home-category-subcard-image{
    height:106px;
    min-height:106px;
    max-height:106px;
  }
}


/* ==========================================================
   Sprint 366C.7 — Featured products + Trade Advantage repair
   Canonical homepage stylesheet only.
   ========================================================== */

/* ---------- Featured marketplace opportunities ---------- */
body:has(.tf-home-v3) .marketplace-products{
  overflow:hidden;
}
body:has(.tf-home-v3) .marketplace-products>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .curated-products-head{
  margin-bottom:14px;
}
body:has(.tf-home-v3) .featured-twelve-grid{
  align-items:stretch;
}
body:has(.tf-home-v3) .featured-twelve-grid>.product-card{
  display:flex;
  min-width:0;
  height:100%;
  flex-direction:column;
  overflow:hidden;
}
body:has(.tf-home-v3) .featured-twelve-grid>.product-card :where(.product-image,.product-media,.product-card-image){
  flex:0 0 auto;
  width:100%;
  overflow:hidden;
  background:#eef2f6;
}
body:has(.tf-home-v3) .featured-twelve-grid>.product-card :where(.product-image img,.product-media img,.product-card-image img){
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#eef2f6;
}
body:has(.tf-home-v3) .featured-twelve-grid>.product-card :where(.product-card-body,.product-info,.product-content){
  min-width:0;
}
body:has(.tf-home-v3) .featured-twelve-grid>.product-card :where(.product-actions,.product-card-actions){
  margin-top:auto;
}

/* ---------- Trade advantage / serious sourcing ---------- */
body:has(.tf-home-v3) .trade-advantage{
  padding:34px 0;
  background:#f5f7fb;
}
body:has(.tf-home-v3) .trade-advantage>.shell.trade-advantage-grid{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  display:grid;
  grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);
  gap:18px;
  align-items:stretch;
  padding:0;
}
body:has(.tf-home-v3) .trade-advantage-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  border:1px solid #dce4ed;
  border-radius:16px;
  background:#0b1f3a;
  padding:30px;
}
body:has(.tf-home-v3) .trade-advantage-copy>.eyebrow{
  display:block;
  margin:0 0 9px;
  color:#f4b72f;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
body:has(.tf-home-v3) .trade-advantage-copy>h2{
  max-width:16ch;
  margin:0;
  color:#fff;
  font-size:clamp(26px,2.3vw,38px);
  line-height:1.05;
  letter-spacing:-.035em;
}
body:has(.tf-home-v3) .trade-advantage-copy>p{
  max-width:48ch;
  margin:12px 0 18px;
  color:#d8e2ed;
  font-size:11px;
  line-height:1.55;
}
body:has(.tf-home-v3) .trade-advantage-copy>.button{
  width:max-content;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:9px;
  background:#f4b72f;
  padding:0 14px;
  color:#0b1f3a;
  font-size:10px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .advantage-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .advantage-cards>article{
  display:flex;
  min-width:0;
  min-height:220px;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid #dce4ed;
  border-radius:14px;
  background:#fff;
  padding:18px;
}
body:has(.tf-home-v3) .advantage-cards>article>span{
  display:grid;
  width:44px;
  height:44px;
  flex:0 0 44px;
  place-items:center;
  border-radius:11px;
  background:#f4b72f;
  color:#0b1f3a;
  font-size:12px;
  font-weight:900;
}
body:has(.tf-home-v3) .advantage-cards>article>div{
  min-width:0;
  margin-top:auto;
}
body:has(.tf-home-v3) .advantage-cards h3{
  margin:16px 0 7px;
  color:#0b1f3a;
  font-size:15px;
  line-height:1.22;
}
body:has(.tf-home-v3) .advantage-cards p{
  margin:0;
  color:#607487;
  font-size:10px;
  line-height:1.5;
}

/* Tablet */
@media(max-width:1050px){
  body:has(.tf-home-v3) .trade-advantage>.shell.trade-advantage-grid{
    grid-template-columns:1fr;
  }
  body:has(.tf-home-v3) .trade-advantage-copy>h2{
    max-width:22ch;
  }
}

/* Mobile */
@media(max-width:767px){
  body:has(.tf-home-v3) .marketplace-products{
    padding-block:18px;
  }
  body:has(.tf-home-v3) .marketplace-products>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .curated-products-head{
    display:block;
    margin-bottom:10px;
  }
  body:has(.tf-home-v3) .curated-products-head h2{
    font-size:22px;
    line-height:1.06;
  }
  body:has(.tf-home-v3) .curated-products-head .section-copy{
    max-width:34ch;
    font-size:10px;
  }
  body:has(.tf-home-v3) .curated-products-head>a{
    width:100%;
    justify-content:center;
    margin-top:9px;
  }

  /* One readable product card per swipe; no two-card squeeze */
  body:has(.tf-home-v3) .featured-twelve-grid{
    display:flex;
    gap:8px;
    width:auto;
    margin-right:-10px;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .featured-twelve-grid::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .featured-twelve-grid>.product-card{
    flex:0 0 min(82vw,300px);
    width:min(82vw,300px);
    max-width:min(82vw,300px);
    min-height:0;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  body:has(.tf-home-v3) .featured-twelve-grid>.product-card :where(.product-image,.product-media,.product-card-image){
    height:190px;
    min-height:190px;
    max-height:190px;
  }
  body:has(.tf-home-v3) .featured-twelve-grid>.product-card :where(.product-image img,.product-media img,.product-card-image img){
    object-fit:contain;
  }

  body:has(.tf-home-v3) .trade-advantage{
    padding:18px 0;
  }
  body:has(.tf-home-v3) .trade-advantage>.shell.trade-advantage-grid{
    width:calc(100% - 20px);
    display:block;
  }
  body:has(.tf-home-v3) .trade-advantage-copy{
    border-radius:13px;
    padding:18px 15px;
  }
  body:has(.tf-home-v3) .trade-advantage-copy>.eyebrow{
    margin-bottom:7px;
    font-size:7px;
  }
  body:has(.tf-home-v3) .trade-advantage-copy>h2{
    max-width:16ch;
    font-size:22px;
  }
  body:has(.tf-home-v3) .trade-advantage-copy>p{
    margin:9px 0 13px;
    font-size:9px;
    line-height:1.45;
  }
  body:has(.tf-home-v3) .trade-advantage-copy>.button{
    width:100%;
    min-height:42px;
  }
  body:has(.tf-home-v3) .advantage-cards{
    display:flex;
    gap:8px;
    margin-top:8px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .advantage-cards::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .advantage-cards>article{
    flex:0 0 min(82vw,280px);
    min-height:150px;
    scroll-snap-align:start;
    padding:14px;
  }
  body:has(.tf-home-v3) .advantage-cards>article>span{
    width:38px;
    height:38px;
    flex-basis:38px;
    border-radius:10px;
    font-size:10px;
  }
  body:has(.tf-home-v3) .advantage-cards>article>div{
    margin-top:10px;
  }
  body:has(.tf-home-v3) .advantage-cards h3{
    margin:0 0 5px;
    font-size:13px;
  }
  body:has(.tf-home-v3) .advantage-cards p{
    font-size:9px;
    line-height:1.4;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .featured-twelve-grid>.product-card{
    flex-basis:86vw;
    width:86vw;
    max-width:86vw;
  }
  body:has(.tf-home-v3) .featured-twelve-grid>.product-card :where(.product-image,.product-media,.product-card-image){
    height:180px;
    min-height:180px;
    max-height:180px;
  }
  body:has(.tf-home-v3) .advantage-cards>article{
    flex-basis:86vw;
  }
}


/* ==========================================================
   Sprint 366C.8 — Supplier Network + Just Listed + Seasonal + Floating Actions
   Canonical homepage stylesheet only.
   ========================================================== */

/* ---------- Business Network / Suppliers ---------- */
body:has(.tf-home-v3) .business-network-section{
  display:block;
  overflow:hidden;
  padding:28px 0;
  background:#fff;
}
body:has(.tf-home-v3) .business-network-section>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .business-network-section .premium-suppliers{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .business-network-section .premium-supplier-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--v3-line);
  border-radius:13px;
  background:#fff;
  box-shadow:none;
}
body:has(.tf-home-v3) .business-network-section .supplier-cover{
  height:76px;
  min-height:76px;
  max-height:76px;
  background-color:#edf2f7;
  background-size:cover;
  background-position:center;
}
body:has(.tf-home-v3) .business-network-section .supplier-content{
  min-width:0;
  padding:12px;
}
body:has(.tf-home-v3) .business-network-section .supplier-content>img{
  display:block;
  width:48px;
  height:48px;
  margin-top:-34px;
  border:4px solid #fff;
  border-radius:11px;
  object-fit:contain;
  background:#f4f7fa;
}
body:has(.tf-home-v3) .business-network-section .supplier-content h3{
  margin:8px 0 5px;
  color:var(--v3-ink);
  font-size:12px;
  line-height:1.25;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body:has(.tf-home-v3) .business-network-section .supplier-content h3 span{
  color:#0c66d4;
}
body:has(.tf-home-v3) .business-network-section .supplier-content>p{
  min-height:30px;
  margin:0 0 7px;
  color:#607487;
  font-size:8px;
  line-height:1.4;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body:has(.tf-home-v3) .business-network-section .seller-tags{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  min-height:44px;
  margin-bottom:8px;
}
body:has(.tf-home-v3) .business-network-section .seller-tags span{
  display:inline-flex;
  min-height:24px;
  align-items:center;
  border-radius:999px;
  background:#edf5ff;
  padding:0 7px;
  color:#0c5bc7;
  font-size:7px;
  font-weight:800;
}
body:has(.tf-home-v3) .business-network-section dl{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin:0 0 9px;
}
body:has(.tf-home-v3) .business-network-section dl>div{
  min-width:0;
  border-radius:8px;
  background:#f6f8fb;
  padding:7px;
}
body:has(.tf-home-v3) .business-network-section dt{
  color:#7a8998;
  font-size:7px;
}
body:has(.tf-home-v3) .business-network-section dd{
  margin:2px 0 0;
  color:var(--v3-ink);
  font-size:9px;
  font-weight:800;
}
body:has(.tf-home-v3) .business-network-section .supplier-content>a{
  display:flex;
  min-height:36px;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #e7ecf1;
  padding-top:8px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}

/* ---------- Just Listed ---------- */
body:has(.tf-home-v3) .new-arrivals{
  overflow:hidden;
}
body:has(.tf-home-v3) .new-arrivals>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card{
  display:flex;
  min-width:0;
  height:auto;
  flex-direction:column;
  overflow:hidden;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .product-image{
  position:relative;
  display:block;
  width:100%;
  height:170px;
  min-height:170px;
  max-height:170px;
  overflow:hidden;
  background:#eef2f6;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .product-image>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#eef2f6;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .product-body{
  display:flex;
  min-height:0;
  flex:1;
  flex-direction:column;
  padding:10px;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .product-body h3{
  min-height:32px;
  margin:0 0 7px;
  font-size:11px;
  line-height:1.25;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .price{
  margin-bottom:6px;
  font-size:13px;
  font-weight:900;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .product-body>p{
  margin:0 0 8px;
  color:#607487;
  font-size:8px;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .supplier-line{
  margin-top:auto;
}
body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .card-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-top:8px;
}

/* ---------- Seasonal Sourcing ---------- */
body:has(.tf-home-v3) .festival-marketplace{
  overflow:hidden;
  padding:28px 0;
}
body:has(.tf-home-v3) .festival-marketplace>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .festival-stage{
  min-height:300px;
}
body:has(.tf-home-v3) .festival-copy{
  width:min(660px,62%);
  padding:34px 32px;
}
body:has(.tf-home-v3) .festival-copy h3{
  max-width:20ch;
  font-size:clamp(28px,2.5vw,40px);
  line-height:1.05;
}
body:has(.tf-home-v3) .festival-copy p{
  max-width:56ch;
  font-size:11px;
  line-height:1.5;
}
body:has(.tf-home-v3) .festival-tabs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:8px;
}
body:has(.tf-home-v3) .festival-tabs button{
  min-height:64px;
  overflow:hidden;
  padding:9px 10px;
}
body:has(.tf-home-v3) .festival-tabs small{
  display:block;
  color:#7a8998;
  font-size:7px;
  line-height:1.2;
  white-space:nowrap;
}
body:has(.tf-home-v3) .festival-tabs strong{
  display:block;
  margin-top:4px;
  color:var(--v3-ink);
  font-size:10px;
  line-height:1.25;
  white-space:normal;
}

/* ---------- Floating actions ---------- */
body:has(.tf-home-v3) .market-floating-actions{
  position:fixed;
  z-index:80;
  right:18px;
  top:50%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #dce4ed;
  border-radius:13px;
  background:#fff;
  box-shadow:0 12px 32px rgba(9,30,66,.13);
  transform:translateY(-50%);
}
body:has(.tf-home-v3) .market-floating-actions>a,
body:has(.tf-home-v3) .market-floating-actions>button{
  display:grid;
  width:54px;
  min-width:54px;
  height:54px;
  min-height:54px;
  place-items:center;
  gap:1px;
  border:0;
  border-bottom:1px solid #e7ecf1;
  border-radius:0;
  background:#fff;
  padding:5px 2px;
  color:#0b1f3a;
  font:inherit;
  text-decoration:none;
  cursor:pointer;
}
body:has(.tf-home-v3) .market-floating-actions>*:last-child{
  border-bottom:0;
}
body:has(.tf-home-v3) .market-floating-actions :where(a,button):hover{
  background:#fff7df;
}
body:has(.tf-home-v3) .market-floating-actions span{
  display:block;
  color:#0c5bc7;
  font-size:16px;
  line-height:1;
}
body:has(.tf-home-v3) .market-floating-actions small{
  display:block;
  color:#52677d;
  font-size:6px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}

/* Tablet */
@media(max-width:1050px){
  body:has(.tf-home-v3) .business-network-section .premium-suppliers{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  body:has(.tf-home-v3) .festival-tabs{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Mobile */
@media(max-width:767px){
  body:has(.tf-home-v3) .business-network-section{
    padding:18px 0;
  }
  body:has(.tf-home-v3) .business-network-section>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .business-network-section .section-head{
    margin-bottom:10px;
  }
  body:has(.tf-home-v3) .business-network-section .section-head h2{
    font-size:21px;
    line-height:1.08;
  }
  body:has(.tf-home-v3) .business-network-section .premium-suppliers{
    display:flex;
    gap:8px;
    width:auto;
    margin-right:-10px;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .business-network-section .premium-suppliers::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .business-network-section .premium-supplier-card{
    flex:0 0 min(84vw,310px);
    width:min(84vw,310px);
    max-width:min(84vw,310px);
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  body:has(.tf-home-v3) .business-network-section .supplier-cover{
    height:70px;
    min-height:70px;
    max-height:70px;
  }

  body:has(.tf-home-v3) .new-arrivals{
    padding:18px 0;
  }
  body:has(.tf-home-v3) .new-arrivals>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .new-arrivals .section-head h2{
    font-size:22px;
  }
  body:has(.tf-home-v3) .new-arrivals-twelve-grid{
    display:flex;
    gap:8px;
    width:auto;
    margin-right:-10px;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .new-arrivals-twelve-grid::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card{
    flex:0 0 min(82vw,300px);
    width:min(82vw,300px);
    max-width:min(82vw,300px);
    min-height:0;
    max-height:none;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .product-image{
    height:180px;
    min-height:180px;
    max-height:180px;
  }
  body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .card-actions{
    grid-template-columns:1fr;
  }
  body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card .card-actions button{
    display:none;
  }

  body:has(.tf-home-v3) .festival-marketplace{
    padding:18px 0;
  }
  body:has(.tf-home-v3) .festival-marketplace>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .festival-heading{
    margin-bottom:10px;
  }
  body:has(.tf-home-v3) .festival-heading h2{
    font-size:21px;
    line-height:1.08;
  }
  body:has(.tf-home-v3) .festival-heading p{
    font-size:10px;
    line-height:1.45;
  }
  body:has(.tf-home-v3) .festival-stage{
    min-height:300px;
    border-radius:13px;
  }
  body:has(.tf-home-v3) .festival-slide{
    background-position:center;
  }
  body:has(.tf-home-v3) .festival-copy{
    width:100%;
    padding:24px 16px 32px;
  }
  body:has(.tf-home-v3) .festival-copy h3{
    max-width:14ch;
    font-size:28px;
    line-height:1.07;
  }
  body:has(.tf-home-v3) .festival-copy p{
    max-width:32ch;
    font-size:10px;
  }
  body:has(.tf-home-v3) .festival-tabs{
    display:flex;
    gap:7px;
    margin-top:8px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .festival-tabs::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .festival-tabs button{
    flex:0 0 min(72vw,250px);
    min-height:74px;
    scroll-snap-align:start;
  }
  body:has(.tf-home-v3) .festival-tabs small{
    white-space:normal;
  }

  /* Floating stack is replaced by mobile bottom nav; never overlap page content. */
  body:has(.tf-home-v3) .market-floating-actions{
    display:none;
  }
}

@media(max-width:430px){
  body:has(.tf-home-v3) .business-network-section .premium-supplier-card{
    flex-basis:88vw;
    width:88vw;
    max-width:88vw;
  }
  body:has(.tf-home-v3) .new-arrivals-twelve-grid>.product-card{
    flex-basis:86vw;
    width:86vw;
    max-width:86vw;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .festival-copy h3{
    font-size:26px;
  }
  body:has(.tf-home-v3) .festival-tabs button{
    flex-basis:78vw;
  }
}


/* ==========================================================
   Sprint 366C.10 — Dedicated In-house New Arrivals component
   No legacy .product-card classes.
   ========================================================== */
body:has(.tf-home-v3) .tf-inhouse-arrivals{
  overflow:hidden;
  padding:28px 0;
  background:#fff;
}
body:has(.tf-home-v3) .tf-inhouse-arrivals>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .tf-inhouse-arrivals-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .tf-inhouse-arrival-card{
  display:flex;
  min-width:0;
  overflow:hidden;
  flex-direction:column;
  border:1px solid var(--v3-line);
  border-radius:13px;
  background:#fff;
}
body:has(.tf-home-v3) .tf-inhouse-arrival-media{
  position:relative;
  display:block;
  width:100%;
  height:170px;
  overflow:hidden;
  background:#eef2f6;
  color:inherit;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-inhouse-arrival-media img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#eef2f6;
}
body:has(.tf-home-v3) .tf-inhouse-fallback{
  position:absolute;
  inset:0;
  z-index:1;
  display:grid;
  place-items:center;
  color:#95a5b6;
  font-size:18px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-inhouse-badge{
  position:absolute;
  z-index:4;
  left:9px;
  top:9px;
  display:inline-flex;
  min-height:23px;
  align-items:center;
  border-radius:999px;
  background:var(--v3-gold);
  padding:0 8px;
  color:var(--v3-ink);
  font-size:7px;
  font-weight:900;
  text-transform:uppercase;
}
body:has(.tf-home-v3) .tf-inhouse-wishlist{
  position:absolute;
  z-index:4;
  right:9px;
  top:9px;
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border:1px solid #dce4ed;
  border-radius:50%;
  background:#fff;
  color:#0b1f3a;
  font-size:18px;
}
body:has(.tf-home-v3) .tf-inhouse-arrival-body{
  display:flex;
  min-width:0;
  flex:1;
  flex-direction:column;
  padding:10px;
}
body:has(.tf-home-v3) .tf-inhouse-arrival-body h3{
  min-height:32px;
  margin:0 0 10px;
  font-size:11px;
  line-height:1.25;
}
body:has(.tf-home-v3) .tf-inhouse-arrival-body h3 a{
  color:var(--v3-ink);
  text-decoration:none;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
body:has(.tf-home-v3) .tf-inhouse-price{
  margin-top:auto;
  color:#071b46;
  font-size:14px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-inhouse-price small{
  color:#607487;
  font-size:8px;
  font-weight:500;
}
body:has(.tf-home-v3) .tf-inhouse-arrival-body>p{
  margin:6px 0 9px;
  color:#607487;
  font-size:8px;
}
body:has(.tf-home-v3) .tf-inhouse-supplier{
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  border-top:1px solid #e7ecf1;
  padding:9px 0;
  color:#607487;
  font-size:8px;
}
body:has(.tf-home-v3) .tf-inhouse-supplier span{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
body:has(.tf-home-v3) .tf-inhouse-supplier b{
  display:grid;
  width:18px;
  height:18px;
  flex:0 0 18px;
  place-items:center;
  border-radius:50%;
  background:#0c66d4;
  color:#fff;
  font-size:9px;
}
body:has(.tf-home-v3) .tf-inhouse-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}
body:has(.tf-home-v3) .tf-inhouse-actions a{
  display:flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  border:1px solid #0b2e69;
  border-radius:9px;
  color:#0b2e69;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-inhouse-actions a:first-child{
  background:#071b46;
  color:#fff;
}
body:has(.tf-home-v3) .tf-inhouse-empty{
  display:grid;
  gap:5px;
  border:1px dashed #cbd6e2;
  border-radius:13px;
  background:#f8fafc;
  padding:22px;
  color:#607487;
  text-align:center;
}
body:has(.tf-home-v3) .tf-inhouse-empty strong{color:var(--v3-ink)}

@media(max-width:1180px){
  body:has(.tf-home-v3) .tf-inhouse-arrivals-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
@media(max-width:900px){
  body:has(.tf-home-v3) .tf-inhouse-arrivals-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:767px){
  body:has(.tf-home-v3) .tf-inhouse-arrivals{
    padding:18px 0;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrivals>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .tf-inhouse-arrivals .section-head{
    margin-bottom:10px;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrivals .section-head h2{
    font-size:22px;
    line-height:1.05;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrivals .section-copy{
    font-size:9px;
    line-height:1.4;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrivals-grid{
    display:flex;
    gap:8px;
    width:auto;
    margin-right:-10px;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrivals-grid::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrival-card{
    flex:0 0 min(84vw,310px);
    width:min(84vw,310px);
    max-width:min(84vw,310px);
    min-height:0;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrival-media{
    height:180px;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrival-body{
    min-height:205px;
    padding:10px;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrival-body h3{
    min-height:30px;
    font-size:12px;
  }
  body:has(.tf-home-v3) .tf-inhouse-price{
    font-size:15px;
  }
  body:has(.tf-home-v3) .tf-inhouse-actions{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:430px){
  body:has(.tf-home-v3) .tf-inhouse-arrival-card{
    flex-basis:88vw;
    width:88vw;
    max-width:88vw;
  }
}
@media(max-width:390px){
  body:has(.tf-home-v3) .tf-inhouse-arrival-card{
    flex-basis:90vw;
    width:90vw;
    max-width:90vw;
  }
  body:has(.tf-home-v3) .tf-inhouse-arrival-media{
    height:170px;
  }
}


/* ==========================================================
   Sprint 366C.11 — Enterprise RFQ + Commerce Capabilities
   Isolated component classes, no legacy grid dependency.
   ========================================================== */

/* RFQ Marketplace */
body:has(.tf-home-v3) .tf-rfq-enterprise{
  padding:30px 0;
  overflow:hidden;
  background:#f5f7fb;
}
body:has(.tf-home-v3) .tf-rfq-enterprise>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-head .eyebrow{
  display:block;
  margin-bottom:6px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-head h2{
  margin:0;
  color:#0b1f3a;
  font-size:clamp(26px,2.2vw,36px);
  line-height:1.05;
  letter-spacing:-.035em;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-head p{
  margin:7px 0 0;
  color:#607487;
  font-size:10px;
  line-height:1.5;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-head>a{
  display:inline-flex;
  flex:0 0 auto;
  min-height:40px;
  align-items:center;
  gap:8px;
  border:1px solid #d8e1ea;
  border-radius:10px;
  background:#fff;
  padding:0 12px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-head>a span{
  display:grid;
  width:26px;
  height:26px;
  place-items:center;
  border-radius:50%;
  background:#edf5ff;
}

body:has(.tf-home-v3) .tf-rfq-enterprise-layout{
  display:grid;
  grid-template-columns:minmax(300px,.72fr) minmax(0,2.28fr);
  gap:12px;
  align-items:stretch;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-intro{
  display:flex;
  min-width:0;
  min-height:300px;
  flex-direction:column;
  justify-content:flex-end;
  border-radius:15px;
  background:#0b2a52;
  padding:22px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-intro>span{
  width:max-content;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:#f4b72f;
  padding:0 8px;
  color:#0b1f3a;
  font-size:7px;
  font-weight:900;
  letter-spacing:.06em;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-intro h3{
  max-width:17ch;
  margin:14px 0 8px;
  color:#fff;
  font-size:26px;
  line-height:1.05;
  letter-spacing:-.03em;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-intro p{
  max-width:42ch;
  margin:0 0 16px;
  color:#d8e3ee;
  font-size:9px;
  line-height:1.5;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-actions a{
  display:grid;
  gap:3px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:9px;
  background:rgba(255,255,255,.08);
  padding:9px;
  color:#dbe6f1;
  font-size:7px;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-actions a b{
  color:#fff;
  font-size:9px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-intro>small{
  margin-top:12px;
  color:#9eb1c6;
  font-size:7px;
  line-height:1.4;
}

body:has(.tf-home-v3) .tf-rfq-enterprise-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  min-width:0;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-card{
  display:flex;
  min-width:0;
  min-height:300px;
  flex-direction:column;
  border:1px solid #dce4ed;
  border-radius:15px;
  background:#fff;
  padding:18px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-meta span{
  display:inline-flex;
  min-height:26px;
  align-items:center;
  border-radius:999px;
  background:#e8f8f1;
  padding:0 9px;
  color:#087a52;
  font-size:8px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-meta small{
  color:#607487;
  font-size:8px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-card h3{
  margin:18px 0 16px;
  color:#0b1f3a;
  font-size:17px;
  line-height:1.2;
  letter-spacing:-.015em;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-card dl{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:0;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-card dl>div{
  border-radius:9px;
  background:#f6f8fb;
  padding:10px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-card dt{
  color:#7a8998;
  font-size:7px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-card dd{
  margin:4px 0 0;
  color:#0b1f3a;
  font-size:11px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-buyer{
  display:flex;
  min-width:0;
  align-items:center;
  gap:7px;
  margin-top:auto;
  border-top:1px solid #e7ecf1;
  padding-top:12px;
  color:#52677d;
  font-size:9px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-buyer span{
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-buyer b{
  display:grid;
  width:18px;
  height:18px;
  flex:0 0 18px;
  place-items:center;
  border-radius:50%;
  background:#0c66d4;
  color:#fff;
  font-size:9px;
}
body:has(.tf-home-v3) .tf-rfq-enterprise-cta{
  display:flex;
  min-height:40px;
  align-items:center;
  justify-content:space-between;
  margin-top:10px;
  border-radius:9px;
  background:#071b46;
  padding:0 12px;
  color:#fff;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}

/* B2B Commerce Capabilities */
body:has(.tf-home-v3) .tf-commerce-capabilities{
  padding:30px 0;
  overflow:hidden;
  background:#fff;
}
body:has(.tf-home-v3) .tf-commerce-capabilities>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .tf-commerce-capabilities-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
body:has(.tf-home-v3) .tf-commerce-capabilities-head .eyebrow{
  display:block;
  margin-bottom:6px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
body:has(.tf-home-v3) .tf-commerce-capabilities-head h2{
  margin:0;
  color:#0b1f3a;
  font-size:clamp(26px,2.2vw,36px);
  line-height:1.05;
  letter-spacing:-.035em;
}
body:has(.tf-home-v3) .tf-commerce-capabilities-head p{
  max-width:60ch;
  margin:7px 0 0;
  color:#607487;
  font-size:10px;
  line-height:1.5;
}
body:has(.tf-home-v3) .tf-commerce-capabilities-head>a{
  display:inline-flex;
  min-height:40px;
  flex:0 0 auto;
  align-items:center;
  gap:8px;
  border:1px solid #d8e1ea;
  border-radius:10px;
  padding:0 12px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-commerce-capabilities-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .tf-commerce-capability-card{
  display:flex;
  min-width:0;
  min-height:245px;
  flex-direction:column;
  border:1px solid #dce4ed;
  border-radius:15px;
  background:#fff;
  padding:18px;
}
body:has(.tf-home-v3) .tf-commerce-capability-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
body:has(.tf-home-v3) .tf-commerce-capability-top b{
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  border-radius:12px;
  background:#fff4d3;
  color:#8c6500;
  font-size:13px;
}
body:has(.tf-home-v3) .tf-commerce-capability-top span{
  display:inline-flex;
  min-height:25px;
  align-items:center;
  border-radius:999px;
  background:#edf5ff;
  padding:0 8px;
  color:#0c5bc7;
  font-size:7px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-commerce-capability-card h3{
  max-width:25ch;
  margin:22px 0 9px;
  color:#0b1f3a;
  font-size:18px;
  line-height:1.18;
}
body:has(.tf-home-v3) .tf-commerce-capability-card p{
  max-width:48ch;
  margin:0 0 18px;
  color:#607487;
  font-size:10px;
  line-height:1.5;
}
body:has(.tf-home-v3) .tf-commerce-capability-card>a{
  display:flex;
  min-height:38px;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  border-top:1px solid #e7ecf1;
  padding-top:9px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}

@media(max-width:1050px){
  body:has(.tf-home-v3) .tf-rfq-enterprise-layout{
    grid-template-columns:minmax(260px,.8fr) minmax(0,2.2fr);
  }
  body:has(.tf-home-v3) .tf-commerce-capabilities-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:767px){
  body:has(.tf-home-v3) .tf-rfq-enterprise,
  body:has(.tf-home-v3) .tf-commerce-capabilities{
    padding:18px 0;
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise>.shell,
  body:has(.tf-home-v3) .tf-commerce-capabilities>.shell{
    width:calc(100% - 20px);
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise-head,
  body:has(.tf-home-v3) .tf-commerce-capabilities-head{
    display:block;
    margin-bottom:10px;
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise-head h2,
  body:has(.tf-home-v3) .tf-commerce-capabilities-head h2{
    font-size:21px;
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise-head p,
  body:has(.tf-home-v3) .tf-commerce-capabilities-head p{
    font-size:9px;
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise-head>a,
  body:has(.tf-home-v3) .tf-commerce-capabilities-head>a{
    width:100%;
    justify-content:center;
    margin-top:9px;
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise-layout{
    display:block;
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise-intro{
    min-height:0;
    padding:16px 14px;
  }
  body:has(.tf-home-v3) .tf-rfq-enterprise-intro h3{
    max-width:18ch;
    margin:10px 0 7px;
    font-size:20px;
  }
  body:has(.tf-home-v3) .tf-rfq-enterprise-intro p{
    margin-bottom:10px;
    font-size:8px;
  }
  body:has(.tf-home-v3) .tf-rfq-enterprise-actions{
    grid-template-columns:1fr 1fr;
  }
  body:has(.tf-home-v3) .tf-rfq-enterprise-intro>small{
    display:none;
  }

  body:has(.tf-home-v3) .tf-rfq-enterprise-list{
    display:flex;
    gap:8px;
    width:auto;
    margin:8px -10px 0 0;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .tf-rfq-enterprise-list::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .tf-rfq-enterprise-card{
    flex:0 0 min(86vw,320px);
    width:min(86vw,320px);
    min-height:270px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    padding:14px;
  }
  body:has(.tf-home-v3) .tf-rfq-enterprise-card h3{
    margin:14px 0 12px;
    font-size:15px;
  }

  body:has(.tf-home-v3) .tf-commerce-capabilities-grid{
    display:flex;
    gap:8px;
    width:auto;
    margin-right:-10px;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) .tf-commerce-capabilities-grid::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .tf-commerce-capability-card{
    flex:0 0 min(86vw,310px);
    width:min(86vw,310px);
    min-height:190px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    padding:14px;
  }
  body:has(.tf-home-v3) .tf-commerce-capability-card h3{
    margin:14px 0 7px;
    font-size:15px;
  }
  body:has(.tf-home-v3) .tf-commerce-capability-card p{
    margin-bottom:12px;
    font-size:9px;
  }
  body:has(.tf-home-v3) .tf-commerce-capability-top b{
    width:38px;
    height:38px;
    font-size:11px;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .tf-rfq-enterprise-card,
  body:has(.tf-home-v3) .tf-commerce-capability-card{
    flex-basis:90vw;
    width:90vw;
  }
}


/* ==========================================================
   Sprint 366C.12 — Enterprise lower-home system
   Industry + Process + Dual CTA + Insights + Content Hub
   Solid colors only. No gradients.
   ========================================================== */

body:has(.tf-home-v3) :where(.tf-industry-enterprise,.tf-process-enterprise,.tf-dual-cta-enterprise,.tf-insights-enterprise,.tf-content-enterprise){
  overflow:hidden;
  padding:30px 0;
}
body:has(.tf-home-v3) :where(.tf-industry-enterprise,.tf-insights-enterprise){
  background:#f5f7fb;
}
body:has(.tf-home-v3) :where(.tf-process-enterprise,.tf-dual-cta-enterprise,.tf-content-enterprise){
  background:#fff;
}
body:has(.tf-home-v3) :where(.tf-industry-enterprise,.tf-process-enterprise,.tf-dual-cta-enterprise,.tf-insights-enterprise,.tf-content-enterprise)>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .tf-lower-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
}
body:has(.tf-home-v3) .tf-lower-section-head>div>span{
  display:block;
  margin-bottom:6px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  letter-spacing:.1em;
}
body:has(.tf-home-v3) .tf-lower-section-head h2{
  max-width:24ch;
  margin:0;
  color:#0b1f3a;
  font-size:clamp(27px,2.25vw,38px);
  line-height:1.04;
  letter-spacing:-.035em;
}
body:has(.tf-home-v3) .tf-lower-section-head p{
  max-width:62ch;
  margin:7px 0 0;
  color:#607487;
  font-size:10px;
  line-height:1.5;
}
body:has(.tf-home-v3) .tf-lower-section-head>a{
  display:inline-flex;
  min-height:40px;
  flex:0 0 auto;
  align-items:center;
  gap:8px;
  border:1px solid #d8e1ea;
  border-radius:10px;
  background:#fff;
  padding:0 12px;
  color:#0c5bc7;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}

/* Industry */
body:has(.tf-home-v3) .tf-industry-enterprise-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .tf-industry-enterprise-card{
  display:flex;
  min-width:0;
  min-height:155px;
  flex-direction:column;
  border:1px solid #dce4ed;
  border-radius:14px;
  background:#fff;
  padding:16px;
  color:#0b1f3a;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-industry-enterprise-card>span{
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border-radius:10px;
  background:#edf5ff;
  color:#0c5bc7;
  font-size:10px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-industry-enterprise-card>div{
  margin-top:18px;
}
body:has(.tf-home-v3) .tf-industry-enterprise-card h3{
  margin:0;
  color:#0b1f3a;
  font-size:15px;
  line-height:1.2;
}
body:has(.tf-home-v3) .tf-industry-enterprise-card p{
  margin:6px 0 0;
  color:#607487;
  font-size:9px;
}
body:has(.tf-home-v3) .tf-industry-enterprise-card>b{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  border-top:1px solid #e7ecf1;
  padding-top:10px;
  color:#0c5bc7;
  font-size:9px;
}

/* Process */
body:has(.tf-home-v3) .tf-process-enterprise-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .tf-process-enterprise-grid article{
  position:relative;
  min-width:0;
  min-height:210px;
  border:1px solid #dce4ed;
  border-radius:14px;
  background:#fff;
  padding:17px;
}
body:has(.tf-home-v3) .tf-process-enterprise-grid article>b{
  display:grid;
  width:40px;
  height:40px;
  place-items:center;
  border-radius:11px;
  background:#071b46;
  color:#f4b72f;
  font-size:10px;
}
body:has(.tf-home-v3) .tf-process-enterprise-grid article>span{
  display:block;
  margin-top:16px;
  color:#0c5bc7;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
}
body:has(.tf-home-v3) .tf-process-enterprise-grid h3{
  margin:6px 0 8px;
  color:#0b1f3a;
  font-size:16px;
  line-height:1.2;
}
body:has(.tf-home-v3) .tf-process-enterprise-grid p{
  margin:0;
  color:#607487;
  font-size:9px;
  line-height:1.45;
}

/* Buyer/Supplier CTA */
body:has(.tf-home-v3) .tf-dual-cta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
body:has(.tf-home-v3) .tf-dual-cta-card{
  display:flex;
  min-width:0;
  min-height:280px;
  flex-direction:column;
  border-radius:16px;
  padding:28px;
}
body:has(.tf-home-v3) .tf-dual-cta-card.is-buyer{
  background:#0b2f66;
  color:#fff;
}
body:has(.tf-home-v3) .tf-dual-cta-card.is-supplier{
  background:#f4b72f;
  color:#0b1f3a;
}
body:has(.tf-home-v3) .tf-dual-cta-card>span{
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
}
body:has(.tf-home-v3) .tf-dual-cta-card h2{
  max-width:20ch;
  margin:18px 0 10px;
  font-size:clamp(25px,2vw,34px);
  line-height:1.06;
  letter-spacing:-.03em;
}
body:has(.tf-home-v3) .tf-dual-cta-card p{
  max-width:52ch;
  margin:0;
  font-size:10px;
  line-height:1.5;
}
body:has(.tf-home-v3) .tf-dual-cta-card.is-buyer p{color:#dce7f4}
body:has(.tf-home-v3) .tf-dual-cta-card>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:auto;
}
body:has(.tf-home-v3) .tf-dual-cta-card a{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  gap:8px;
  border-radius:9px;
  background:#fff;
  padding:0 13px;
  color:#0b1f3a;
  font-size:9px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-dual-cta-card small{
  font-size:8px;
  opacity:.7;
}

/* Insights */
body:has(.tf-home-v3) .tf-insights-enterprise-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .tf-insights-enterprise-grid article{
  min-width:0;
  min-height:210px;
  border:1px solid #dce4ed;
  border-top:3px solid #0c66d4;
  border-radius:0 0 14px 14px;
  background:#fff;
  padding:18px;
}
body:has(.tf-home-v3) .tf-insights-enterprise-grid article>span{
  color:#0c5bc7;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
}
body:has(.tf-home-v3) .tf-insights-enterprise-grid h3{
  max-width:26ch;
  margin:14px 0 8px;
  color:#0b1f3a;
  font-size:16px;
  line-height:1.2;
}
body:has(.tf-home-v3) .tf-insights-enterprise-grid p{
  margin:0 0 16px;
  color:#607487;
  font-size:9px;
  line-height:1.5;
}
body:has(.tf-home-v3) .tf-insights-enterprise-grid article>b{
  display:inline-flex;
  min-height:26px;
  align-items:center;
  border-radius:999px;
  background:#edf5ff;
  padding:0 8px;
  color:#0c5bc7;
  font-size:7px;
}

/* Content Hub */
body:has(.tf-home-v3) .tf-content-enterprise-layout{
  display:grid;
  grid-template-columns:minmax(0,2.2fr) minmax(300px,.8fr);
  gap:12px;
  align-items:stretch;
}
body:has(.tf-home-v3) .tf-content-blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
body:has(.tf-home-v3) .tf-content-blog-card{
  display:flex;
  min-width:0;
  overflow:hidden;
  flex-direction:column;
  border:1px solid #dce4ed;
  border-radius:14px;
  background:#fff;
}
body:has(.tf-home-v3) .tf-content-blog-media{
  position:relative;
  display:block;
  width:100%;
  height:150px;
  overflow:hidden;
  background:#0b2f66;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-content-blog-media img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
body:has(.tf-home-v3) .tf-content-blog-media>span{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:22px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-content-blog-card>div{
  display:flex;
  min-width:0;
  flex:1;
  flex-direction:column;
  padding:12px;
}
body:has(.tf-home-v3) .tf-content-blog-card small{
  color:#0c5bc7;
  font-size:7px;
  font-weight:800;
}
body:has(.tf-home-v3) .tf-content-blog-card h3{
  margin:9px 0 6px;
  font-size:13px;
  line-height:1.25;
}
body:has(.tf-home-v3) .tf-content-blog-card h3 a{
  color:#0b1f3a;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-content-blog-card p{
  margin:0 0 12px;
  color:#607487;
  font-size:8px;
  line-height:1.45;
}
body:has(.tf-home-v3) .tf-content-blog-card>div>a{
  margin-top:auto;
  color:#0c5bc7;
  font-size:8px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-live-news-enterprise{
  overflow:hidden;
  border-radius:14px;
  background:#071b46;
  color:#fff;
}
body:has(.tf-home-v3) .tf-live-news-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid rgba(255,255,255,.12);
  padding:13px;
}
body:has(.tf-home-v3) .tf-live-news-head>span{
  font-size:8px;
  font-weight:900;
}
body:has(.tf-home-v3) .tf-live-news-head i{
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:5px;
  border-radius:50%;
  background:#f2475c;
}
body:has(.tf-home-v3) .tf-live-news-head small{
  color:#9db2c9;
  font-size:7px;
}
body:has(.tf-home-v3) .tf-live-news-list>a{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:10px;
  border-bottom:1px solid rgba(255,255,255,.1);
  padding:13px;
  color:#fff;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-live-news-list>a:last-child{border-bottom:0}
body:has(.tf-home-v3) .tf-live-news-list time{
  color:#79a7d9;
  font-size:7px;
}
body:has(.tf-home-v3) .tf-live-news-list b{
  display:inline-flex;
  min-height:20px;
  align-items:center;
  border-radius:999px;
  background:#f2475c;
  padding:0 6px;
  font-size:6px;
  text-transform:uppercase;
}
body:has(.tf-home-v3) .tf-live-news-list h3{
  margin:7px 0 5px;
  color:#fff;
  font-size:10px;
  line-height:1.3;
}
body:has(.tf-home-v3) .tf-live-news-list p{
  margin:0 0 7px;
  color:#b8c8d9;
  font-size:7px;
  line-height:1.45;
}
body:has(.tf-home-v3) .tf-live-news-list span{
  color:#84b7ef;
  font-size:7px;
}
body:has(.tf-home-v3) .tf-news-empty{
  padding:20px;
  color:#b8c8d9;
}

@media(max-width:1050px){
  body:has(.tf-home-v3) .tf-industry-enterprise-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  body:has(.tf-home-v3) .tf-process-enterprise-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body:has(.tf-home-v3) .tf-content-enterprise-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:767px){
  body:has(.tf-home-v3) :where(.tf-industry-enterprise,.tf-process-enterprise,.tf-dual-cta-enterprise,.tf-insights-enterprise,.tf-content-enterprise){
    padding:18px 0;
  }
  body:has(.tf-home-v3) :where(.tf-industry-enterprise,.tf-process-enterprise,.tf-dual-cta-enterprise,.tf-insights-enterprise,.tf-content-enterprise)>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .tf-lower-section-head{
    display:block;
    margin-bottom:10px;
  }
  body:has(.tf-home-v3) .tf-lower-section-head h2{
    max-width:20ch;
    font-size:21px;
  }
  body:has(.tf-home-v3) .tf-lower-section-head p{
    font-size:9px;
  }
  body:has(.tf-home-v3) .tf-lower-section-head>a{
    width:100%;
    justify-content:center;
    margin-top:9px;
  }

  body:has(.tf-home-v3) .tf-industry-enterprise-grid,
  body:has(.tf-home-v3) .tf-process-enterprise-grid,
  body:has(.tf-home-v3) .tf-insights-enterprise-grid,
  body:has(.tf-home-v3) .tf-content-blog-grid{
    display:flex;
    gap:8px;
    width:auto;
    margin-right:-10px;
    padding:0 10px 6px 0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body:has(.tf-home-v3) :where(.tf-industry-enterprise-grid,.tf-process-enterprise-grid,.tf-insights-enterprise-grid,.tf-content-blog-grid)::-webkit-scrollbar{
    display:none;
  }
  body:has(.tf-home-v3) .tf-industry-enterprise-card,
  body:has(.tf-home-v3) .tf-process-enterprise-grid article,
  body:has(.tf-home-v3) .tf-insights-enterprise-grid article,
  body:has(.tf-home-v3) .tf-content-blog-card{
    flex:0 0 min(86vw,310px);
    width:min(86vw,310px);
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  body:has(.tf-home-v3) .tf-industry-enterprise-card{
    min-height:170px;
  }
  body:has(.tf-home-v3) .tf-process-enterprise-grid article{
    min-height:180px;
  }

  body:has(.tf-home-v3) .tf-dual-cta-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  body:has(.tf-home-v3) .tf-dual-cta-card{
    min-height:220px;
    padding:18px 15px;
  }
  body:has(.tf-home-v3) .tf-dual-cta-card h2{
    font-size:22px;
  }
  body:has(.tf-home-v3) .tf-dual-cta-card p{
    font-size:9px;
  }
  body:has(.tf-home-v3) .tf-dual-cta-card small{
    display:none;
  }

  body:has(.tf-home-v3) .tf-content-enterprise-layout{
    display:block;
  }
  body:has(.tf-home-v3) .tf-content-blog-media{
    height:150px;
  }
  body:has(.tf-home-v3) .tf-live-news-enterprise{
    margin-top:8px;
  }
  body:has(.tf-home-v3) .tf-live-news-list{
    max-height:320px;
    overflow-y:auto;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .tf-industry-enterprise-card,
  body:has(.tf-home-v3) .tf-process-enterprise-grid article,
  body:has(.tf-home-v3) .tf-insights-enterprise-grid article,
  body:has(.tf-home-v3) .tf-content-blog-card{
    flex-basis:90vw;
    width:90vw;
  }
}


/* ==========================================================
   Sprint 366C.13 — Custom Sourcing + Footer Newsletter repair
   Trade Secure footer trust badge removed from markup.
   ========================================================== */

/* Custom Sourcing: compact conversion panel */
body:has(.tf-home-v3) .tf-custom-sourcing-enterprise{
  padding:28px 0 34px;
  overflow:hidden;
  background:#f5f7fb;
}
body:has(.tf-home-v3) .tf-custom-sourcing-enterprise>.shell{
  width:min(1480px,calc(100% - 40px));
  margin-inline:auto;
  padding:0;
}
body:has(.tf-home-v3) .tf-custom-sourcing-card{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  gap:18px;
  align-items:center;
  min-height:210px;
  border:1px solid #dce4ed;
  border-radius:16px;
  background:#fff;
  padding:28px 30px;
}
body:has(.tf-home-v3) .tf-custom-sourcing-copy>span{
  display:block;
  margin-bottom:10px;
  color:#c58b00;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
body:has(.tf-home-v3) .tf-custom-sourcing-copy h2{
  max-width:24ch;
  margin:0;
  color:#0b1f3a;
  font-size:clamp(27px,2.2vw,38px);
  line-height:1.05;
  letter-spacing:-.035em;
}
body:has(.tf-home-v3) .tf-custom-sourcing-copy p{
  max-width:64ch;
  margin:11px 0 0;
  color:#607487;
  font-size:10px;
  line-height:1.55;
}
body:has(.tf-home-v3) .tf-custom-sourcing-actions{
  display:flex;
  min-height:128px;
  flex-direction:column;
  justify-content:center;
  border-radius:13px;
  background:#0b2f66;
  padding:18px;
}
body:has(.tf-home-v3) .tf-custom-sourcing-actions>a{
  display:flex;
  min-height:46px;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-radius:9px;
  background:#f4b72f;
  padding:0 14px;
  color:#0b1f3a;
  font-size:10px;
  font-weight:900;
  text-decoration:none;
}
body:has(.tf-home-v3) .tf-custom-sourcing-actions>small{
  margin-top:10px;
  color:#c8d6e5;
  font-size:7px;
  line-height:1.4;
}

/* Newsletter: eliminate overlapping placeholder / split button issue */
body:has(.tf-home-v3) .tf-footer-contact .tf-newsletter-title{
  display:block;
  margin:16px 0 8px;
  color:#fff;
  font-size:12px;
  line-height:1.25;
}
body:has(.tf-home-v3) .tf-footer-newsletter-v2{
  display:block;
  width:100%;
  margin:0;
}
body:has(.tf-home-v3) .tf-footer-newsletter-control{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  width:100%;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.25);
  border-radius:11px;
  background:#0b2448;
}
body:has(.tf-home-v3) .tf-footer-newsletter-control input{
  width:100%;
  min-width:0;
  height:44px;
  border:0;
  outline:0;
  background:transparent;
  padding:0 12px;
  color:#fff;
  font-size:10px;
}
body:has(.tf-home-v3) .tf-footer-newsletter-control input::placeholder{
  color:#8fa4bc;
  opacity:1;
}
body:has(.tf-home-v3) .tf-footer-newsletter-control button{
  min-width:112px;
  height:44px;
  border:0;
  border-radius:0;
  background:#f4b72f;
  padding:0 13px;
  color:#0b1f3a;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
body:has(.tf-home-v3) .tf-footer-newsletter-note{
  display:block;
  margin-top:7px;
  color:#94a9c0;
  font-size:8px;
  line-height:1.4;
}

@media(max-width:767px){
  body:has(.tf-home-v3) .tf-custom-sourcing-enterprise{
    padding:18px 0 22px;
  }
  body:has(.tf-home-v3) .tf-custom-sourcing-enterprise>.shell{
    width:calc(100% - 20px);
  }
  body:has(.tf-home-v3) .tf-custom-sourcing-card{
    display:block;
    min-height:0;
    padding:16px 14px;
    border-radius:13px;
  }
  body:has(.tf-home-v3) .tf-custom-sourcing-copy>span{
    margin-bottom:7px;
    font-size:7px;
  }
  body:has(.tf-home-v3) .tf-custom-sourcing-copy h2{
    max-width:17ch;
    font-size:22px;
  }
  body:has(.tf-home-v3) .tf-custom-sourcing-copy p{
    margin-top:8px;
    font-size:9px;
  }
  body:has(.tf-home-v3) .tf-custom-sourcing-actions{
    min-height:0;
    margin-top:12px;
    padding:12px;
  }
  body:has(.tf-home-v3) .tf-custom-sourcing-actions>a{
    width:100%;
    min-height:44px;
  }

  body:has(.tf-home-v3) .tf-footer-newsletter-control{
    grid-template-columns:1fr;
    overflow:visible;
    border:0;
    background:transparent;
  }
  body:has(.tf-home-v3) .tf-footer-newsletter-control input{
    height:42px;
    border:1px solid rgba(255,255,255,.24);
    border-radius:9px;
    background:#0b2448;
  }
  body:has(.tf-home-v3) .tf-footer-newsletter-control button{
    width:100%;
    min-width:0;
    height:42px;
    margin-top:7px;
    border-radius:9px;
  }
}


/* ==========================================================
   Sprint 366C.14 — Floating AI Yellow + White Theme
   Replaces blue AI floating button styling with brand gold.
   ========================================================== */

body:has(.tf-home-v3) :where(
  .tf-ai-fab,
  .ai-floating-button,
  .floating-ai-button,
  .tf-ai-assistant,
  [data-ai-fab]
){
  background:#f4b72f !important;
  color:#0b1f3a !important;
  border:2px solid #ffffff !important;
  box-shadow:0 10px 28px rgba(11,31,58,.18) !important;
}

body:has(.tf-home-v3) :where(
  .tf-ai-fab,
  .ai-floating-button,
  .floating-ai-button,
  .tf-ai-assistant,
  [data-ai-fab]
) :where(svg,path,i,span){
  color:#0b1f3a !important;
  fill:currentColor;
}

body:has(.tf-home-v3) :where(
  .tf-ai-fab,
  .ai-floating-button,
  .floating-ai-button,
  .tf-ai-assistant,
  [data-ai-fab]
)::before{
  background:#ffffff !important;
}

body:has(.tf-home-v3) :where(
  .tf-ai-fab,
  .ai-floating-button,
  .floating-ai-button,
  .tf-ai-assistant,
  [data-ai-fab]
):hover{
  background:#ffc83d !important;
  color:#071b46 !important;
  transform:translateY(-1px);
}

body:has(.tf-home-v3) :where(
  .tf-ai-fab,
  .ai-floating-button,
  .floating-ai-button,
  .tf-ai-assistant,
  [data-ai-fab]
):focus-visible{
  outline:3px solid rgba(244,183,47,.32);
  outline-offset:3px;
}

/* keep the online status indicator green */
body:has(.tf-home-v3) :where(
  .tf-ai-fab,
  .ai-floating-button,
  .floating-ai-button,
  .tf-ai-assistant,
  [data-ai-fab]
) :where(.status-dot,.online-dot,.ai-status-dot){
  background:#22c55e !important;
  border-color:#ffffff !important;
}

/* Common fixed floating AI container names used by the portal */
body:has(.tf-home-v3) :where(
  .tf-mobile-ai,
  .market-ai-launcher,
  .ai-launcher,
  .tf-ai-launcher
) > :where(button,a){
  background:#f4b72f !important;
  color:#0b1f3a !important;
  border:2px solid #ffffff !important;
  box-shadow:0 10px 28px rgba(11,31,58,.18) !important;
}

body:has(.tf-home-v3) :where(
  .tf-mobile-ai,
  .market-ai-launcher,
  .ai-launcher,
  .tf-ai-launcher
) > :where(button,a):hover{
  background:#ffc83d !important;
}

/* Explicit legacy blue override guard */
body:has(.tf-home-v3) :where(
  .tf-ai-fab,
  .ai-floating-button,
  .floating-ai-button,
  .tf-ai-assistant,
  [data-ai-fab],
  .tf-mobile-ai > button,
  .tf-mobile-ai > a,
  .market-ai-launcher > button,
  .market-ai-launcher > a
){
  --ai-fab-bg:#f4b72f;
  --ai-fab-fg:#0b1f3a;
  --ai-fab-ring:#ffffff;
}

@media(max-width:767px){
  body:has(.tf-home-v3) :where(
    .tf-ai-fab,
    .ai-floating-button,
    .floating-ai-button,
    .tf-ai-assistant,
    [data-ai-fab]
  ){
    border-width:2px !important;
    box-shadow:0 8px 22px rgba(11,31,58,.16) !important;
  }
}


/* ==========================================================
   Sprint 366C.15R — Premium Floating Dock repair
   ========================================================== */
body:has(.tf-home-v3) .market-floating-actions{
  position:fixed !important;
  right:18px !important;
  top:50% !important;
  z-index:90 !important;
  display:flex !important;
  flex-direction:column !important;
  width:58px !important;
  overflow:hidden !important;
  border:2px solid #ffffff !important;
  border-radius:18px !important;
  background:#f4b72f !important;
  box-shadow:0 16px 38px rgba(11,31,58,.20) !important;
  transform:translateY(-50%) !important;
}
body:has(.tf-home-v3) .market-floating-actions>a,
body:has(.tf-home-v3) .market-floating-actions>button{
  display:flex !important;
  width:58px !important;
  min-width:58px !important;
  height:58px !important;
  min-height:58px !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:4px !important;
  border:0 !important;
  border-bottom:1px solid rgba(11,31,58,.12) !important;
  border-radius:0 !important;
  background:#ffffff !important;
  padding:5px 2px !important;
  color:#0b1f3a !important;
  text-decoration:none !important;
  transition:background .18s ease,transform .18s ease !important;
}
body:has(.tf-home-v3) .market-floating-actions>a:first-child,
body:has(.tf-home-v3) .market-floating-actions>button:first-child{
  background:#f4b72f !important;
}
body:has(.tf-home-v3) .market-floating-actions>*:last-child{
  border-bottom:0 !important;
}
body:has(.tf-home-v3) .market-floating-actions :where(a,button):hover{
  background:#fff5d7 !important;
}
body:has(.tf-home-v3) .market-floating-actions :where(a,button)>span{
  display:grid !important;
  width:26px !important;
  height:26px !important;
  place-items:center !important;
  border-radius:8px !important;
  background:#fff7df !important;
  color:#0b1f3a !important;
  font-size:16px !important;
}
body:has(.tf-home-v3) .market-floating-actions>a:first-child>span,
body:has(.tf-home-v3) .market-floating-actions>button:first-child>span{
  background:#ffffff !important;
}
body:has(.tf-home-v3) .market-floating-actions small{
  display:block !important;
  color:#52677d !important;
  font-size:6px !important;
  font-weight:900 !important;
  letter-spacing:.04em !important;
}
body:has(.tf-home-v3) .market-floating-actions>a:first-child small,
body:has(.tf-home-v3) .market-floating-actions>button:first-child small{
  color:#0b1f3a !important;
}
body:has(.tf-home-v3) .market-floating-actions::before{
  content:"";
  display:block;
  width:100%;
  height:5px;
  flex:0 0 5px;
  background:#f4b72f;
}
@media(max-width:767px){
  body:has(.tf-home-v3) .market-floating-actions{
    display:none !important;
  }
}


/* ==========================================================
   Sprint 366C.16R — Split Marketplace Mobile Dock
   Reference pattern:
   [ Home | Products | Search | Account ] [ RFQ ]
   ========================================================== */

@media(max-width:767px){
  body:has(.tf-home-v3){
    padding-bottom:104px;
  }

  body:has(.tf-home-v3) .tf-mobile-market-dock{
    position:fixed;
    z-index:125;
    left:10px;
    right:10px;
    bottom:8px;
    display:grid;
    gap:7px;
    pointer-events:none;
  }

  /* Optional B2C/D2C cart strip above dock */
  body:has(.tf-home-v3) .tf-mobile-cart-float{
    display:flex;
    min-height:58px;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border:1px solid #dce4ed;
    border-radius:19px;
    background:#ffffff;
    padding:7px 8px 7px 10px;
    box-shadow:0 13px 34px rgba(11,31,58,.17);
    pointer-events:auto;
  }

  body:has(.tf-home-v3) .tf-mobile-cart-float-copy{
    display:flex;
    min-width:0;
    align-items:center;
    gap:8px;
  }

  body:has(.tf-home-v3) .tf-mobile-cart-float-copy>span{
    display:grid;
    width:40px;
    height:40px;
    flex:0 0 40px;
    place-items:center;
    border-radius:50%;
    background:#fff4d3;
    color:#0b1f3a;
  }

  body:has(.tf-home-v3) .tf-mobile-cart-float-copy svg{
    width:19px;
    height:19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  body:has(.tf-home-v3) .tf-mobile-cart-float-copy strong{
    display:block;
    color:#0b1f3a;
    font-size:10px;
    line-height:1.15;
  }

  body:has(.tf-home-v3) .tf-mobile-cart-float-copy small{
    display:block;
    margin-top:2px;
    color:#6b7f94;
    font-size:7px;
  }

  body:has(.tf-home-v3) .tf-mobile-cart-float>a{
    display:flex;
    min-height:42px;
    flex:0 0 auto;
    align-items:center;
    gap:7px;
    border-radius:14px;
    background:#0b2f66;
    padding:0 13px;
    color:#fff;
    font-size:9px;
    font-weight:900;
    text-decoration:none;
  }

  body:has(.tf-home-v3) .tf-mobile-cart-float>a b{
    display:grid;
    min-width:20px;
    height:20px;
    place-items:center;
    border-radius:999px;
    background:#f4b72f;
    color:#0b1f3a;
    font-size:7px;
  }

  /* Main split row */
  body:has(.tf-home-v3) .tf-mobile-market-dock-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 72px;
    gap:8px;
    align-items:end;
    pointer-events:none;
  }

  /* Left white premium pill with exactly 4 navigation actions */
  body:has(.tf-home-v3) .tf-mobile-market-pill{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    min-height:70px;
    overflow:hidden;
    border:1px solid #dce4ed;
    border-radius:24px;
    background:#ffffff;
    padding:6px;
    box-shadow:0 14px 38px rgba(11,31,58,.18);
    pointer-events:auto;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill>a{
    position:relative;
    display:flex;
    min-width:0;
    min-height:58px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    border-radius:18px;
    background:transparent;
    color:#142743;
    text-decoration:none;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill>a>span{
    position:relative;
    display:grid;
    width:31px;
    height:31px;
    place-items:center;
    border-radius:11px;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill>a>small{
    color:inherit;
    font-size:7px;
    font-weight:800;
    line-height:1;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill>a.is-active{
    background:#fff4d3;
    color:#0b2f66;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill>a.is-active>span{
    background:#ffffff;
    box-shadow:0 4px 12px rgba(11,47,102,.09);
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill>a:last-child>span>i{
    position:absolute;
    right:0;
    top:0;
    width:7px;
    height:7px;
    border:1.5px solid #fff;
    border-radius:50%;
    background:#ff335f;
  }

  /* Separate right-side RFQ button */
  body:has(.tf-home-v3) .tf-mobile-rfq-side{
    display:flex;
    width:72px;
    height:72px;
    min-width:72px;
    min-height:72px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    border:2px solid #ffffff;
    border-radius:24px;
    background:#f4b72f;
    color:#0b1f3a;
    box-shadow:0 14px 32px rgba(244,183,47,.36);
    text-decoration:none;
    pointer-events:auto;
  }

  body:has(.tf-home-v3) .tf-mobile-rfq-side>span{
    display:grid;
    width:35px;
    height:35px;
    place-items:center;
    border-radius:12px;
    background:#ffffff;
  }

  body:has(.tf-home-v3) .tf-mobile-rfq-side svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  body:has(.tf-home-v3) .tf-mobile-rfq-side>small{
    color:#0b1f3a;
    font-size:8px;
    font-weight:900;
    line-height:1;
  }

  body:has(.tf-home-v3) .tf-mobile-rfq-side:active{
    transform:scale(.97);
  }

  /* Kill legacy fixed nav if cached markup/styles somehow remain */
  body:has(.tf-home-v3) .mobile-app-nav.tf-mobile-dock{
    display:none !important;
  }
}

@media(max-width:430px){
  body:has(.tf-home-v3) .tf-mobile-market-dock-row{
    grid-template-columns:minmax(0,1fr) 68px;
    gap:7px;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill{
    min-height:68px;
    border-radius:22px;
  }

  body:has(.tf-home-v3) .tf-mobile-rfq-side{
    width:68px;
    height:68px;
    min-width:68px;
    min-height:68px;
    border-radius:22px;
  }
}

@media(max-width:390px){
  body:has(.tf-home-v3) .tf-mobile-market-dock{
    left:7px;
    right:7px;
    bottom:6px;
  }

  body:has(.tf-home-v3) .tf-mobile-market-dock-row{
    grid-template-columns:minmax(0,1fr) 64px;
    gap:6px;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill{
    min-height:64px;
    border-radius:20px;
    padding:5px;
  }

  body:has(.tf-home-v3) .tf-mobile-market-pill>a{
    min-height:54px;
    border-radius:16px;
  }

  body:has(.tf-home-v3) .tf-mobile-rfq-side{
    width:64px;
    height:64px;
    min-width:64px;
    min-height:64px;
    border-radius:20px;
  }
}


/* ==========================================================
   Sprint 366C.25 — Permanent Desktop Mobile-Dock Guard
   Mobile navigation must never participate in desktop layout.
   ========================================================== */
@media (min-width:768px){
  .tf-mobile-market-dock,
  .tf-mobile-market-dock-row,
  .tf-mobile-market-pill,
  .tf-mobile-rfq-side,
  .tf-mobile-cart-float,
  .mobile-app-nav,
  .tf-mobile-dock{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
    position:absolute !important;
    width:0 !important;
    min-width:0 !important;
    max-width:0 !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
  }

  .tf-mobile-market-dock *,
  .tf-mobile-market-dock svg,
  .tf-mobile-market-pill *,
  .tf-mobile-market-pill svg,
  .tf-mobile-rfq-side *,
  .tf-mobile-rfq-side svg,
  .mobile-app-nav *,
  .mobile-app-nav svg,
  .tf-mobile-dock *,
  .tf-mobile-dock svg{
    display:none !important;
    width:0 !important;
    height:0 !important;
    max-width:0 !important;
    max-height:0 !important;
    overflow:hidden !important;
  }
}
