/* TechDealsGo v5 — unified page design. Includes tested v3 foundation and v4 changes followed by normalized site tokens. */
/* TECHDEALSGO v3 — shared 159 non-homepage pages, preserves source page content */
:root{--tdg-navy:#071936;--tdg-deep:#092449;--tdg-blue:#2166ef;--tdg-yellow:#ffd151;--tdg-text:#102143;--tdg-muted:#65738d;--tdg-border:#e4eaf4;--tdg-bg:#f5f7fc;--tdg-card:#fff}
html.tdg-v2-subpage{scroll-behavior:smooth}html.tdg-v2-subpage,html.tdg-v2-subpage body{max-width:100%;min-width:0}
html.tdg-v2-subpage body{margin:0!important;background:var(--tdg-bg)!important;color:var(--tdg-text);font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif!important;overflow-x:clip}
html.tdg-v2-subpage *,html.tdg-v2-subpage *::before,html.tdg-v2-subpage *::after{box-sizing:border-box}
html.tdg-v2-subpage img,html.tdg-v2-subpage iframe,html.tdg-v2-subpage video{max-width:100%}
html.tdg-v2-subpage :is(.tdg-legacy-navbar){display:none!important}
/* Same compact premium site header across all legacy templates. */
.tdg-site-header{position:relative;isolation:isolate;z-index:110;background:var(--tdg-navy);color:#fff;box-shadow:0 2px 18px rgba(3,16,45,.1);font-family:Inter,system-ui,sans-serif}
.tdg-site-header-inner{width:min(1510px,100%);margin:0 auto;min-height:78px;padding:10px clamp(18px,3vw,46px);display:flex;gap:clamp(14px,2.4vw,36px);align-items:center}
.tdg-site-header a{text-decoration:none!important}
.tdg-brand{display:flex;align-items:center;flex:0 0 auto;gap:10px;color:#fff!important;min-width:0;white-space:nowrap}
.tdg-brand img{width:62px!important;height:56px!important;object-fit:contain!important;flex:0 0 auto;max-width:62px!important}
.tdg-brand-words{display:flex;flex-direction:column;line-height:1.05;gap:5px}
.tdg-brand-words strong{font-size:21px;font-weight:800;letter-spacing:-.8px;color:#fff!important}
.tdg-brand-words strong span{color:var(--tdg-yellow)!important}
.tdg-brand-words small{font-size:9px;letter-spacing:1px;color:#b7c7e2!important;font-weight:650}
.tdg-site-nav{margin:auto;display:flex;align-items:center;gap:clamp(13px,1.6vw,29px);flex:0 1 auto}
.tdg-site-nav a{white-space:nowrap;color:#d9e4f8!important;font-size:13px!important;font-weight:600!important;line-height:1.4;padding:12px 0;border-bottom:2px solid transparent}
.tdg-site-nav a:hover,.tdg-site-nav a:focus-visible,.tdg-site-nav a[aria-current="page"]{color:#fff!important;border-bottom-color:var(--tdg-yellow)}
.tdg-site-search{display:flex;align-items:center;min-width:155px;flex:1 1 260px;height:44px;background:#fff;overflow:hidden;border-radius:24px;border:1px solid #e1e7f4;box-shadow:0 4px 12px rgba(2,17,39,.05)}
.tdg-site-search svg{color:#30496e;flex:0 0 16px;margin-left:15px}
.tdg-site-search input{width:100%;min-width:0;flex:1 1 auto;border:0!important;background:transparent!important;box-shadow:none!important;color:#17294b!important;font-size:12px!important;padding:10px!important;outline:none!important;margin:0!important;height:100%!important}
.tdg-site-search button{height:100%;border:0!important;background:var(--tdg-yellow)!important;color:#081b3a!important;padding:0 clamp(12px,1.3vw,22px)!important;font-size:13px!important;font-weight:800!important;border-radius:22px!important;cursor:pointer;flex:0 0 auto}
.tdg-site-search button:hover{background:#ffe083!important}
.tdg-site-theme{flex:0 0 42px;display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#1b3864!important;border:0!important;border-radius:50%;color:#fff!important;cursor:pointer;font-size:19px;line-height:1}
.tdg-site-theme:hover{background:#2b4c7d!important}
.tdg-mobile-menu{display:none;position:relative;color:#fff}
.tdg-mobile-menu summary{cursor:pointer;list-style:none;width:42px;height:42px;display:grid;place-items:center;border:1px solid #506384;border-radius:12px;font-size:22px}
.tdg-mobile-menu summary::-webkit-details-marker{display:none}
.tdg-mobile-menu-panel{position:absolute;right:0;top:49px;min-width:200px;z-index:150;background:#102852;border:1px solid #314a70;border-radius:14px;padding:9px;box-shadow:0 12px 30px rgba(1,16,40,.3);display:grid;gap:1px}
.tdg-mobile-menu-panel a{padding:10px 13px;color:#eef5ff!important;font-size:14px!important;border-radius:8px}
.tdg-mobile-menu-panel a:hover,.tdg-mobile-menu-panel a[aria-current="page"]{background:#284472!important}
/* Page-wide rhythm + readable type without modifying facts or product copy. */
html.tdg-v2-subpage :is(.container,.main,.footer-inner,.article-wrap,.about-content,.cbs-section,.blog-section,.blog-section-alt){max-width:min(100%,1300px)}
html.tdg-v2-subpage :is(.main,.blog-section,.blog-section-alt,.cbs-section,.about-content,.article-wrap){margin-left:auto;margin-right:auto}
html.tdg-v2-subpage :is(.container,.main,.article-wrap,.about-content,.cbs-section,.blog-section,.blog-section-alt){min-width:0}
html.tdg-v2-subpage :is(h1,h2,h3){letter-spacing:-.03em}
html.tdg-v2-subpage :is(p,li){overflow-wrap:break-word}
html.tdg-v2-subpage :is(.product-card,.article-card,.related-card,.store-card,.cbs-card,.product-box,.featured-mini-card,.coupon-card,.deal-card,.guide-card,.blog-card){border-radius:16px!important;border:1px solid var(--tdg-border)!important;background:#fff;box-shadow:0 5px 18px rgba(20,42,91,.045);overflow:hidden;transition:box-shadow .18s ease,transform .18s ease}
html.tdg-v2-subpage :is(.product-card,.article-card,.related-card,.store-card,.cbs-card,.product-box,.featured-mini-card,.coupon-card,.deal-card,.guide-card,.blog-card):hover{box-shadow:0 13px 30px rgba(20,42,91,.105)}
html.tdg-v2-subpage :is(.product-card-img,.article-card-img,.product-main-img) img{object-fit:contain;max-width:100%;height:auto}
html.tdg-v2-subpage :is(.product-card-title,.article-card h3,.related-card h3){line-height:1.4!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
html.tdg-v2-subpage :is(.product-card-price,.price,.deal-price,.product-price){font-weight:800;letter-spacing:-.02em}
html.tdg-v2-subpage :is(.btn,.buy-btn,.product-card-btn,.product-card-cta,.cta-btn,.btn-primary,.shop-btn,.amazon-btn){border-radius:10px!important;font-weight:750!important;min-height:40px}
html.tdg-v2-subpage :is(a.buy-btn,a.product-card-btn,a.product-card-cta,a.amazon-btn,.btn-amazon){background:var(--tdg-yellow)!important;color:#0a2148!important;border-color:var(--tdg-yellow)!important;text-decoration:none!important}
html.tdg-v2-subpage :is(a.buy-btn,a.product-card-btn,a.product-card-cta,a.amazon-btn,.btn-amazon):hover{background:#ffe18a!important;color:#0a2148!important}
html.tdg-v2-subpage :is(a.btn-primary,button.btn-primary,.cta-btn){background:var(--tdg-blue)!important;color:#fff!important;border-color:var(--tdg-blue)!important}
html.tdg-v2-subpage :is(.product-discount,.discount-badge){background:#eb3347!important;color:#fff!important;border-radius:7px!important}
html.tdg-v2-subpage :is(.product-badge,.tag,.article-category,.article-card-tags){border-radius:8px}
html.tdg-v2-subpage :is(.hero,.hero-section,.about-hero){max-width:100%;overflow:hidden}
html.tdg-v2-subpage :is(.hero,.hero-section,.about-hero) :is(h1,h2){letter-spacing:-.045em}
html.tdg-v2-subpage :is(.article-wrap,.article-body,.legal-content,.about-content,.content){overflow-wrap:anywhere}
html.tdg-v2-subpage :is(.article-body,.article-wrap article,.legal-content){line-height:1.75}
html.tdg-v2-subpage :is(.article-body,.article-wrap article) :is(p,li){line-height:1.75}
html.tdg-v2-subpage :is(.article-wrap,.article-body,.article-layout,.product-layout,.footer-grid){min-width:0}
html.tdg-v2-subpage :is(.article-wrap,.article-body,.article-layout) img{height:auto;max-width:100%;border-radius:12px}
html.tdg-v2-subpage :is(table){max-width:100%}
html.tdg-v2-subpage :is(.table-wrap,.specs-table-wrap){max-width:100%;overflow-x:auto;scrollbar-width:none}
html.tdg-v2-subpage :is(.table-wrap,.specs-table-wrap)::-webkit-scrollbar{display:none}
html.tdg-v2-subpage :is(.categories-grid,.chips-scroll,.cat-tabs,.category-tabs,.store-tabs,.filters-scroll,.scroll-row){scrollbar-width:none;-ms-overflow-style:none}
html.tdg-v2-subpage :is(.categories-grid,.chips-scroll,.cat-tabs,.category-tabs,.store-tabs,.filters-scroll,.scroll-row)::-webkit-scrollbar{display:none}
html.tdg-v2-subpage :is(.newsletter-section){border-radius:0}
/* Unified footer: preserve all existing disclosure, trust, and editorial/legal text. */
html.tdg-v2-subpage :is(footer.footer,footer.site-footer,footer.tdg-footer){background:var(--tdg-navy)!important;color:#c5d1e5!important;border-top:1px solid #233b60!important;padding:0 18px 28px!important}
html.tdg-v2-subpage :is(footer.footer,footer.site-footer,footer.tdg-footer) :is(p,small,li,span){color:#c5d1e5}
html.tdg-v2-subpage :is(footer.footer,footer.site-footer,footer.tdg-footer) h4{color:#fff!important}
html.tdg-v2-subpage :is(footer.footer,footer.site-footer,footer.tdg-footer) a{color:#d8e4f5!important;text-decoration:none}
html.tdg-v2-subpage :is(footer.footer,footer.site-footer,footer.tdg-footer) a:hover{color:var(--tdg-yellow)!important}
html.tdg-v2-subpage :is(footer.footer,footer.site-footer,footer.tdg-footer) :is(.footer-inner,.container){max-width:1260px;margin:0 auto}
.tdg-site-footer-top{width:100%;border-bottom:1px solid #273e61;margin:0 auto 20px;max-width:1260px;padding:22px 0 20px}
.tdg-site-footer-top-inner{display:flex;flex-wrap:wrap;gap:12px 34px;align-items:center;justify-content:space-between}
.tdg-site-footer-top strong{font-size:22px;letter-spacing:-.04em;color:#fff!important}
.tdg-site-footer-top strong span{color:var(--tdg-yellow)!important}
.tdg-site-footer-top .tdg-footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px}
.tdg-site-footer-top .tdg-footer-links a{font-weight:600!important;font-size:13px!important}
/* Dark mode uses same site-wide contrast treatment as homepage. */
html.tdg-v2-subpage.dark{--tdg-bg:#0e1729;--tdg-card:#14243d;--tdg-border:#283d5c;--tdg-text:#edf3ff;--tdg-muted:#b8c8e5;color-scheme:dark}
html.tdg-v2-subpage.dark body{background:var(--tdg-bg)!important;color:#edf3ff!important}
html.tdg-v2-subpage.dark :is(.product-card,.article-card,.related-card,.store-card,.cbs-card,.product-box,.featured-mini-card,.coupon-card,.deal-card,.guide-card,.blog-card){background:var(--tdg-card)!important;border-color:var(--tdg-border)!important;color:#f0f5ff!important}
html.tdg-v2-subpage.dark :is(.product-card,.article-card,.related-card,.store-card,.cbs-card,.product-box,.featured-mini-card,.coupon-card,.deal-card,.guide-card,.blog-card) :is(h2,h3,h4,a,p,span){color:inherit}
html.tdg-v2-subpage.dark :is(.product-card-img,.article-card-img,.product-main-img) img{background:#fff;border-radius:9px}
html.tdg-v2-subpage.dark :is(.article-wrap,.article-body,.legal-content,.about-content,.container) :is(p,li){color:#e0e8f7}
html.tdg-v2-subpage.dark .tdg-site-footer-top strong{color:#fff!important}
@media(max-width:1190px){.tdg-site-header-inner{gap:16px}.tdg-brand-words strong{font-size:19px}.tdg-brand-words small{font-size:8px}.tdg-site-nav{gap:11px}.tdg-site-nav a{font-size:12px!important}.tdg-site-search{flex-basis:175px}.tdg-site-search button{padding:0 12px!important}}
@media(max-width:980px){.tdg-site-header-inner{flex-wrap:wrap;row-gap:9px;justify-content:space-between}.tdg-site-nav{display:none}.tdg-mobile-menu{display:block;order:2}.tdg-site-theme{order:1;margin-left:auto}.tdg-site-search{order:3;flex:1 0 100%;width:100%}.tdg-brand img{width:54px!important;height:47px!important}.tdg-site-header-inner{padding:10px 20px 13px}}
@media(max-width:600px){.tdg-site-header-inner{padding:8px 14px 12px}.tdg-brand img{width:46px!important;height:43px!important}.tdg-brand-words strong{font-size:18px}.tdg-brand-words small{font-size:7px;letter-spacing:.65px}.tdg-site-search{height:42px}.tdg-site-search input{font-size:12px!important}.tdg-site-search button{font-size:12px!important;padding:0 14px!important}.tdg-site-theme{height:38px;width:38px;flex-basis:38px}.tdg-mobile-menu summary{width:38px;height:38px}.tdg-site-footer-top{padding-top:18px}.tdg-site-footer-top-inner{align-items:flex-start}.tdg-site-footer-top .tdg-footer-links{gap:8px 14px}}
@media(prefers-reduced-motion:reduce){html.tdg-v2-subpage{scroll-behavior:auto}html.tdg-v2-subpage *{transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Mobile content overflow hardening found during offline representative-page QA. */
html.tdg-v2-subpage .search-inner{max-width:100%;min-width:0}
html.tdg-v2-subpage .search-inner .search-field{min-width:0;flex:1 1 auto}
html.tdg-v2-subpage .search-inner .search-field input{min-width:0;max-width:100%;width:100%}
html.tdg-v2-subpage .search-inner .search-submit{flex:0 0 auto}
html.tdg-v2-subpage .comparison-wrapper{max-width:100%!important;overflow-x:auto!important;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html.tdg-v2-subpage .comparison-wrapper::-webkit-scrollbar{display:none}
html.tdg-v2-subpage .comparison-wrapper .comparison-table{max-width:none!important;min-width:max-content}
@media(max-width:600px){html.tdg-v2-subpage .search-inner{display:flex!important;gap:8px!important}html.tdg-v2-subpage .search-inner .search-submit{padding:9px 12px!important}html.tdg-v2-subpage .comparison-wrapper{width:100%;min-width:0}}
/* The old coupon/blog teal-green hero palettes now use the approved navy-blue identity. */
html.tdg-v2-subpage :is(.hero,.hero-section,.about-hero){background-color:#08254c!important;background-image:linear-gradient(115deg,#071936 0%,#103866 66%,#1b4a83 100%)!important}
html.tdg-v2-subpage :is(.hero,.hero-section,.about-hero) :is(h1,h2){color:#fff!important}
html.tdg-v2-subpage :is(.hero,.hero-section,.about-hero) :is(p,.hero-subtitle){color:#d9e6fa!important}
/* Keep non-Amazon editorial buttons distinct from purchase actions. */
html.tdg-v2-subpage a.product-card-btn:not(.amazon):not([href*="amazon.com"]){background:#edf3ff!important;color:#15499e!important;border-color:#d7e4fb!important}
html.tdg-v2-subpage .comparison-table a[href*="amazon.com"]{display:inline-block;background:var(--tdg-yellow)!important;color:#102143!important;padding:7px 10px;border-radius:8px;text-decoration:none!important;font-weight:750}

/* v4 foundation */
/* TechDealsGo v4 | sitewide visual correction. This layer extends v3 without changing content, affiliate data or features. */
html.tdg-v2-subpage{--tdg-navy:#071936;--tdg-blue:#2465ed;--tdg-yellow:#ffd151;--tdg-bg:#f5f7fc;--tdg-card:#fff;--tdg-text:#102143;--tdg-muted:#63728d;--tdg-border:#e2eaf5}
html.tdg-v2-subpage body{background:var(--tdg-bg)!important;color:var(--tdg-text)!important;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif!important}
html.tdg-v2-subpage :is(h1,h2,h3,h4){font-family:Inter,system-ui,sans-serif!important;letter-spacing:-.035em}
html.tdg-v2-subpage :is(.container,.main,.blog-section,.blog-section-alt,.cbs-section,.article-wrap,.about-content){max-width:1280px;margin-inline:auto}
html.tdg-v2-subpage :is(.blog-section,.blog-section-alt){padding-block:clamp(24px,3.4vw,48px)}
html.tdg-v2-subpage :is(.blog-section-alt,.search-bar){background:#eef3fb!important}
html.tdg-v2-subpage :is(.article-card,.cbs-card,.featured-section,.coupon-card,.deal-card,.guide-card,.related-card,.product-card){border:1px solid var(--tdg-border)!important;background:var(--tdg-card)!important;color:var(--tdg-text)!important;border-radius:16px!important;box-shadow:0 5px 18px rgba(15,44,86,.045)!important;transition:border-color .2s ease,box-shadow .2s ease}
html.tdg-v2-subpage :is(.article-card,.cbs-card,.featured-section,.coupon-card,.deal-card,.guide-card,.related-card,.product-card):hover{border-color:#b9cdf0!important;box-shadow:0 9px 26px rgba(15,44,86,.11)!important}
html.tdg-v2-subpage :is(.cbs-card,.article-card,.store-card,.guide-card):focus-visible{outline:3px solid #ffce43;outline-offset:2px}
/* Unified elegant light hero for coupons/blog: no old multi-color gradient animation, grids, or fake urgency. */
html.tdg-v2-subpage.tdg-page-coupons .hero,html.tdg-v2-subpage.tdg-page-blog-index .hero{background:linear-gradient(112deg,#e7eeff 0%,#e7f3ff 56%,#d1e6fd 100%)!important;padding:clamp(26px,3.2vw,48px) 18px!important;min-height:0!important;color:#071936!important;overflow:hidden;isolation:isolate}
html.tdg-v2-subpage.tdg-page-coupons .hero:after,html.tdg-v2-subpage.tdg-page-blog-index .hero:after{content:"";position:absolute;inset:auto -12% -76% auto;border-radius:50%;width:65%;height:180%;background:radial-gradient(ellipse,rgba(48,113,239,.16),transparent 68%);z-index:-1;pointer-events:none}
html.tdg-v2-subpage :is(.hero-anim-bg,.hero-grid-bg){display:none!important;animation:none!important}
html.tdg-v2-subpage :is(.hero .hero-content){max-width:900px;margin-inline:auto}
html.tdg-v2-subpage :is(.hero h1,.hero h1 span){color:#091d3f!important;text-shadow:none!important;font-size:clamp(1.75rem,3vw,2.55rem)!important;line-height:1.2;font-weight:820!important}
html.tdg-v2-subpage .hero p{color:#405574!important;line-height:1.58;max-width:680px;font-size:clamp(.85rem,1.2vw,.96rem)}
html.tdg-v2-subpage .hero-badge{background:#edf4ff!important;border:1px solid #bfd2f6!important;color:#2053a8!important;letter-spacing:.07em;font-size:.72rem!important}
html.tdg-v2-subpage .hero h1 span{color:#2465ed!important}
html.tdg-v2-subpage .hero-stat-num{color:#153a77!important;font-size:clamp(1.2rem,1.8vw,1.55rem)!important}
html.tdg-v2-subpage .hero-stat-label{color:#576b8b!important}
html.tdg-v2-subpage .hero-stats{gap:clamp(14px,2vw,36px);margin-top:16px}
html.tdg-v2-subpage .hero :is(.hero-btn,.hero-cta,.hero-action,.hero-btn-primary){border-radius:10px!important}
html.tdg-v2-subpage .hero a[href="#latest"],html.tdg-v2-subpage .hero a[href="#guides"]{border-radius:11px!important;font-weight:750!important}
/* Blog controls and coupons store-grid use common blue/white system. */
html.tdg-v2-subpage .search-inner{border-radius:12px}
html.tdg-v2-subpage :is(.search-submit,.cat-tab.active,.cat-tab[aria-selected="true"]){background:#2465ed!important;color:#fff!important;border-color:#2465ed!important}
html.tdg-v2-subpage :is(.cat-tab,.cbs-card){border-radius:12px!important}
html.tdg-v2-subpage .cat-tabs{background:#fff!important;border-block:1px solid var(--tdg-border)!important}
html.tdg-v2-subpage .cat-tabs-inner{scrollbar-width:none;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap}
html.tdg-v2-subpage .cat-tabs-inner::-webkit-scrollbar{display:none}
html.tdg-v2-subpage .cbs-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
html.tdg-v2-subpage .cbs-card{min-width:0;box-shadow:0 3px 12px rgba(20,48,98,.035)!important}
html.tdg-v2-subpage :is(.cbs-active,.store-active){border-color:#2465ed!important;background:#edf3ff!important}
html.tdg-v2-subpage :is(.section-title,.cbs-title,.featured-section-title){color:#0c2042}
/* Guide list and guide article hero: more compact, same deliberate navy typography. */
html.tdg-v2-subpage .tdg-guide-hero{background:linear-gradient(120deg,#0b234a,#143d75)!important;padding:clamp(28px,3.5vw,48px) 18px!important}
html.tdg-v2-subpage .tdg-guide-hero h1{font-size:clamp(1.65rem,3.2vw,2.4rem)!important;color:#fff!important}
html.tdg-v2-subpage .tdg-guide-hero p{color:#d5e4f6!important}
html.tdg-v2-subpage .tdg-guide-hero nav a{color:#d1e1f7!important}
html.tdg-v2-subpage .tdg-guide-hero+ .container{padding-top:clamp(24px,3vw,42px)!important}
html.tdg-v2-subpage.tdg-page-guide-list .tdg-guide-hero+ .container a[style*="background:white"]{background:#fff!important;border:1px solid var(--tdg-border)!important;border-radius:16px!important}
/* Product and article content remains editorial and functional, not a second storefront. */
html.tdg-v2-subpage .product-page{margin-inline:auto;max-width:1280px}
html.tdg-v2-subpage :is(.product-info,.specs-section,.ratings-breakdown,.related-section,.editorial-box,.article-layout,.article-hero){min-width:0}
html.tdg-v2-subpage :is(.article-hero,.article-layout){max-width:1280px;margin-inline:auto}
html.tdg-v2-subpage .article-hero{padding-top:32px!important;padding-bottom:28px!important}
html.tdg-v2-subpage .article-hero h1{font-size:clamp(1.7rem,3vw,2.65rem)!important;line-height:1.2!important}
html.tdg-v2-subpage .article-layout :is(.prose,.article-body){line-height:1.76!important}
html.tdg-v2-subpage .article-layout :is(.prose,.article-body) :is(p,li){line-height:1.76!important}
html.tdg-v2-subpage :is(a.amazon-btn,a.buy-btn,a.product-card-cta,a[href*="amazon.com"].btn-amazon){background:#ffd151!important;color:#081936!important;border-color:#ffd151!important;font-weight:800!important}
/* Light mode never inherits a dark guide product style accidentally. */
html.tdg-v2-subpage:not(.dark) :is(.product-info,.about-content,.legal-content,.article-layout,.article-body){color:#152847}
/* Dark mode: enforce the same deep-navy surfaces and legible text across all 159 pages, including inline legacy whites. */
html.tdg-v2-subpage.dark{color-scheme:dark;--tdg-bg:#0b1528;--tdg-card:#162841;--tdg-text:#f1f6ff;--tdg-muted:#b0c2df;--tdg-border:#304665}
html.tdg-v2-subpage.dark body{background:#0b1528!important;color:#f1f6ff!important}
html.tdg-v2-subpage.dark :is(.blog-section-alt,.search-bar,.cat-tabs){background:#101e35!important;border-color:#2c3f60!important}
html.tdg-v2-subpage.dark :is(.hero,.hero-section,.about-hero,.tdg-guide-hero){background:linear-gradient(115deg,#132849,#183a66)!important;color:#f7fbff!important}
html.tdg-v2-subpage.dark .hero :is(h1,h1 span){color:#f7fbff!important}
html.tdg-v2-subpage.dark .hero :is(p,.hero-stat-label){color:#d5e3f8!important}
html.tdg-v2-subpage.dark .hero-stat-num{color:#ffe08a!important}
html.tdg-v2-subpage.dark .hero-badge{background:#233b5f!important;color:#deebff!important;border-color:#43638a!important}
html.tdg-v2-subpage.dark :is(h1,h2,h3,h4,h5,.section-title,.cbs-title,.featured-section-title,.product-title,.article-title){color:#f6f9ff!important}
html.tdg-v2-subpage.dark :is(.cbs-card,.article-card,.store-card,.featured-section,.coupon-card,.deal-card,.guide-card,.related-card,.product-card,.product-info,.product-box,.ai-card,.tips-grid .tip-card,.about-stat-card,.modal,.store-modal,.review-box,.specs-section,.ratings-breakdown,.editorial-box){background:#162841!important;color:#edf4ff!important;border-color:#304665!important}
html.tdg-v2-subpage.dark :is(.cbs-card,.article-card,.store-card,.featured-section,.coupon-card,.deal-card,.guide-card,.related-card,.product-card,.product-info,.product-box,.ai-card,.about-stat-card,.modal,.store-modal) :is(h2,h3,h4,p,span,strong){color:inherit}
html.tdg-v2-subpage.dark :is(.article-body,.article-layout,.prose,.legal-content,.about-content,.product-page,.container) :is(p,li){color:#dce7fa}
html.tdg-v2-subpage.dark :is(.about-stat-sub,.article-meta,.product-meta,.store-count,.cbs-count){color:#acbfdb!important}
html.tdg-v2-subpage.dark :is(.cat-tab,.search-field,.search-inner,.search-field input,.filter-btn,.sort-select,.coupon-filter,.cbs-active,.store-active){background:#1b3150!important;color:#f0f5ff!important;border-color:#395375!important}
html.tdg-v2-subpage.dark :is(input,select,textarea):not(.tdg-site-search input){color:#f0f6ff;background:#1b3150;border-color:#395375}
html.tdg-v2-subpage.dark :is(.search-field input)::placeholder{color:#a8bddd}
html.tdg-v2-subpage.dark :is(.cat-tab.active,.search-submit,.cat-tab[aria-selected="true"]){background:#2465ed!important;color:#fff!important}
html.tdg-v2-subpage.dark .tdg-guide-hero nav a{color:#e1eaff!important}
html.tdg-v2-subpage.dark .tdg-guide-hero+ .container a[style*="background:white"]{background:#172a46!important;color:#edf6ff!important;border:1px solid #37506e!important}
html.tdg-v2-subpage.dark :is(.article-card-img,.product-main-img,.product-card-img,.cbs-card img){background:#fff!important}
html.tdg-v2-subpage.dark :is(.article-card-img,.product-main-img,.product-card-img) img{object-fit:contain}
html.tdg-v2-subpage.dark :is(.comparison-table,.specs-table,.comparison-wrapper){background:#142640;color:#eaf2ff;border-color:#3a506f}
html.tdg-v2-subpage.dark :is(.comparison-table,.specs-table) :is(th,td){color:#eaf2ff!important;border-color:#31496b!important;background:transparent!important}
html.tdg-v2-subpage.dark :is(.comparison-table,.specs-table) tr:nth-child(even){background:#1e3451!important}
html.tdg-v2-subpage.dark a:not(.tdg-brand):not(.tdg-site-nav a):not(.tdg-site-footer-top a):not(.tdg-site-search button):not(.tdg-site-header a):not(.tdg-site-header button):not(.buy-btn):not(.amazon-btn):not(.btn-amazon):not(.product-card-cta){color:#8cb6ff}
html.tdg-v2-subpage.dark :is(a.buy-btn,a.amazon-btn,a.btn-amazon,a.product-card-cta){background:#ffd151!important;color:#091a36!important}
html.tdg-v2-subpage.dark :is(.tdg-site-header,.footer){color:#e5edff}
html.tdg-v2-subpage.dark .tdg-site-search input{background:#fff!important;color:#102447!important}
/* Avoid footer, tab and table horizontal overflow. */
html.tdg-v2-subpage .tdg-site-footer-top-inner,html.tdg-v2-subpage .tdg-site-footer-top .tdg-footer-links{min-width:0}
html.tdg-v2-subpage .comparison-wrapper{max-width:100%!important;overflow-x:auto!important}
@media(max-width:1040px){html.tdg-v2-subpage .cbs-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:700px){html.tdg-v2-subpage .cbs-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}html.tdg-v2-subpage .hero{padding:30px 16px!important}html.tdg-v2-subpage .hero-stats{gap:15px}html.tdg-v2-subpage .tdg-guide-hero{padding:32px 15px!important}html.tdg-v2-subpage .article-hero{padding-inline:15px!important}}
@media(max-width:420px){html.tdg-v2-subpage .cbs-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.tdg-v2-subpage .hero-stats{gap:8px 16px}html.tdg-v2-subpage .hero-stat{min-width:60px}html.tdg-v2-subpage .hero-stat-num{font-size:1.15rem!important}}
@media(prefers-reduced-motion:reduce){html.tdg-v2-subpage .hero-anim-bg{animation:none!important}}
/* v4 QA corrections: old hero inline white text on new light hero must be explicitly reset. */
html.tdg-v2-subpage.tdg-page-blog-index .hero p,
html.tdg-v2-subpage.tdg-page-coupons .hero p{color:#405574!important}
html.tdg-v2-subpage.tdg-page-blog-index .hero .hero-content a[href="#latest"]{background:#fff!important;border:1px solid #cbd9ed!important;color:#15366a!important;box-shadow:0 3px 10px rgba(25,49,92,.07)!important}
html.tdg-v2-subpage.tdg-page-blog-index .hero .hero-content a[href="#guides"]{background:#2465ed!important;border:1px solid #2465ed!important;color:#fff!important}
html.tdg-v2-subpage .tdg-guide-hero{background:linear-gradient(112deg,#e7eeff,#d4e9fc)!important;color:#102143!important}
html.tdg-v2-subpage .tdg-guide-hero h1{color:#0a2042!important}
html.tdg-v2-subpage .tdg-guide-hero p{color:#465b78!important}
html.tdg-v2-subpage .tdg-guide-hero nav,html.tdg-v2-subpage .tdg-guide-hero nav a,html.tdg-v2-subpage .tdg-guide-hero nav span{color:#486486!important}
html.tdg-v2-subpage.dark .tdg-guide-hero{background:linear-gradient(115deg,#12284b,#183a66)!important;color:#f5f9ff!important}
html.tdg-v2-subpage.dark .tdg-guide-hero h1{color:#f7faff!important}
html.tdg-v2-subpage.dark .tdg-guide-hero p,html.tdg-v2-subpage.dark .tdg-guide-hero nav,html.tdg-v2-subpage.dark .tdg-guide-hero nav span{color:#d5e4f8!important}
html.tdg-v2-subpage.dark .hero p{color:#d5e4f8!important}
/* Cross-page dark contrast repair after offline visual QA. */
html.tdg-v2-subpage.dark .tdg-site-nav a{color:#e0e9fa!important}
html.tdg-v2-subpage.dark .tdg-site-nav a:hover,html.tdg-v2-subpage.dark .tdg-site-nav a[aria-current="page"]{color:#fff!important}
html.tdg-v2-subpage.dark .tdg-brand-words strong,html.tdg-v2-subpage.dark .tdg-brand-words strong span{color:#fff!important}
html.tdg-v2-subpage.dark .tdg-brand-words strong span{color:#ffd151!important}
html.tdg-v2-subpage.dark .tdg-brand-words small{color:#bfd1e9!important}
html.tdg-v2-subpage.dark .tdg-site-footer-top .tdg-footer-links a{color:#e1ebff!important}
html.tdg-v2-subpage.dark :is(.cbs-section,.blog-section,.blog-section-alt,.main,.about-content,.article-layout){background:transparent!important}
html.tdg-v2-subpage.dark :is(.section-badge,.cbs-label,.cbs-card-count,.about-stat-sub){color:#b5c8e5!important;background:transparent!important}
html.tdg-v2-subpage.dark .cbs-card{background:#172b48!important;border-color:#385172!important}
html.tdg-v2-subpage.dark .cbs-card.cbs-active{background:#213b61!important;border-color:#6193ed!important}
html.tdg-v2-subpage.dark .cbs-card-name{color:#f1f6ff!important;background:transparent!important}
html.tdg-v2-subpage.dark .cbs-card-count{color:#b8c9e3!important;background:transparent!important}
html.tdg-v2-subpage.dark .cbs-title{color:#f3f7ff!important}
html.tdg-v2-subpage.dark .search-field input::placeholder{color:#b2c7e1!important}
html.tdg-v2-subpage.dark .search-field>span{color:#c1d1e9!important}
html.tdg-v2-subpage.dark .hero h1 span{color:#9ec6ff!important}
html.tdg-v2-subpage.dark .hero .hero-content a[href="#latest"]{background:#f5f8ff!important;color:#153568!important;border-color:#b8cbe7!important}
html.tdg-v2-subpage.dark .hero .hero-content a[href="#guides"]{background:#2465ed!important;color:#fff!important;border-color:#2465ed!important}
html.tdg-v2-subpage.dark .hero .hero-content a[href="#latest"] *,html.tdg-v2-subpage.dark .hero .hero-content a[href="#guides"] *{color:inherit!important}

/* v5 design reconciliation */
/* ================= TECHDEALSGO — DESIGN V5 ================= */
/* Shared tokens across index, coupon, blog, guides, product and legal templates. */
:root{
 --tdg-v5-navy:#071936;--tdg-v5-blue:#2465ed;--tdg-v5-yellow:#ffd151;
 --tdg-v5-page:#f5f7fc;--tdg-v5-surface:#fff;--tdg-v5-ink:#102143;
 --tdg-v5-sub:#506482;--tdg-v5-line:#dce5f3;
 --font-body:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
 --font-display:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
 --font-sans:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
}
html.tdg-v2-subpage,html.tdg-v2-subpage body,
html.tdg-v2-subpage :is(input,button,select,textarea,a,h1,h2,h3,h4,h5,p,small,span,div,nav){font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif!important}
html.tdg-v2-subpage{--tdg-navy:var(--tdg-v5-navy);--tdg-blue:var(--tdg-v5-blue);--tdg-yellow:var(--tdg-v5-yellow);--tdg-bg:var(--tdg-v5-page);--tdg-card:var(--tdg-v5-surface);--tdg-text:var(--tdg-v5-ink);--tdg-muted:var(--tdg-v5-sub);--tdg-border:var(--tdg-v5-line)}
html.tdg-v2-subpage body{background:var(--tdg-bg)!important;color:var(--tdg-text)!important;font-size:15px;line-height:1.58}
html.tdg-v2-subpage :is(h1,h2,h3,h4){font-weight:750!important;letter-spacing:-.032em!important;line-height:1.22!important}
html.tdg-v2-subpage :is(h1){font-size:clamp(30px,3.25vw,46px)}
html.tdg-v2-subpage :is(h2){font-size:clamp(22px,2.25vw,30px)}
html.tdg-v2-subpage :is(h3){font-size:clamp(17px,1.5vw,22px)}
html.tdg-v2-subpage :is(.hero,.tdg-guide-hero,.about-hero){background:linear-gradient(113deg,#eaf1ff 0%,#e4efff 56%,#cddffe 100%)!important;border:0!important;color:#102143!important;box-shadow:none!important}
html.tdg-v2-subpage :is(.hero,.tdg-guide-hero,.about-hero) :is(h1,h1 span,h2){color:#102143!important}
html.tdg-v2-subpage :is(.hero,.tdg-guide-hero,.about-hero) :is(p,small,.hero-stat-label){color:#466080!important}
html.tdg-v2-subpage .hero .hero-stat-num{color:#153b78!important}
html.tdg-v2-subpage .hero .hero-badge{background:#f2f6ff!important;color:#1950a2!important;border:1px solid #c5d6f2!important}
html.tdg-v2-subpage .tdg-guide-hero :is(nav,nav a,nav span){color:#486184!important}
/* Shared header/footer controls exactly one geometry and one search treatment. */
html.tdg-v2-subpage .tdg-site-header{position:relative!important;background:#071936!important;color:#fff!important;z-index:1000!important}
html.tdg-v2-subpage .tdg-site-header-inner{max-width:1510px!important;min-height:88px!important;padding:12px clamp(16px,2.6vw,36px)!important;gap:clamp(12px,1.6vw,25px)!important}
html.tdg-v2-subpage .tdg-brand{gap:10px!important;min-width:0!important}
html.tdg-v2-subpage .tdg-brand img{width:46px!important;height:49px!important;object-fit:contain!important;max-width:46px!important;flex:0 0 46px!important;filter:none!important;mix-blend-mode:normal!important}
html.tdg-v2-subpage .tdg-brand-words strong{font-size:22px!important;line-height:1!important;font-weight:800!important;color:#fff!important;letter-spacing:-.7px!important}
html.tdg-v2-subpage .tdg-brand-words strong span{color:#ffd151!important}
html.tdg-v2-subpage .tdg-brand-words small{font-size:8px!important;line-height:1.25!important;letter-spacing:.85px!important;color:#c4d3ed!important}
html.tdg-v2-subpage .tdg-site-nav{gap:clamp(10px,1.4vw,19px)!important}
html.tdg-v2-subpage .tdg-site-nav a{font-size:14px!important;color:#e6eeff!important;font-weight:600!important}
html.tdg-v2-subpage .tdg-site-nav a[aria-current=page]{border-bottom:2px solid #ffd151!important;color:#fff!important}
html.tdg-v2-subpage .tdg-site-search{height:48px!important;border-radius:28px!important;background:#fff!important;max-width:580px!important;border:1px solid #e0e8f4!important;box-shadow:none!important}
html.tdg-v2-subpage .tdg-site-search input{font-size:14px!important;font-weight:450!important;background:transparent!important;color:#122744!important;min-width:0!important}
html.tdg-v2-subpage .tdg-site-search input::placeholder{color:#7a879e!important;opacity:1!important}
html.tdg-v2-subpage .tdg-site-search svg{color:#2c4973!important}
html.tdg-v2-subpage .tdg-site-search button{font-size:14px!important;background:#ffd151!important;color:#0d2240!important;padding:0 23px!important;border-radius:26px!important;font-weight:800!important}
html.tdg-v2-subpage .tdg-site-theme{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:50%!important;background:#1c3964!important;color:#fff!important;font-size:22px!important}
html.tdg-v2-subpage :is(.tdg-site-search,.tdg-site-search input,.tdg-site-search button){font-family:Inter,system-ui,sans-serif!important}
/* A restrained palette, predictable card dimensions and readable sections. */
html.tdg-v2-subpage :is(.article-card,.guide-card,.deal-card,.product-card,.coupon-card,.cbs-card,.store-card,.featured-section,.featured-mini-card,.related-card,.blog-card){box-shadow:0 3px 12px rgba(12,33,70,.035)!important;border-color:#dfe7f3!important}
html.tdg-v2-subpage :is(.section-heading,.cbs-title,.section-title,.featured-section-title){font-weight:750!important;color:#102143!important;letter-spacing:-.028em!important}
html.tdg-v2-subpage :is(.main,.container,.blog-section,.cbs-section,.article-wrap){min-width:0!important}
html.tdg-v2-subpage :is(.article-body,.legal-content,.prose){line-height:1.77!important}
html.tdg-v2-subpage .tdg-site-footer-top{border-bottom-color:#294164!important}
html.tdg-v2-subpage :is(.tdg-site-footer-top a,.tdg-footer-links a){font-size:13px!important}
/* Coupons Quick Picks: genuine typographic hierarchy, no black-highlighted snippets. */
html.tdg-v2-subpage.tdg-page-coupons .featured-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px!important;margin-bottom:34px!important}
html.tdg-v2-subpage.tdg-page-coupons .featured-section{background:#fff!important;border:1px solid #dce5f3!important;border-radius:16px!important;min-width:0!important;overflow:hidden!important}
html.tdg-v2-subpage.tdg-page-coupons .featured-section-header{display:flex!important;align-items:center!important;gap:8px!important;padding:17px 15px!important;background:#fff!important;border-bottom:1px solid #e7edf6!important;min-height:66px!important}
html.tdg-v2-subpage.tdg-page-coupons .featured-section-title{font-size:14px!important;font-weight:750!important;color:#13284a!important;line-height:1.3!important}
html.tdg-v2-subpage.tdg-page-coupons .featured-section-count{font-size:11px!important;font-weight:600!important;margin-left:auto!important;white-space:nowrap!important;background:#edf3ff!important;color:#2858a1!important;padding:4px 7px!important;border-radius:6px!important}
html.tdg-v2-subpage.tdg-page-coupons .featured-mini-card{min-width:0!important;min-height:94px!important;padding:13px 12px!important;display:flex!important;align-items:flex-start!important;gap:9px!important;border:0!important;border-top:1px solid #edf1f8!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important;overflow:hidden!important}
html.tdg-v2-subpage.tdg-page-coupons .featured-mini-card:hover{background:#f6f9ff!important}
html.tdg-v2-subpage.tdg-page-coupons .featured-mini-card .mini-card-info{flex:1!important;min-width:0!important;overflow:hidden!important;background:transparent!important}
html.tdg-v2-subpage.tdg-page-coupons .mini-card-title{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;line-clamp:2!important;white-space:normal!important;text-overflow:clip!important;overflow:hidden!important;line-height:1.4!important;font-size:12px!important;font-weight:700!important;color:#152947!important;background:transparent!important;overflow-wrap:anywhere!important}
html.tdg-v2-subpage.tdg-page-coupons .mini-card-sub{font-size:11px!important;line-height:1.45!important;color:#657996!important;margin-top:5px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;background:transparent!important}
html.tdg-v2-subpage.tdg-page-coupons .mini-card-savings{font-size:11px!important;font-weight:750!important;color:#2053a5!important;white-space:normal!important;text-align:right!important;max-width:66px!important;background:transparent!important;line-height:1.4!important}
html.tdg-v2-subpage.tdg-page-coupons .section-heading{font-size:21px!important;margin-bottom:18px!important}
html.tdg-v2-subpage.tdg-page-coupons .section-heading span{font-size:12px!important;color:#667994!important}
html.tdg-v2-subpage.tdg-page-coupons .store-logo-mini,html.tdg-v2-subpage.tdg-page-coupons .store-logo,html.tdg-v2-subpage.tdg-page-coupons .cbs-card-logo{background:#fff!important;filter:none!important;mix-blend-mode:normal!important;object-fit:contain!important;padding:5px!important;border:1px solid #e0e7f0!important;border-radius:10px!important;flex-shrink:0!important}
html.tdg-v2-subpage.tdg-page-coupons .store-logo-mini{height:34px!important;width:34px!important}
html.tdg-v2-subpage.tdg-page-coupons .cbs-card-logo{width:42px!important;height:42px!important}
html.tdg-v2-subpage.tdg-page-coupons .tdg-logo-fallback{width:36px;height:36px;display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;border-radius:9px;background:#edf3ff;color:#31528d;border:1px solid #d8e3f6;font-size:11px;font-weight:800;letter-spacing:.01em}
html.tdg-v2-subpage.tdg-page-coupons .cbs-card .tdg-logo-fallback{width:42px;height:42px;flex-basis:42px}
html.tdg-v2-subpage.tdg-page-coupons :is(.trending-section,.trending-list,.trending-list>*,.featured-section,.featured-mini-card,.mini-card-info,.mini-card-title,.mini-card-sub,.mini-card-savings){filter:none!important;mix-blend-mode:normal!important}
html.tdg-v2-subpage.tdg-page-coupons .trending-section{background:#fff!important;border:1px solid #dfe7f3!important;border-radius:18px!important;color:#152947!important}
html.tdg-v2-subpage.tdg-page-coupons .trending-section :is(.trending-header,.trending-list,.trending-item){background:transparent!important;color:#152947!important}
html.tdg-v2-subpage.tdg-page-coupons :is(.trending-item-title,.trending-item-store){background:transparent!important}
html.tdg-v2-subpage.tdg-page-coupons .cbs-grid{gap:13px!important}
html.tdg-v2-subpage.tdg-page-coupons .cbs-card{min-height:120px!important;padding:12px 8px!important}
/* Dark mode: product/brand image pixels retain original colors and text has adequate contrast. */
html.tdg-v2-subpage.dark{--tdg-bg:#0b1528;--tdg-card:#182944;--tdg-border:#324867;--tdg-text:#f2f6ff;--tdg-muted:#b8cae3;color-scheme:dark}
html.tdg-v2-subpage.dark body{background:#0b1528!important;color:#f2f6ff!important}
html.tdg-v2-subpage.dark :is(.hero,.tdg-guide-hero,.about-hero){background:linear-gradient(112deg,#142a4a,#18395e)!important;color:#f3f8ff!important}
html.tdg-v2-subpage.dark :is(.hero,.tdg-guide-hero,.about-hero) :is(h1,h1 span,h2){color:#f5f8ff!important}
html.tdg-v2-subpage.dark :is(.hero,.tdg-guide-hero,.about-hero) :is(p,.hero-stat-label){color:#d0def4!important}
html.tdg-v2-subpage.dark .hero .hero-stat-num{color:#f1f6ff!important}
html.tdg-v2-subpage.dark :is(.section-heading,.section-title,.cbs-title,.featured-section-title){color:#f4f8ff!important}
html.tdg-v2-subpage.dark :is(.featured-grid,.main,.blog-section,.blog-section-alt,.cbs-section,.article-wrap){background:transparent!important;color:#eef5ff!important}
html.tdg-v2-subpage.dark.tdg-page-coupons :is(.featured-section,.featured-section-header,.featured-mini-card){background:#182944!important;border-color:#314969!important;color:#f0f6ff!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .featured-mini-card:hover{background:#223858!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .featured-section-title{color:#f0f6ff!important;background:transparent!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .featured-section-count{background:#284162!important;color:#bcd7ff!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .mini-card-title{color:#f1f6ff!important;background:transparent!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .mini-card-sub{color:#b9cce6!important;background:transparent!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .mini-card-savings{color:#c7dfff!important;background:transparent!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .trending-section{background:#182944!important;border-color:#344c6b!important;color:#f0f6ff!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .trending-section :is(.trending-header,.trending-list,.trending-item,.trending-item-title,.trending-item-store){background:transparent!important;color:#eef5ff!important}
html.tdg-v2-subpage.dark.tdg-page-coupons :is(.cbs-card,.coupon-card,.deal-card,.article-card){background:#182944!important;color:#eef5ff!important;border-color:#354c6a!important}
html.tdg-v2-subpage.dark.tdg-page-coupons :is(.cbs-card-name,.coupon-title,.coupon-store-name,.section-heading){color:#f0f6ff!important;background:transparent!important}
html.tdg-v2-subpage.dark.tdg-page-coupons :is(.cbs-card-count,.coupon-desc,.coupon-meta,.mini-card-sub){color:#b8cae5!important}
html.tdg-v2-subpage.dark.tdg-page-coupons :is(.coupon-card-header,.coupon-card-body,.coupon-card-footer){background:transparent!important}
html.tdg-v2-subpage.dark.tdg-page-coupons :is(.store-logo-mini,.store-logo,.cbs-card-logo){background:#fff!important;filter:none!important;opacity:1!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .tdg-logo-fallback{background:#eaf1ff!important;color:#253e6c!important}
html.tdg-v2-subpage.dark :is(.article-card-img,.product-main-img,.product-card-img) img{mix-blend-mode:normal!important;filter:none!important;opacity:1!important}
html.tdg-v2-subpage.dark :is(.article-card-img,.product-main-img,.product-card-img){background:#fff!important;border-radius:12px}
html.tdg-v2-subpage.dark :is(.article-card,.product-card,.related-card,.guide-card,.blog-card){background:#182944!important;border-color:#354d6c!important;color:#f1f5ff!important}
html.tdg-v2-subpage.dark :is(.article-card,.product-card,.related-card,.guide-card,.blog-card) :is(h2,h3,h4,p,span,strong){color:inherit}
html.tdg-v2-subpage.dark :is(.article-layout,.article-body,.legal-content,.about-content,.product-info) :is(p,li){color:#dbe7fb!important}
html.tdg-v2-subpage.dark :is(.tdg-site-search,.tdg-site-search input){background:#fff!important;color:#112747!important}
html.tdg-v2-subpage.dark .tdg-site-search input::placeholder{color:#6f809b!important}
html.tdg-v2-subpage.dark .tdg-site-search button{background:#ffd151!important;color:#132747!important}
html.tdg-v2-subpage.dark .tdg-site-theme{background:#284775!important;color:#fff!important}
html.tdg-v2-subpage.dark :is(.cat-tabs,.search-bar,.search-inner,.filter-bar){background:#12233b!important;border-color:#334b6e!important}
html.tdg-v2-subpage.dark :is(.search-field input,.search-inner input,.filter-bar input){color:#eff5ff!important;background:#213654!important}
html.tdg-v2-subpage.dark :is(.search-field input,.search-inner input)::placeholder{color:#b3c6e2!important}
html.tdg-v2-subpage.dark :is(.cat-tab,.chip){background:#1c3252!important;color:#dce9fd!important;border-color:#365176!important}
html.tdg-v2-subpage.dark :is(.cat-tab.active,.chip.active,.search-submit){background:#2465ed!important;color:#fff!important}
/* Responsive: preserve layouts without page-level sideways scrolling. */
@media(max-width:1180px){
 html.tdg-v2-subpage .tdg-site-header-inner{gap:10px!important}
 html.tdg-v2-subpage .tdg-brand-words strong{font-size:20px!important}
 html.tdg-v2-subpage .tdg-site-nav{gap:10px!important}
 html.tdg-v2-subpage .tdg-site-search{flex-basis:210px!important}
 html.tdg-v2-subpage.tdg-page-coupons .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:980px){
 html.tdg-v2-subpage .tdg-site-header-inner{min-height:70px!important}
 html.tdg-v2-subpage .tdg-site-search{max-width:none!important;flex-basis:100%!important;order:3!important}
}
@media(max-width:650px){
 html.tdg-v2-subpage .tdg-site-header-inner{padding:9px 14px!important}
 html.tdg-v2-subpage .tdg-brand img{height:43px!important;width:40px!important;flex-basis:40px!important}
 html.tdg-v2-subpage .tdg-brand-words strong{font-size:18px!important}
 html.tdg-v2-subpage .tdg-site-search{height:42px!important}
 html.tdg-v2-subpage .tdg-site-search button{padding:0 15px!important;font-size:12px!important}
 html.tdg-v2-subpage.tdg-page-coupons .featured-grid{grid-template-columns:minmax(0,1fr)!important}
 html.tdg-v2-subpage.tdg-page-coupons .featured-mini-card{min-height:72px!important}
 html.tdg-v2-subpage :is(.hero,.tdg-guide-hero){padding:30px 16px!important}
}
@media(prefers-reduced-motion:reduce){html.tdg-v2-subpage *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* ================= HOMEPAGE ADAPTATION ================= */
/* Homepage React markup differs, but presentation uses the exact same tokens and header dimensions. */
html:not(.tdg-v2-subpage) body{font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif!important}
html:not(.tdg-v2-subpage) :is(.navbar,.navbar a,.navbar button,.navbar input,.tdg-main h1,.tdg-main h2,.tdg-main h3){font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif!important}
html:not(.tdg-v2-subpage) .navbar{background:#071936!important}
html:not(.tdg-v2-subpage) .navbar .navbar-inner{min-height:88px!important;max-width:1510px!important;margin:auto!important;padding:12px clamp(16px,2.6vw,36px)!important;display:flex!important;align-items:center!important;gap:clamp(12px,1.6vw,25px)!important;position:static!important}
html:not(.tdg-v2-subpage) .navbar .navbar-center{position:static!important;transform:none!important;left:auto!important;top:auto!important;margin:0 auto!important;display:flex!important;flex:0 1 auto!important}
html:not(.tdg-v2-subpage) .navbar .navbar-links{gap:clamp(10px,1.4vw,19px)!important}
html:not(.tdg-v2-subpage) .navbar .navbar-links a{font-size:14px!important;font-weight:600!important;color:#e6eeff!important}
html:not(.tdg-v2-subpage) .navbar .navbar-links a.active{border-bottom:2px solid #ffd151!important;color:#fff!important}
html:not(.tdg-v2-subpage) .navbar .tdg-brand img{height:49px!important;width:46px!important;max-width:46px!important;object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important}
html:not(.tdg-v2-subpage) .navbar .tdg-brand-wordmark strong{font-size:22px!important;line-height:1!important;font-weight:800!important;letter-spacing:-.7px!important}
html:not(.tdg-v2-subpage) .navbar .tdg-brand-wordmark small{font-size:8px!important;letter-spacing:.85px!important}
html:not(.tdg-v2-subpage) .navbar .navbar-right{flex:1 1 340px!important;max-width:580px!important;min-width:190px!important;gap:14px!important}
html:not(.tdg-v2-subpage) .navbar .tdg-search{min-height:48px!important;height:48px!important;border-radius:28px!important;border:1px solid #e0e8f4!important;background:#fff!important}
html:not(.tdg-v2-subpage) .navbar .tdg-search input{background:transparent!important;color:#122744!important;font-size:14px!important}
html:not(.tdg-v2-subpage) .navbar .tdg-search input::placeholder{color:#7a879e!important;opacity:1}
html:not(.tdg-v2-subpage) .navbar .tdg-search button{background:#ffd151!important;color:#0d2240!important;font-weight:800!important;font-size:14px!important}
html:not(.tdg-v2-subpage) .navbar .dark-toggle{width:44px!important;height:44px!important;min-width:44px!important;border-radius:50%!important;background:#1c3964!important;color:#fff!important;filter:none!important}
html:not(.tdg-v2-subpage) .tdg-banner-carousel .tdg-hero-visual{width:37%;height:auto;top:14px;bottom:14px;right:18px;display:flex;align-items:center;justify-content:center;isolation:isolate}
html:not(.tdg-v2-subpage) .tdg-banner-carousel .tdg-hero-visual img{width:100%!important;max-width:300px!important;height:188px!important;object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important;background:#fff!important;border-radius:15px!important;padding:10px!important;box-shadow:0 10px 28px rgba(23,53,100,.12)!important;opacity:1!important}
html:not(.tdg-v2-subpage) .tdg-main .product-card-img img,html:not(.tdg-v2-subpage) .tdg-results-grid .product-card-img img{mix-blend-mode:normal!important;filter:none!important;opacity:1!important;background:#fff!important}
html:not(.tdg-v2-subpage) .tdg-promo img{mix-blend-mode:normal!important;filter:none!important;background:#fff!important;opacity:1!important;border-radius:11px!important;object-fit:contain!important;padding:4px!important}
html:not(.tdg-v2-subpage).dark .tdg-banner-carousel .tdg-hero-visual img{background:#fff!important;mix-blend-mode:normal!important;filter:none!important;opacity:1!important}
html:not(.tdg-v2-subpage).dark .tdg-main .product-card-img img{background:#fff!important;mix-blend-mode:normal!important;filter:none!important}
html:not(.tdg-v2-subpage).dark .tdg-promo img{background:#fff!important;mix-blend-mode:normal!important;filter:none!important;opacity:1!important}
html:not(.tdg-v2-subpage) .tdg-category-arrow{background:#fff!important;color:#153b7b!important;border:1px solid #dce5f3!important;opacity:1;min-width:36px!important;min-height:43px!important}
html:not(.tdg-v2-subpage) .tdg-category-arrow:disabled{opacity:.38!important}
html:not(.tdg-v2-subpage).dark .tdg-category-arrow{background:#233e65!important;color:#fff!important;border-color:#3b577c!important}
html:not(.tdg-v2-subpage) .tdg-banner-nav{z-index:6}
html:not(.tdg-v2-subpage) .tdg-banner-step{height:30px!important;width:30px!important;font-size:20px!important}
html:not(.tdg-v2-subpage) .tdg-banner-dot{min-height:9px!important;min-width:9px!important}
@media(max-width:1100px){html:not(.tdg-v2-subpage) .navbar .navbar-inner{flex-wrap:wrap!important}html:not(.tdg-v2-subpage) .navbar .navbar-center{order:3!important;flex-basis:100%!important;justify-content:center!important}html:not(.tdg-v2-subpage) .navbar .navbar-right{max-width:none!important;flex:1 1 240px!important}}
@media(max-width:650px){html:not(.tdg-v2-subpage) .navbar .navbar-inner{padding:9px 14px!important;min-height:72px!important}html:not(.tdg-v2-subpage) .navbar .navbar-center{display:none!important}html:not(.tdg-v2-subpage) .navbar .navbar-right{flex:1 0 100%!important;order:3!important}html:not(.tdg-v2-subpage) .navbar .tdg-search{height:42px!important;min-height:42px!important}html:not(.tdg-v2-subpage) .tdg-banner-carousel .tdg-hero-visual{right:7px;width:38%!important;opacity:1!important}html:not(.tdg-v2-subpage) .tdg-banner-carousel .tdg-hero-visual img{height:125px!important;padding:6px!important}}

/* V5 asset integrity: visible neutral initials when an optional third-party favicon fails. */
html.tdg-v2-subpage.tdg-page-coupons .tdg-logo-shell{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:10px;background:#eef4ff;border:1px solid #dce5f3;overflow:hidden}
html.tdg-v2-subpage.tdg-page-coupons .tdg-logo-backstop{display:inline-flex;align-items:center;justify-content:center;font-size:11px;letter-spacing:.03em;font-weight:800;color:#305891;width:100%;height:100%;line-height:1}
html.tdg-v2-subpage.tdg-page-coupons .tdg-logo-shell .cbs-card-logo{position:absolute;inset:0;margin:0!important;width:100%!important;height:100%!important;object-fit:contain;background:#fff!important;mix-blend-mode:normal!important;padding:5px!important;border:0!important}
html.tdg-v2-subpage.dark.tdg-page-coupons .tdg-logo-shell{background:#dce9ff;border-color:#9fb9e3}
html.tdg-v2-subpage.dark.tdg-page-coupons .tdg-logo-backstop{color:#203f78!important}

/* Consistent interior chrome on the archived noindex legal route and 404 route. */
html.tdg-page-404 body{display:block!important;padding:0!important;text-align:left!important;min-height:100vh!important}
html.tdg-page-404 .tdg-404-content{text-align:center!important;max-width:920px!important;margin:0 auto!important;min-height:calc(100vh - 330px);padding:clamp(50px,8vw,110px) 20px!important}
html.tdg-page-404 .tdg-404-content .logo{display:none!important}
html.tdg-page-404 .tdg-404-content .code{font-size:clamp(72px,8vw,115px)!important;color:#2465ed!important}
html.tdg-page-404 .tdg-404-content h1{font-size:clamp(27px,3vw,42px)!important;color:#102143!important}
html.tdg-page-404 .tdg-404-content p{margin:12px auto 27px!important;color:#506482!important}
html.tdg-page-404 .tdg-404-content .btn{border-radius:10px!important;background:#2465ed!important;color:#fff!important}
html.tdg-page-404 .tdg-404-content .btn-ghost{background:#edf3ff!important;color:#164caa!important;border:1px solid #dce5f3!important}
html.tdg-page-404 .tdg-404-content .links{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
html.tdg-page-404 .tdg-404-content .links a{color:#2557aa!important}
html.tdg-page-404.dark .tdg-404-content h1{color:#f0f5ff!important}
html.tdg-page-404.dark .tdg-404-content p{color:#b8c9df!important}
html.tdg-page-404.dark .tdg-404-content .links a{color:#b6d0ff!important}
