/* P99 — Product information architecture refinement. Keeps the existing TradesFolks navy/yellow design. */
.product-page-v2 .tf-product-info-premium-full,.product-page-v2 .tf-product-info-premium-wrap,.product-page-v2 .tf-product-info-inner,.product-page-v2 .product-content-card,.product-page-v2 .product-tab-panel,.product-page-v2 .product-copy-block{box-sizing:border-box;min-width:0;max-width:100%}
.product-page-v2 .tf-product-info-premium-full,.product-page-v2 .tf-product-info-premium-wrap,.product-page-v2 .tf-product-info-inner,.product-page-v2 .product-content-card{overflow:hidden}
.product-page-v2 .tf-product-info-inner{width:100%;grid-template-columns:minmax(0,1fr)!important}
.product-page-v2 .tf-p99-info-card{width:100%;border:1px solid #dbe5f0;border-radius:22px;background:#fff}
.product-page-v2 .tf-p99-tabs{display:flex;gap:10px;width:100%;max-width:100%;padding:12px 16px;border-bottom:1px solid #e4ebf3;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.product-page-v2 .tf-p99-tabs::-webkit-scrollbar{display:none}.product-page-v2 .tf-p99-tabs button{flex:0 0 auto;white-space:nowrap}
.product-page-v2 .tf-p99-panel-stage{width:100%;min-width:0;overflow:hidden}.product-page-v2 .product-tab-panel{width:100%;overflow:hidden}.product-page-v2 .product-tab-panel[hidden]{display:none!important}
.product-page-v2 .tf-p99-copy{width:100%;padding:34px 34px 28px!important;overflow-wrap:anywhere}.product-page-v2 .tf-p99-copy h2{margin:5px 0 14px;font-size:clamp(24px,2vw,32px);line-height:1.15;color:#082b53}.product-page-v2 .tf-p99-eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:.1em;color:#d89300}.product-page-v2 .tf-p99-copy .rich-text{max-width:1180px;color:#627893;line-height:1.75;font-size:15px}
.product-page-v2 .tf-p99-feature-grid{margin:0 34px 34px!important;border:1px solid #e3eaf2;border-radius:16px;overflow:hidden}.product-page-v2 .tf-p99-feature-grid>div{min-width:0}
.product-page-v2 .tf-p99-spec-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e2e9f1;border-radius:16px;overflow:hidden;margin-top:22px}.product-page-v2 .tf-p99-spec-table>div{display:grid!important;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);min-width:0;padding:0!important;border-bottom:1px solid #e8eef5}.product-page-v2 .tf-p99-spec-table>div:nth-child(odd){border-right:1px solid #e8eef5}.product-page-v2 .tf-p99-spec-table dt,.product-page-v2 .tf-p99-spec-table dd{margin:0;padding:14px 16px;min-width:0;overflow-wrap:anywhere}.product-page-v2 .tf-p99-spec-table dt{background:#f7f9fc;color:#6b7f97;font-weight:700}.product-page-v2 .tf-p99-spec-table dd{color:#082b53;font-weight:750}
.product-page-v2 .tf-p99-rating-layout{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:24px;margin-top:20px;padding:24px;border:1px solid #e2e9f1;border-radius:18px;background:#fbfcfe}.product-page-v2 .tf-p99-rating-score{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:5px;padding-right:24px;border-right:1px solid #dfe7f0}.product-page-v2 .tf-p99-rating-score strong{font-size:48px;line-height:1;color:#082b53}.product-page-v2 .tf-p99-rating-score>span{font-size:22px;color:#ffb400}.product-page-v2 .tf-p99-rating-score small{grid-column:1/-1;color:#7b8da3}.product-page-v2 .tf-p99-rating-copy b{color:#082b53}.product-page-v2 .tf-p99-rating-copy p{margin:7px 0 0;color:#7b8da3}.product-page-v2 .tf-p99-stars{margin-top:6px;letter-spacing:2px;color:#cbd5e1}.product-page-v2 .tf-p99-stars .is-filled{color:#ffb400}.product-page-v2 .tf-p99-question-cta{display:flex;align-items:center;gap:28px;padding:15px 18px;border:1px solid #cfdbea;border-radius:13px;background:#fff;color:#075fc8;font-weight:800;white-space:nowrap}.product-page-v2 .tf-p99-question-cta span{font-size:20px}
.product-page-v2 .tf-p99-supplier-stats{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.product-page-v2 .tf-p99-supplier-stats span{display:flex;flex-direction:column;min-width:140px;padding:14px 16px;border:1px solid #e1e9f2;border-radius:14px;background:#f8fafc}.product-page-v2 .tf-p99-supplier-stats b{font-size:20px;color:#082b53}.product-page-v2 .tf-p99-supplier-stats small{color:#7b8da3}.product-page-v2 .supplier-panel-actions{display:flex;flex-wrap:wrap;gap:10px;padding:0 34px 34px;max-width:100%}.product-page-v2 .tf-p99-empty{padding:24px;border:1px dashed #cfdbea;border-radius:16px;background:#fbfcfe}.product-page-v2 .tf-p99-empty b{color:#082b53}.product-page-v2 .tf-p99-empty p{color:#73869e}
@media(max-width:900px){.product-page-v2 .tf-p99-spec-table{grid-template-columns:1fr}.product-page-v2 .tf-p99-spec-table>div:nth-child(odd){border-right:0}.product-page-v2 .tf-p99-rating-layout{grid-template-columns:120px minmax(0,1fr)}.product-page-v2 .tf-p99-question-cta{grid-column:1/-1;justify-content:space-between}}
@media(max-width:768px){.product-page-v2 .tf-product-info-premium-head{padding:22px 18px!important}.product-page-v2 .tf-product-info-premium-head h2{font-size:clamp(25px,7vw,36px)!important;line-height:1.08!important}.product-page-v2 .tf-product-info-inner{padding:14px!important}.product-page-v2 .tf-p99-tabs{padding:10px}.product-page-v2 .tf-p99-copy{padding:22px 18px!important}.product-page-v2 .tf-p99-feature-grid{margin:0 18px 22px!important}.product-page-v2 .tf-p99-spec-table>div{grid-template-columns:minmax(105px,.8fr) minmax(0,1.2fr)}.product-page-v2 .tf-p99-spec-table dt,.product-page-v2 .tf-p99-spec-table dd{padding:12px}.product-page-v2 .tf-p99-rating-layout{grid-template-columns:1fr;gap:16px;padding:18px}.product-page-v2 .tf-p99-rating-score{border-right:0;border-bottom:1px solid #dfe7f0;padding:0 0 16px}.product-page-v2 .tf-p99-question-cta{grid-column:auto;width:100%}.product-page-v2 .supplier-panel-actions{padding:0 18px 22px}.product-page-v2 .supplier-panel-actions .button{flex:1 1 160px;text-align:center}}

/* P100 — Compact recommendation carousels + full mobile containment. */
.product-page-v2{overflow-x:clip}
.product-page-v2 .tf-product-carousel-shell{padding:10px 0!important;background:transparent!important;overflow:hidden}
.product-page-v2 .tf-product-carousel-inner{width:min(100% - 32px,1480px)!important;max-width:1480px!important;margin-inline:auto!important;padding:18px 20px!important;border:1px solid #dce6f0;border-radius:20px;background:#fff;box-sizing:border-box;overflow:hidden}
.product-page-v2 .tf-related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 14px!important}
.product-page-v2 .tf-related-head>div:first-child{min-width:0}.product-page-v2 .tf-related-head span{display:block;margin-bottom:3px;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#d89300}.product-page-v2 .tf-related-head h2{margin:0;color:#082b53;font-size:clamp(21px,1.7vw,27px);line-height:1.15}.product-page-v2 .tf-related-head p{margin:5px 0 0;color:#71849b;font-size:13px;line-height:1.4}
.product-page-v2 .tf-related-controls{display:flex;flex:0 0 auto;gap:7px}.product-page-v2 .tf-related-controls button{width:36px;height:36px;border:1px solid #d8e3ee;border-radius:11px;background:#fff;color:#082b53;font-size:17px;font-weight:800;cursor:pointer}.product-page-v2 .tf-related-controls button:hover{border-color:#ffb800;background:#fff9e8}
.product-page-v2 .tf-related-track{display:flex!important;grid-template-columns:none!important;gap:12px!important;max-width:100%;margin:0!important;padding:1px 1px 5px!important;overflow-x:auto!important;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.product-page-v2 .tf-related-track::-webkit-scrollbar{display:none}.product-page-v2 .tf-related-track>.product-card,.product-page-v2 .tf-related-track>.product-card-detailed{flex:0 0 clamp(190px,17vw,238px)!important;min-width:0!important;max-width:238px!important;scroll-snap-align:start;margin:0!important}
.product-page-v2 .tf-discovery-products-section .tf-product-carousel-inner{background:#f8fbff;border-color:#d9e6f3}.product-page-v2 .tf-discovery-products-section .tf-related-track>.product-card,.product-page-v2 .tf-discovery-products-section .tf-related-track>.product-card-detailed{flex-basis:clamp(180px,16vw,220px)!important;max-width:220px!important}
@media(max-width:768px){
 .product-page-v2 .tf-product-carousel-shell{padding:7px 0!important}
 .product-page-v2 .tf-product-carousel-inner{width:calc(100% - 20px)!important;padding:14px 12px!important;border-radius:16px}
 .product-page-v2 .tf-related-head{align-items:center;gap:10px;margin-bottom:11px!important}.product-page-v2 .tf-related-head span{font-size:9px}.product-page-v2 .tf-related-head h2{font-size:20px}.product-page-v2 .tf-related-head p{display:none}
 .product-page-v2 .tf-related-controls{gap:5px}.product-page-v2 .tf-related-controls button{width:32px;height:32px;border-radius:10px;font-size:15px}
 .product-page-v2 .tf-related-track{gap:10px!important;padding-bottom:3px!important;scroll-padding-inline:1px}
 .product-page-v2 .tf-related-track>.product-card,.product-page-v2 .tf-related-track>.product-card-detailed,.product-page-v2 .tf-discovery-products-section .tf-related-track>.product-card,.product-page-v2 .tf-discovery-products-section .tf-related-track>.product-card-detailed{flex:0 0 min(72vw,210px)!important;max-width:min(72vw,210px)!important}
 .product-page-v2 .tf-p99-info-card,.product-page-v2 .tf-product-info-premium-wrap,.product-page-v2 .tf-product-info-premium-full{max-width:100%!important;min-width:0!important}
}
@media(max-width:420px){.product-page-v2 .tf-product-carousel-inner{width:calc(100% - 16px)!important;padding:12px 10px!important}.product-page-v2 .tf-related-head h2{font-size:18px}.product-page-v2 .tf-related-track>.product-card,.product-page-v2 .tf-related-track>.product-card-detailed,.product-page-v2 .tf-discovery-products-section .tf-related-track>.product-card,.product-page-v2 .tf-discovery-products-section .tf-related-track>.product-card-detailed{flex-basis:74vw!important;max-width:74vw!important}}


/* P101 — Equal-width discovery sections + compact sourcing banner + mobile hardening. */
.product-page-v2{--tf-pdp-section-max:1480px;--tf-pdp-gutter:16px}
.product-page-v2 .tf-product-carousel-inner,
.product-page-v2 .tf-sourcing-banner{width:min(calc(100% - (var(--tf-pdp-gutter) * 2)),var(--tf-pdp-section-max))!important;max-width:var(--tf-pdp-section-max)!important;margin-inline:auto!important;box-sizing:border-box}
.product-page-v2 .tf-product-carousel-shell{width:100%;max-width:100%;overflow:hidden}
.product-page-v2 .tf-sourcing-banner-shell{padding:6px 0!important}
.product-page-v2 .tf-sourcing-banner{min-height:76px;padding:13px 16px!important;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #d9e5f1;border-radius:17px;background:linear-gradient(100deg,#082b53 0%,#0b3767 68%,#0e477d 100%);box-shadow:0 8px 24px rgba(8,43,83,.08);overflow:hidden}
.product-page-v2 .tf-sourcing-banner-copy{display:flex;align-items:center;gap:12px;min-width:0;color:#fff}
.product-page-v2 .tf-sourcing-banner-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#ffbf19;color:#082b53}.product-page-v2 .tf-sourcing-banner-icon svg{width:23px;height:23px}
.product-page-v2 .tf-sourcing-banner-copy div{min-width:0}.product-page-v2 .tf-sourcing-banner-copy b{display:block;font-size:16px;line-height:1.25}.product-page-v2 .tf-sourcing-banner-copy small{display:block;margin-top:3px;color:#d8e7f6;font-size:12.5px;line-height:1.35}
.product-page-v2 .tf-sourcing-banner-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-height:42px;padding:0 16px;border-radius:12px;background:#ffbf19;color:#082b53;text-decoration:none;font-size:13px;font-weight:900;white-space:nowrap;box-shadow:inset 0 -1px 0 rgba(0,0,0,.08)}
.product-page-v2 .tf-sourcing-banner-cta:hover{background:#ffc936;transform:translateY(-1px)}
.product-page-v2 .tf-related-carousel-section .tf-product-carousel-inner{padding:16px 18px!important}
.product-page-v2 .tf-related-carousel-section .tf-related-head{margin-bottom:11px!important}
.product-page-v2 .tf-related-track{max-width:100%!important;min-width:0!important}
@media(max-width:768px){
 .product-page-v2{--tf-pdp-gutter:10px}
 .product-page-v2 .tf-product-carousel-inner,.product-page-v2 .tf-sourcing-banner{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important}
 .product-page-v2 .tf-related-carousel-section .tf-product-carousel-inner{padding:13px 11px!important}
 .product-page-v2 .tf-sourcing-banner-shell{padding:5px 0!important}
 .product-page-v2 .tf-sourcing-banner{min-height:0;padding:12px!important;gap:11px;border-radius:15px;align-items:stretch}
 .product-page-v2 .tf-sourcing-banner-copy{gap:9px}.product-page-v2 .tf-sourcing-banner-icon{flex-basis:36px;width:36px;height:36px;border-radius:11px}.product-page-v2 .tf-sourcing-banner-icon svg{width:20px;height:20px}
 .product-page-v2 .tf-sourcing-banner-copy b{font-size:14px}.product-page-v2 .tf-sourcing-banner-copy small{font-size:11.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .product-page-v2 .tf-sourcing-banner-cta{min-height:38px;padding:0 12px;font-size:12px;border-radius:10px}
}
@media(max-width:520px){
 .product-page-v2 .tf-sourcing-banner{display:grid;grid-template-columns:1fr;padding:11px!important}
 .product-page-v2 .tf-sourcing-banner-copy{align-items:flex-start}.product-page-v2 .tf-sourcing-banner-cta{width:100%;min-height:38px}
 .product-page-v2 .tf-related-head{align-items:flex-start}.product-page-v2 .tf-related-controls{margin-top:1px}
 .product-page-v2 .tf-related-track>.product-card,.product-page-v2 .tf-related-track>.product-card-detailed{flex-basis:min(78vw,205px)!important;max-width:min(78vw,205px)!important}
}
@media(max-width:360px){.product-page-v2{--tf-pdp-gutter:8px}.product-page-v2 .tf-product-carousel-inner,.product-page-v2 .tf-sourcing-banner{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important}.product-page-v2 .tf-related-track>.product-card,.product-page-v2 .tf-related-track>.product-card-detailed{flex-basis:80vw!important;max-width:80vw!important}}

/* P102 — Post-product sections: equal width, restored discovery rail, compact offer banner, mobile containment.
   These selectors are intentionally NOT nested under .product-page-v2 because these sections render after that wrapper closes. */
.tf-p102-section,.tf-p102-offer-shell,.tf-seller-products-section,.tf-related-carousel-section{box-sizing:border-box;max-width:100%;overflow:hidden}
.tf-related-carousel-section .tf-product-carousel-inner,.tf-p102-offer-banner{width:min(calc(100% - 48px),1480px)!important;max-width:1480px!important;margin-inline:auto!important;box-sizing:border-box}
.tf-related-carousel-section .tf-product-carousel-inner{padding:20px 24px!important;border:1px solid #dce6f0;border-radius:22px;background:#fff;overflow:hidden}
.tf-related-carousel-section .tf-related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 14px!important}
.tf-related-carousel-section .tf-related-head>div:first-child{min-width:0}.tf-related-carousel-section .tf-related-head span{display:block;margin-bottom:4px;color:#bd7d00;font-size:11px;font-weight:900;letter-spacing:.06em}.tf-related-carousel-section .tf-related-head h2{margin:0;color:#082b53;font-size:clamp(22px,1.8vw,30px);line-height:1.15}.tf-related-carousel-section .tf-related-head p{margin:5px 0 0;color:#71849b;font-size:13px}
.tf-related-carousel-section .tf-related-controls{display:flex;gap:8px;flex:0 0 auto}.tf-related-carousel-section .tf-related-controls button{width:38px;height:38px;border:1px solid #d8e3ee;border-radius:11px;background:#fff;color:#082b53;font-weight:800;cursor:pointer}
.tf-related-carousel-section .tf-related-track{display:flex!important;gap:12px!important;max-width:100%;min-width:0;margin:0!important;padding:1px 1px 5px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}.tf-related-carousel-section .tf-related-track::-webkit-scrollbar{display:none}.tf-related-carousel-section .tf-related-track>.product-card,.tf-related-carousel-section .tf-related-track>.product-card-detailed{flex:0 0 clamp(190px,17vw,238px)!important;max-width:238px!important;min-width:0!important;margin:0!important;scroll-snap-align:start}
.tf-discovery-products-section .tf-product-carousel-inner{background:#f8fbff;border-color:#d9e6f3}
.tf-p102-offer-shell{padding:7px 0!important;background:transparent!important}
.tf-p102-offer-banner{min-height:72px;padding:11px 14px!important;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid #f2c04d;border-radius:18px;background:linear-gradient(100deg,#fff9e9 0%,#fff 58%,#f8fbff 100%);box-shadow:0 10px 26px rgba(8,43,83,.07);overflow:hidden}
.tf-p102-offer-gift{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#ffb800;color:#082b53}.tf-p102-offer-gift svg{display:block!important;width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important}
.tf-p102-offer-copy{display:flex;align-items:baseline;gap:18px;min-width:0}.tf-p102-offer-copy span{color:#607a98;font-size:13px;font-weight:800;white-space:nowrap}.tf-p102-offer-copy strong{color:#082b53;font-size:clamp(17px,1.5vw,23px);line-height:1.15;min-width:0}
.tf-p102-offer-cta{min-height:44px;padding:0 22px;border:0;border-radius:13px;background:#0a3c78;color:#fff;font-size:13px;font-weight:900;white-space:nowrap;cursor:pointer}.tf-p102-offer-cta span{margin-left:8px;color:#ffb800}
@media(max-width:768px){.tf-related-carousel-section .tf-product-carousel-inner,.tf-p102-offer-banner{width:calc(100% - 20px)!important;max-width:calc(100% - 20px)!important}.tf-related-carousel-section .tf-product-carousel-inner{padding:14px 12px!important;border-radius:16px}.tf-related-carousel-section .tf-related-head{align-items:center;margin-bottom:11px!important}.tf-related-carousel-section .tf-related-head h2{font-size:20px}.tf-related-carousel-section .tf-related-head p{display:none}.tf-related-carousel-section .tf-related-controls button{width:32px;height:32px}.tf-related-carousel-section .tf-related-track>.product-card,.tf-related-carousel-section .tf-related-track>.product-card-detailed{flex:0 0 min(72vw,210px)!important;max-width:min(72vw,210px)!important}.tf-p102-offer-banner{min-height:0;padding:10px 11px!important;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;border-radius:15px}.tf-p102-offer-gift{width:38px;height:38px;border-radius:11px}.tf-p102-offer-gift svg{width:22px!important;height:22px!important}.tf-p102-offer-copy{display:block}.tf-p102-offer-copy span{display:block;font-size:10.5px;white-space:normal}.tf-p102-offer-copy strong{display:block;margin-top:2px;font-size:14px}.tf-p102-offer-cta{min-height:38px;padding:0 12px;font-size:11.5px;border-radius:10px}}
@media(max-width:480px){.tf-p102-offer-banner{grid-template-columns:auto minmax(0,1fr)}.tf-p102-offer-cta{grid-column:1/-1;width:100%}.tf-related-carousel-section .tf-related-track>.product-card,.tf-related-carousel-section .tf-related-track>.product-card-detailed{flex-basis:min(78vw,205px)!important;max-width:min(78vw,205px)!important}}
