/*
Theme Name: TrendingFindz Bargain Hunt
Text Domain: trendingfindz-bargain-hunt
Description: Clean, quirky, deal-first affiliate theme for TrendingFindz.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
*/
:root{--ink:#111318;--muted:#6b7280;--line:#e7e7e9;--soft:#f7f7f8;--yellow:#ffd400;--yellow2:#fff4a8;--blue:#2864ff;--red:#ef4444;--green:#0b8f63;--radius:16px;--shell:1120px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit}img{max-width:100%;height:auto}.tf-shell{width:min(var(--shell),calc(100% - 32px));margin:auto}
.tf-site-header{height:68px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);position:sticky;top:0;z-index:50}.tf-header-inner{height:100%;display:flex;align-items:center;gap:28px}.tf-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:900;letter-spacing:-.04em;font-size:20px}.tf-mark{width:26px;height:26px;border-radius:50%;background:linear-gradient(#ff4f43 0 46%,#111 46% 54%,#fff 54%);border:3px solid #111;position:relative}.tf-mark:after{content:"";position:absolute;inset:7px;background:var(--yellow);border:2px solid #111;border-radius:50%}.tf-nav{margin-left:auto;display:flex;gap:24px;align-items:center}.tf-nav a{text-decoration:none;font-size:13px;font-weight:800}.tf-nav a:hover{color:var(--blue)}.tf-header-cta{background:var(--yellow);border:2px solid #111;border-radius:10px;padding:9px 14px;text-decoration:none;font-size:12px;font-weight:900;box-shadow:2px 2px 0 #111}.tf-mobile-menu{display:none;margin-left:auto}
.tf-hero{padding:64px 0 32px;text-align:center}.tf-kicker{display:inline-block;background:var(--yellow2);border:1px solid #ead45c;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.tf-hero h1{font-size:clamp(46px,7vw,80px);line-height:.93;letter-spacing:-.065em;margin:18px auto 16px;max-width:920px;font-weight:900}.tf-hero h1 .pop{background:var(--yellow);padding:0 .08em;border-radius:.15em;box-decoration-break:clone;-webkit-box-decoration-break:clone}.tf-hero p{max-width:690px;margin:0 auto;color:#555;font-size:17px;line-height:1.7}.tf-search-wrap{max-width:820px;margin:30px auto 0}.tf-search{display:flex;background:#fff;border:2px solid #111;border-radius:14px;overflow:hidden;box-shadow:4px 4px 0 #111}.tf-search input{flex:1;border:0;outline:0;font:inherit;font-size:15px;padding:17px 18px}.tf-search button{border:0;border-left:2px solid #111;background:var(--yellow);font:inherit;font-size:13px;font-weight:900;padding:0 22px;cursor:pointer}.tf-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:20px auto 0;max-width:950px}.tf-pill{text-decoration:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:800}.tf-pill:hover,.tf-pill.active{border-color:#111;background:#111;color:#fff}.tf-pill.yellow{background:#fff7bf;border-color:#efd45d;color:#111}
.tf-staff-strip{max-width:940px;margin:28px auto 0;padding:12px 14px;background:var(--soft);border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.tf-staff-title{font-size:12px;font-weight:900}.tf-staff-link{font-size:12px;font-weight:800;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 10px}.tf-staff-link:hover{border-color:#111}
.tf-section{padding:54px 0}.tf-section.alt{background:var(--soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.tf-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.tf-section-head h2{margin:0;font-size:34px;line-height:1;letter-spacing:-.045em;font-weight:900}.tf-section-head p{margin:8px 0 0;color:var(--muted);font-size:14px}.tf-section-link{font-size:13px;font-weight:900;text-decoration:none}.tf-section-link:hover{color:var(--blue)}
.tf-deal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tf-deal-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.tf-deal-card:hover{transform:translateY(-2px);border-color:#cfd0d4;box-shadow:0 12px 28px rgba(17,19,24,.08)}.tf-deal-media{display:block;position:relative;aspect-ratio:1/1;background:#fff;overflow:hidden}.tf-deal-media img{width:100%;height:100%;object-fit:contain;padding:16px}.tf-badge{position:absolute;top:10px;left:10px;background:var(--yellow);border:1.5px solid #111;border-radius:999px;padding:6px 8px;font-size:10px;font-weight:900;box-shadow:1.5px 1.5px 0 #111}.tf-badge.red{background:#ffe4e4;color:#9f1239}.tf-card-body{padding:14px}.tf-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-decoration:none;font-size:14px;line-height:1.42;font-weight:800;min-height:40px}.tf-price-row{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-top:12px}.tf-price{font-size:21px;font-weight:900}.tf-was{font-size:12px;color:#9ca3af;text-decoration:line-through}.tf-save{font-size:10px;font-weight:900;color:var(--green);background:#e7f7f0;border-radius:999px;padding:4px 6px}.tf-card-btn{display:block;text-align:center;margin-top:12px;background:#111;color:#fff;border-radius:9px;padding:10px 12px;text-decoration:none;font-size:12px;font-weight:900}.tf-card-btn:hover{background:var(--blue)}.tf-card-note{display:none}
.tf-under20-title span{background:var(--yellow);border-radius:7px;padding:0 7px 2px}.tf-guides-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tf-guide{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.tf-guide>a{display:block;aspect-ratio:16/9;overflow:hidden;background:#eee}.tf-guide img{width:100%;height:100%;object-fit:cover}.tf-guide-body{padding:16px}.tf-guide-tag{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:var(--blue)}.tf-guide h3{font-size:18px;line-height:1.25;letter-spacing:-.025em;margin:8px 0}.tf-guide h3 a{text-decoration:none}.tf-guide p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.tf-read{display:inline-block;margin-top:12px;font-size:12px;font-weight:900;text-decoration:none}.tf-read:hover{color:var(--blue)}
.tf-footer{border-top:1px solid var(--line);padding:34px 0 26px;margin-top:40px}.tf-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:28px}.tf-footer h4{font-size:12px;text-transform:uppercase;letter-spacing:.1em;margin:0 0 10px}.tf-footer p,.tf-footer a{font-size:12px;line-height:1.7;color:var(--muted)}.tf-footer a{text-decoration:none}.tf-footer a:hover{color:#111}.tf-footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);margin-top:24px;padding-top:18px;font-size:11px;color:#8b8f97}
.tf-page-head{padding:52px 0 28px;border-bottom:1px solid var(--line)}.tf-page-head h1{margin:0;font-size:44px;letter-spacing:-.05em}.tf-content{padding:38px 0}.tf-prose{max-width:760px;margin:auto;font-size:16px;line-height:1.8;color:#333}.tf-prose h2{font-size:28px;line-height:1.2;letter-spacing:-.035em;margin-top:36px}.tf-prose h3{font-size:21px;margin-top:28px}.tf-prose img{border-radius:14px}.tf-prose a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:3px}.tf-post-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tf-post-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.tf-post-card .thumb{display:block;aspect-ratio:16/9;background:#eee}.tf-post-card .thumb img{width:100%;height:100%;object-fit:cover}.tf-post-card .body{padding:16px}.tf-post-card h2{font-size:18px;margin:0}.tf-post-card h2 a{text-decoration:none}.tf-post-card p{font-size:13px;color:var(--muted);line-height:1.6}
.woocommerce .woocommerce-breadcrumb{font-size:12px;color:#8b8f97;margin-bottom:22px}.woocommerce .woocommerce-breadcrumb a{color:#555}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;float:none!important;margin:0!important;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff}.woocommerce ul.products li.product img{border-radius:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.4}.woocommerce ul.products li.product .price{font-size:18px!important;color:#111!important;font-weight:900!important}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#111!important;color:#fff!important;border-radius:9px!important;font-weight:800!important}.woocommerce div.product .product_title{font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.05em}.woocommerce div.product p.price{font-size:26px!important;color:#111!important;font-weight:900!important}.woocommerce div.product div.images img{border-radius:14px}
@media(max-width:900px){.tf-deal-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tf-guides-grid,.tf-post-list{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.tf-nav,.tf-header-cta{display:none}.tf-mobile-menu{display:block}.tf-hero{padding:46px 0 22px}.tf-hero h1{font-size:49px}.tf-hero p{font-size:15px}.tf-search{box-shadow:3px 3px 0 #111}.tf-search button{padding:0 15px}.tf-section{padding:40px 0}.tf-section-head{align-items:flex-start;flex-direction:column}.tf-section-head h2{font-size:30px}.tf-deal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tf-card-body{padding:11px}.tf-price{font-size:18px}.tf-guides-grid,.tf-post-list{grid-template-columns:1fr}.tf-footer-grid{grid-template-columns:1fr}.tf-footer-bottom{flex-direction:column}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}}

/* TF PERMANENT MOVING FINDS CARD SYSTEM */
body.home .tf14-carousel{padding-top:12px!important;overflow:hidden!important}
body.home .tf14-grid{align-items:stretch!important}
body.home .tf14-card{height:438px!important;min-height:438px!important;max-height:438px!important;transform:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
body.home .tf14-card:nth-child(n){transform:none!important}
body.home .tf14-card:hover{transform:translateY(-3px)!important}
body.home .tf14-card-tab{top:8px!important;left:10px!important;z-index:3!important}
body.home .tf14-card-media{aspect-ratio:auto!important;height:190px!important;min-height:190px!important;max-height:190px!important;flex:0 0 190px!important;padding:12px!important;overflow:hidden!important}
body.home .tf14-card-media img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;display:block!important}
body.home .tf14-card-body{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;padding:12px 12px 11px!important;overflow:hidden!important}
body.home .tf14-card-meta{flex:0 0 auto!important}
body.home .tf14-card-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;min-height:50.7px!important;max-height:50.7px!important}
body.home .tf14-card-price{flex:0 0 auto!important;min-height:21px!important}
body.home .tf14-card-body>div[style*="font-size:9px"]{height:24px!important;min-height:24px!important;max-height:24px!important;overflow:hidden!important;line-height:1.25!important}
body.home .tf14-card-promo{flex:0 0 auto!important;max-height:38px!important;overflow:hidden!important}
body.home .tf14-card-link{margin-top:auto!important;padding-top:9px!important;min-height:35px!important;flex:0 0 auto!important}
body.home .tf14-card-link .arrow{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;font-size:14px!important}
body.home .tf14-side-btn{display:none!important}
body.home .tf14-motion-controls{display:flex!important;align-items:center!important;gap:10px!important}
body.home .tf14-motion-btn{width:34px!important;height:34px!important;min-width:34px!important;border:1.5px solid rgba(23,23,23,.35)!important;background:#ffd94a!important;color:#171717!important;box-shadow:none!important;font-size:15px!important;line-height:1!important}
body.home .tf14-motion-btn:disabled{background:#fff1b0!important;color:#786f56!important;opacity:.7!important}
@media(max-width:900px){body.home .tf14-card{height:415px!important;min-height:415px!important;max-height:415px!important}body.home .tf14-card-media{height:170px!important;min-height:170px!important;max-height:170px!important;flex-basis:170px!important}}
@media(max-width:700px){body.home .tf14-card{height:390px!important;min-height:390px!important;max-height:390px!important}body.home .tf14-card-media{height:150px!important;min-height:150px!important;max-height:150px!important;flex-basis:150px!important}body.home .tf14-card-title{font-size:12px!important;min-height:46.8px!important;max-height:46.8px!important}}

/* TF UNIFIED AFFILIATE DISCLOSURE */
#tf-affiliate-disclosure-bar,
.tffn-disclosure{
  background:#ffd94a!important;
  color:#171717!important;
  border-bottom:2px solid #171717!important;
  font-weight:800!important;
  line-height:1.35!important;
}
#tf-affiliate-disclosure-bar .tfad-inner{
  font-weight:800!important;
}
#tf-affiliate-disclosure-bar strong{
  font-weight:900!important;
}
.tffn-disclosure{
  padding:9px 14px!important;
  text-align:left!important;
  font-size:12px!important;
  letter-spacing:0!important;
}
