/*
Theme Name: Tax Pros 360
Theme URI: https://taxpros360.com
Author: Tax Pros 360
Description: Tax Pros 360 website theme — 1:1 of the approved static build, as editable blocks.
Version: 0.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: tp360
*/
@import url("assets/css/01-styles.css");
@import url("assets/css/02-brand-refresh.css");
@import url("assets/css/03-page-photos.css");
@import url("assets/css/04-soft-refresh.css");
@import url("assets/css/05-approved-design.css");
@import url("assets/css/06-footer-legal.css");
@import url("assets/css/07-insights.css");
@import url("assets/css/08-catalog-v6.css");
@import url("assets/css/09-woo.css");
/* whole-card clickable helper (keeps card text/images as editable blocks) */
.card-stretch{position:relative}
.card-stretch .stretch-link{position:absolute;inset:0;z-index:4;text-indent:-9999px;overflow:hidden}
.visual-panel.card-stretch>*{position:relative;z-index:2}
.insight-photo-card.card-stretch>*{position:relative;z-index:2}

/* ---- block normalization: make core blocks render like the static markup ---- */
.wp-block-image{margin:0}
.wp-block-image img{display:block;max-width:100%;height:auto}
.panel-photo.wp-block-image,.panel-photo.wp-block-image img{width:100%}
.package-thumb.wp-block-image img,.course-thumb.wp-block-image img,.shop-thumb.wp-block-image img{width:100%;display:block}
.insight-image.wp-block-image{padding:0;margin:0}
.insight-image.wp-block-image img{width:100%;height:146px;object-fit:cover;object-position:70% center;border-radius:6px}
.wp-block-buttons{margin:0;gap:16px}
.hero-actions.wp-block-buttons,.lead-actions .wp-block-buttons,.insights-hero-actions .wp-block-buttons{display:flex;flex-wrap:wrap;gap:16px}
.wp-block-group{min-width:0}
main.tp360-main{overflow-x:clip}
.wp-block-list{margin:0 0 1em;padding-left:1.2em}
.wp-block-table{margin:0}

.wp-block-table,.wp-block-table table{width:100%}

/* tp360 layout guard: ensure body/site wrapper fill the viewport */
html body{position:static !important;width:auto !important;min-width:0 !important;float:none !important}
.wp-site-blocks{width:100% !important;max-width:none !important}
main.tp360-main{display:block;width:100%}

/* overflow guard */
body{max-width:100%}

/* footer responsive guard */
@media(max-width:640px){.site-footer .footer-grid{grid-template-columns:1fr 1fr !important}}
@media(max-width:430px){.site-footer .footer-grid{grid-template-columns:1fr !important}}
.site-footer .footer-address{word-break:break-word}

/* ===== BUTTON + FOOTER + NAV overrides ===== */
/* Buttons: kill the block wrapper's background/box so only the inner link shows, force pill */
.wp-block-button.btn{background:transparent !important;background-color:transparent !important;box-shadow:none !important;border:0 !important;padding:0 !important;border-radius:0 !important;transform:none !important}
.wp-block-button.btn:hover{transform:none !important}
.wp-block-button .wp-block-button__link.btn{display:inline-block}
a.btn,.wp-block-button__link.btn,.btn.btn-gold,.btn.btn-outline{border-radius:100px !important}
.woocommerce a.button,.woocommerce button.button,.woocommerce .button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt{border-radius:100px !important}
/* Header / nav: larger, roomier */
html body{font-size:17px}
html body .site-nav a:not(.btn){font-size:16px}
html body .site-header .btn{font-size:14px;padding:12px 22px}
html body .nav-wrap{min-height:92px}
html body .brand img{width:220px}
/* Footer: column dividers + top border line */
.site-footer .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr !important;gap:0 !important}
.site-footer .footer-grid>div{padding:0 44px}
.site-footer .footer-grid>div:first-child{padding-left:0}
.site-footer .footer-grid>div+div{border-left:1px solid rgba(228,190,92,.22)}
.site-footer .footer-bottom{border-top:1px solid rgba(228,190,92,.22);margin-top:30px;padding-top:20px}

/* ===== software table tweaks ===== */
.cmp th,.cmp td{padding:9px 14px !important}
.cmp thead th.edge{border-top:0 !important}

.cmp tfoot td{padding:14px !important}

/* ===== software section fixes ===== */
/* demo section: center the button + helper text */
#demo .wp-block-group.container{text-align:center}
#demo .wp-block-buttons{justify-content:center}
#demo .wp-block-group.container > .wp-block-group{display:flex;flex-direction:column;align-items:center;gap:12px}
/* FAQ footer line: right aligned, italic, roomier */
#faq .wp-block-group.container > p{text-align:right;font-style:italic;font-size:15px;margin-top:30px;padding:4px 6px 0}
/* final CTA: clean centered dark band */
.final-lead-cta{background:#111 !important;color:#fff !important;text-align:center !important;padding:60px 0 !important}
.final-lead-cta > .wp-block-group.container{display:block !important;text-align:center !important}
.final-lead-cta h2{color:#fff !important;margin:0 0 22px !important}
.final-lead-cta .wp-block-buttons{justify-content:center !important}

/* final-cta h2 center */
.final-lead-cta h2{max-width:none !important;margin-left:auto !important;margin-right:auto !important}

/* ===== comprehensive polish v2 ===== */
/* Clean comparison table: subtle rounded border, solid dark header, no gold line, no excel total line */
.cmp-wrap{border:1px solid #e7e1d3 !important;border-radius:10px !important;overflow:hidden !important}
.cmp{border-collapse:collapse !important}
.cmp thead th{border:0 !important}
.cmp thead th.edge{border-top:0 !important}
.cmp th,.cmp td{border-top:0 !important;border-left:0 !important;border-right:0 !important;border-bottom:1px solid #efeae1 !important}
.cmp tbody tr:last-child td{border-bottom:0 !important}
.cmp tfoot td{border:0 !important;padding-top:18px !important}
/* Showcase intros: truly centered */
.showcase-intro{display:block !important;text-align:center !important}
.showcase-intro h2,.showcase-intro p{text-align:center !important;margin-left:auto !important;margin-right:auto !important;float:none !important}
.showcase-intro h2{max-width:760px}
.showcase-intro p{max-width:640px}
/* Home insight cards: taller, consistent images; keep text below the picture */
.insight-photo-grid{align-items:stretch}
.insight-photo-card .insight-image.wp-block-image,.insight-photo-card .insight-image.wp-block-image img{height:190px !important;width:100% !important}
.insight-photo-card .insight-image.wp-block-image img{object-fit:cover !important;object-position:center !important}
.insight-photo-card .insight-content{background:#fff}

/* table tfoot line fix + insight image match */
.cmp tfoot,.cmp tbody,.cmp thead{border:0 !important}
.cmp tfoot{border-top:0 !important}
.insight-photo-card .insight-image.wp-block-image,.insight-photo-card .insight-image.wp-block-image img{height:206px !important}

/* ===== insights hero + blog loadmore ===== */
.insights-hero-grid{display:block !important;min-height:600px !important;padding-top:70px !important;padding-bottom:70px !important}
.post-card.tp-hidden{display:none !important}
.tp-loadmore-wrap{text-align:center;margin:36px 0 0}

/* legal hero solid cream (no gradient fade, no overlay) */
.lg-hero{background:#faf7eb !important;background-image:none !important}
.lg-hero h1{font-family:'Alegreya',Georgia,serif !important}

/* product cover swap (34/35/36) */
.post-34 img.woocommerce-placeholder,.postid-34 img.woocommerce-placeholder{content:url(/taxtools/wp-content/themes/tp360/assets/covers/advanced-1040.svg) !important}
.post-35 img.woocommerce-placeholder,.postid-35 img.woocommerce-placeholder{content:url(/taxtools/wp-content/themes/tp360/assets/covers/efin-checklist.svg) !important}
.post-36 img.woocommerce-placeholder,.postid-36 img.woocommerce-placeholder{content:url(/taxtools/wp-content/themes/tp360/assets/covers/ptin-renewal.svg) !important}
img.woocommerce-placeholder{object-fit:cover;width:100%;height:auto}

/* instant compact catalog (no JS flash) */
.shop-section .shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.shop-section .shop-card{display:grid !important;grid-template-columns:92px minmax(0,1fr);gap:18px;padding:20px;border:1px solid #e5e5e5;border-radius:12px;background:#fff;box-shadow:none;align-items:start;float:none !important;width:auto !important}
.shop-section .product-preview.product-preview-image{width:92px !important;height:132px !important;padding:7px;background:#fafafa;border:1px solid #ededed;border-radius:5px;overflow:hidden;align-self:start}
.shop-section .product-preview-image>a{display:flex;align-items:center;justify-content:center;height:100%;width:100%}
.shop-section .product-preview-image img{width:auto !important;max-width:100% !important;height:auto !important;max-height:100% !important;object-fit:contain}
.shop-section .shop-card-body{padding:0;min-width:0}
.shop-section .shop-card h3{font-size:20px;line-height:1.25;letter-spacing:-.03em;font-weight:600;margin:6px 0 9px}
.shop-section .shop-card p{font-size:14px;line-height:1.55;color:#666;margin:0 0 14px}
@media(max-width:900px){.shop-section .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.shop-section .shop-grid{grid-template-columns:1fr}.shop-section .product-preview.product-preview-image{width:96px !important;height:128px !important}}
/* round23 fixes */
.visual-panel .panel-photo,.visual-panel .panel-photo.wp-block-image{height:210px !important;overflow:hidden;margin:0}
.visual-panel .panel-photo img{height:210px !important;width:100% !important;object-fit:cover !important;display:block}
.insights-hero{min-height:0 !important}
.woocommerce a.added_to_cart,.woocommerce-message a.button,.woocommerce-message .button{background:var(--gold,#d9ac2b) !important;color:#231f20 !important;border-radius:100px !important;box-shadow:none !important;border:0 !important;padding:9px 22px !important;text-decoration:none !important;font-weight:800}
.woocommerce a.added_to_cart::after,.woocommerce-message a.button::after{display:none !important}
/* sticky color header: white at top, black + white logo on scroll */
.site-header{position:sticky !important;top:0;z-index:60;transition:background .3s ease,border-color .3s ease}
.site-header.tp-scrolled{background:#111 !important;border-bottom-color:#2a2a2a !important}
.site-header.tp-scrolled .site-nav a:not(.btn){color:#fff !important}
.site-header.tp-scrolled .site-nav a:not(.btn):after{background:var(--gold,#d9ac2b)}
.site-header.tp-scrolled .nav-toggle{color:#fff !important}
.site-header.tp-scrolled .brand img{content:url(/taxtools/wp-content/themes/tp360/assets/logo-footer-white.svg)}

/* sticky+footer round24 */
/* unwrap template-part boxes so the sticky header's containing block is the full page */
.wp-block-template-part{display:contents}
/* footer: stack on mobile (override the 4-col divider rule), drop dividers */
@media(max-width:680px){
 .site-footer .footer-grid{grid-template-columns:1fr 1fr !important;gap:26px 20px !important}
 .site-footer .footer-grid>div{padding:0 !important}
 .site-footer .footer-grid>div+div{border-left:0 !important}
}
@media(max-width:430px){
 .site-footer .footer-grid{grid-template-columns:1fr !important}
}

/* ===== TP360 sans-serif and open-layout correction ===== */
html body h1,html body h2,html body h3,html body h4,html body h5,html body h6,html body .lg-hero h1,html body .insights-hero-copy h1,html body .shop-card h3,html body .product_title,html body .wp-block-post-title{font-family:Montserrat,Arial,sans-serif!important;font-style:normal!important;font-weight:650;letter-spacing:-.035em;line-height:1.2}
html body h1 em,html body h2 em,html body h3 em{font-family:inherit;font-style:normal}
html body .site-header,html body .site-header.tp-scrolled{background:#fff!important;border-bottom:1px solid #eee!important;box-shadow:none}
html body .site-header.tp-scrolled .site-nav a:not(.btn),html body .site-header.tp-scrolled .nav-toggle{color:#151515!important}
html body .site-header .brand img,html body .site-header.tp-scrolled .brand img{content:url('/taxtools/wp-content/themes/tp360/assets/logo.png');width:190px;height:76px;object-fit:contain}
html body .site-footer .footer-logo{content:url('/taxtools/wp-content/themes/tp360/assets/logo.png');filter:brightness(0) invert(1);width:190px;height:auto}
html body .visual-panel,html body .visual-panel:nth-child(2),html body .visual-panel:nth-child(3),html body .insight-photo-card{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;transform:none}
html body .visual-panel .panel-photo,html body .visual-panel .panel-photo img,html body .insight-photo-card .insight-image,html body .insight-photo-card .insight-image img{border-radius:0!important}
html body .visual-panel h3{font-size:23px;margin:22px 0 12px}
html body .visual-panel>p,html body .visual-panel>b,html body .visual-panel>.eyebrow{margin-left:0;margin-right:0}
html body .insight-content{padding:22px 0 0;background:transparent}
html body .visual-panels,html body .insight-photo-grid{gap:32px}
html body .approved-home .section{padding:64px 0}
html body .showcase-intro{margin-bottom:34px}
html body .showcase-intro h2,html body .resource-copy h2{font-size:clamp(27px,3vw,38px)}
html body .calendar-freebie-inner{border:0;border-radius:0;padding:32px 0;border-top:1px solid #ded8c9;border-bottom:1px solid #ded8c9;background:transparent}
html body .signup-inner{border-radius:0;box-shadow:none}
html body .post-card{border:0;border-radius:0;box-shadow:none;background:transparent}
html body .post-card:hover{box-shadow:none;transform:none}
html body .featured-post{border:0;border-radius:0;box-shadow:none}
html body .shop-section .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 42px}
html body .shop-section .shop-card{grid-template-columns:145px minmax(0,1fr)!important;gap:25px;padding:30px 0!important;border:0!important;border-bottom:1px solid #e7e7e7!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;transform:none!important}
html body .shop-section .product-preview.product-preview-image{width:145px!important;height:190px!important;padding:0;border:0;border-radius:0;background:transparent}
html body .shop-section .shop-card h3{font-size:21px;line-height:1.3;letter-spacing:-.025em}
html body .shop-section .shop-card p{font-size:15px;line-height:1.65}
html body .shop-section .shop-card-body{min-height:190px}
html body .shop-section .shop-card[hidden]{display:none!important}
html body.single-product main{width:min(1240px,calc(100% - 96px));max-width:1240px;margin:40px auto 80px}
html body.single-product main>.alignwide{max-width:100%;margin-left:0;margin-right:0}
html body.single-product main>.wp-block-columns{gap:54px}
html body .product_meta{display:flex;flex-direction:column;gap:9px;margin-top:28px;font-size:14px;color:#666}
html body.single-product .woocommerce-tabs{margin-top:48px}
html body.single-product .woocommerce-tabs .panel{padding:28px 0}
html body.single-product .woocommerce-tabs .panel>h2:first-child{display:none}
html body.single-product .woocommerce-product-gallery img{border-radius:0;object-fit:contain}
@media(max-width:900px){html body .site-header .brand img,html body .site-header.tp-scrolled .brand img{width:160px;height:68px}html body .site-nav{background:#fff!important;top:92px}html body .shop-section .shop-grid{grid-template-columns:1fr}html body.single-product main{width:calc(100% - 48px)}}
@media(max-width:620px){html body .visual-panels,html body .insight-photo-grid{gap:36px}html body .approved-home .section{padding:38px 0}html body .shop-section .shop-card{grid-template-columns:100px minmax(0,1fr)!important;gap:20px}html body .shop-section .product-preview.product-preview-image{width:100px!important;height:145px!important}html body .shop-section .shop-card h3{font-size:19px}html body .shop-section .shop-card-body{min-height:145px}html body.single-product main{width:calc(100% - 36px);margin-top:24px}html body.single-product main>.wp-block-columns{gap:28px}html body #tp360c-btn{width:48px!important;height:48px!important;min-width:0!important;padding:0!important;font-size:0!important;right:14px!important;bottom:14px!important;border-radius:50%!important;justify-content:center}html body #tp360c-btn .ic{font-size:20px;margin:0!important}}

/* Article readability and block-store metadata. */
html body .article-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;font-size:13px;font-weight:500}
html body .article-meta p,html body .article-meta time{margin:0!important;font-size:inherit!important;line-height:1.5}
html body .blog-sidebar .sidebar-box{border:0;border-top:1px solid #d3c6a4;border-radius:0;box-shadow:none;padding:24px 0;background:transparent}
html body .sidebar-box .sb-cat,html body .sidebar-box .sb-post{display:none}
html body .sidebar-box .sb-post:nth-child(-n+4 of .sb-post:not(.active)){display:grid}
html body:has(.insight-filters a.active:not([data-cat='all'])) .featured-post{display:none}
html body .insight-filters{gap:8px;justify-content:flex-start}
html body .insight-filters a{font-size:14px;padding:9px 14px;border:0;border-radius:4px}
html body .wp-block-woocommerce-product-sku.product_meta{display:flex;flex-direction:row;align-items:baseline;gap:6px;margin:0;font-size:13px}
html body.single-product .wp-block-post-terms{margin-top:0;font-size:13px;color:#666}

/* Product template and related-resource artwork. */
html body .tp360-product-title{font-size:clamp(27px,3vw,38px);margin:0 0 20px!important}
html body .wp-block-woocommerce-product-meta>.wp-block-group{flex-direction:column;align-items:flex-start;gap:8px}
html body a[href*='/product/advanced-1040-schedules-c-e-practice-pack/'] img[alt='Placeholder']{content:url('/taxtools/wp-content/themes/tp360/assets/covers/advanced-1040.svg');object-fit:contain}
html body .signup-logo img,html body img.signup-logo{content:url('/taxtools/wp-content/themes/tp360/assets/logo.png');filter:brightness(0) invert(1)}

/* Keep comparison and policy sections open, with light dividing rules. */
html body .package-card,html body .package-card.featured{border:0!important;border-top:2px solid #ded8c9!important;border-radius:0!important;box-shadow:none!important}
html body .package-card.featured{border-top-color:#ac9153!important}
html body .package-card .recommended{border-radius:0!important}
html body .lg-panel{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0 0 0 24px}
@media(max-width:760px){html body .lg-panel{padding:0}html body .package-card{padding-left:20px;padding-right:20px}}

html body .lg-card{border:0;border-radius:0;box-shadow:none;padding:0}
html body .lg-tab{border:0;border-bottom:1px solid #e7e1d3;border-radius:0!important;box-shadow:none}
html body .lg-tab[aria-selected=true]{background:#f5f1e6;border-bottom-color:#ac9153}

html body .lg-hero .container{text-align:center}
html body .lg-hero h1{max-width:none;font-size:clamp(30px,4vw,48px)}
html body .lg-hero p{margin-left:auto;margin-right:auto;max-width:620px}
html body .lg-tab{border:0!important;border-bottom:1px solid #e7e1d3!important}
html body .lg-tab[aria-selected=true]{border-bottom-color:#ac9153!important}

/* Cart and focused checkout share the site's branding and spacing. */
html body.woocommerce-cart main,html body.woocommerce-checkout main{padding-top:32px;padding-bottom:72px}
html body.woocommerce-checkout header .wp-block-site-title{margin:0}
html body.woocommerce-checkout header .wp-block-site-title img{display:block;width:180px;height:76px;object-fit:contain}
html body .wc-block-cart__submit-button,html body .wc-block-components-checkout-place-order-button{background:var(--metallic-gold)!important;color:#111!important;border:0!important;border-radius:6px!important;font-weight:700}
html body .wc-block-cart__submit-button:hover,html body .wc-block-components-checkout-place-order-button:hover{filter:brightness(.96)}
html body .wc-block-components-order-summary{border-radius:0}
@media(max-width:620px){html body.woocommerce-cart main,html body.woocommerce-checkout main{padding-top:24px;padding-bottom:40px}html body.woocommerce-checkout header .wp-block-site-title img{width:150px;height:68px}}

/* Empty cart: readable recommendations with complete, uncropped covers. */
html body.woocommerce-cart .wc-block-cart__empty-cart__title:before{display:none}
html body.woocommerce-cart .wc-block-cart__empty-cart__title{font-size:clamp(23px,3vw,30px);margin:38px 0 16px}
html body.woocommerce-cart .wc-block-grid__product-image{display:flex;align-items:center;justify-content:center;background:#fafafa;height:245px;padding:18px}
html body.woocommerce-cart .wc-block-grid__product-image img{width:auto!important;max-width:100%!important;height:auto!important;max-height:100%!important;object-fit:contain}
html body.woocommerce-cart .wc-block-grid__product-title{font-family:Montserrat,Arial,sans-serif;font-size:17px;line-height:1.4;margin-top:18px}
html body a[href*='/product/advanced-1040-schedules-c-e-practice-pack/'] img.woocommerce-placeholder{content:url('/taxtools/wp-content/themes/tp360/assets/covers/advanced-1040.svg');object-fit:contain}
@media(max-width:620px){html body.woocommerce-cart .wc-block-grid__product-image{height:210px;padding:12px}}

@media(max-width:620px){
 html body.woocommerce-cart .wc-block-grid__products{display:grid!important;grid-template-columns:minmax(0,1fr);gap:28px;margin:0!important;padding:0!important;width:100%}
 html body.woocommerce-cart .wc-block-grid__product{width:100%!important;max-width:100%!important;min-width:0;margin:0!important;flex:none!important;box-sizing:border-box}
 html body.woocommerce-cart .wc-block-grid__product-link{display:block;width:100%}
 html body.woocommerce-cart .wc-block-grid__product-image{width:100%;box-sizing:border-box}
}

/* Restore three resources per row on desktop. */
@media(min-width:1101px){
 html body .shop-section .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 30px}
 html body .shop-section .shop-card{grid-template-columns:112px minmax(0,1fr)!important;gap:18px}
 html body .shop-section .product-preview.product-preview-image{width:112px!important;height:158px!important}
 html body .shop-section .shop-card h3{font-size:19px}
 html body .shop-section .shop-card p{font-size:14px}
}

/* Keep each catalog resource together in a clear three-column layout. */
html body .shop-section .shop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 36px;align-items:stretch}
html body .shop-section .shop-card{display:flex!important;flex-direction:column;gap:0!important;padding:0 0 28px!important;min-width:0;align-items:stretch}
html body .shop-section .product-preview.product-preview-image{width:100%!important;height:230px!important;flex:none;margin:0 0 22px;padding:12px;background:#f7f7f4}
html body .shop-section .product-preview-image>a{width:100%;height:100%}
html body .shop-section .product-preview-image img{max-width:100%!important;max-height:100%!important;object-fit:contain}
html body .shop-section .shop-card-body{display:flex;flex-direction:column;flex:1;min-height:0!important}
html body .shop-section .shop-card h3{font-size:21px;line-height:1.3;margin:9px 0 12px}
html body .shop-section .shop-card p{font-size:15px;line-height:1.65;margin:0 0 22px}
html body .shop-section .shop-card-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:10px}
html body .shop-section .shop-card-foot>span{font-size:18px;font-weight:650;white-space:nowrap}
html body .shop-section .shop-card-foot .resource-inquiry{margin:0;white-space:nowrap}
@media(max-width:1000px){html body .shop-section .shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px}}
@media(max-width:620px){html body .shop-section .shop-grid{grid-template-columns:minmax(0,1fr);gap:34px}html body .shop-section .product-preview.product-preview-image{height:240px!important}}
/* Give product recommendations room before the footer and match current gold actions. */
html body:has(.wp-block-woocommerce-product-details) main{padding-bottom:80px!important}
html body .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/related"]{display:flow-root;padding:40px 0 72px!important;clear:both}
html body .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/related"] .wc-block-product-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px!important;padding:0!important;margin:24px 0 0!important}
html body .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/related"] .wc-block-product{width:100%!important;max-width:none!important;display:flex;flex-direction:column;gap:14px}
html body .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/related"] .wp-block-post-title{font-size:20px!important;line-height:1.35!important;margin:0!important}
html body .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image img{height:220px!important;width:100%!important;object-fit:contain!important}
html body .wc-block-components-product-button__button,html body .single_add_to_cart_button{background:#dcb94d!important;background-image:none!important;color:#111!important;box-shadow:none!important;border:0!important;border-radius:100px!important;font-weight:700!important;transform:none!important}
html body .wc-block-components-product-button__button:hover,html body .single_add_to_cart_button:hover{background:#cda93c!important;box-shadow:none!important}
html body .tp-product-description{max-width:850px}
html body .tp-product-description h3{font-size:23px;margin:30px 0 14px}
html body .tp-product-description p,html body .tp-product-description li{font-size:16px;line-height:1.75}
html body .tp-product-description ul{padding-left:22px;margin:0 0 24px}
html body .tp-scenarios{border-top:1px solid #ddd7ca;border-bottom:1px solid #ddd7ca;padding:18px 0;margin:28px 0}
html body .tp-scenarios summary{font-family:Montserrat,Arial,sans-serif;font-size:18px;font-weight:650;cursor:pointer}
html body .tp-scenarios[open] summary{margin-bottom:18px}
@media(max-width:620px){html body .wp-block-woocommerce-product-collection[data-collection="woocommerce/product-collection/related"] .wc-block-product-template{grid-template-columns:minmax(0,1fr)}}

/* Catalog actions and a visible cart across screen sizes. */
html body .shop-section .shop-card-foot .resource-inquiry{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 19px!important;background:#dcb94d!important;background-image:none!important;color:#111!important;border:0!important;border-radius:100px!important;box-shadow:none!important;font-size:14px;font-weight:700;text-decoration:none!important}
html body .shop-section .shop-card-foot .resource-inquiry:hover{background:#cda93c!important}
html body .header-cart{display:inline-flex;align-items:center;gap:7px;order:3;flex-shrink:0;margin-left:20px;color:#171717;font-size:14px;font-weight:650;text-decoration:none}
html body .header-cart:hover{color:#a77c24}
html body .site-header .site-nav{order:2}
html body .site-header .nav-toggle{order:4}
@media(max-width:900px){html body .header-cart{order:2;margin-left:auto}html body .site-header .nav-toggle{order:3}html body .site-header .site-nav{order:4}html body .site-header .nav-wrap{gap:16px}html body .header-cart span{font-size:13px}}

/* Use the same gold finish as the current header action. */
html body .shop-section .shop-card-foot .resource-inquiry,html body .wc-block-components-product-button__button,html body .single_add_to_cart_button{background-color:#dcb94d!important;background-image:linear-gradient(90deg,#eec443 0%,#fdf7bc 34%,#dcb94d 68%,#e8cd7a 100%)!important;box-shadow:none!important}
html body .shop-section .shop-card-foot .resource-inquiry:hover,html body .wc-block-components-product-button__button:hover,html body .single_add_to_cart_button:hover{filter:brightness(.96)}

/* Align desktop navigation next to Cart. */
@media(min-width:901px){html body .site-header .nav-wrap{justify-content:flex-start}html body .site-header .site-nav{margin-left:auto!important;margin-right:0!important}html body .site-header .header-cart{margin-left:24px!important}}

/* Override WooCommerce block button colors with the current site finish. */
html body .wp-block-woocommerce-product-collection .wp-block-button .wc-block-components-product-button__button,html body .single_add_to_cart_button.button.alt{background:#dcb94d linear-gradient(90deg,#eec443 0%,#fdf7bc 34%,#dcb94d 68%,#e8cd7a 100%)!important;color:#111!important;box-shadow:none!important;border:0!important}

/* Use the existing transparent white-lettering and gold logo in the footer. */
html body .site-footer img.footer-logo{content:normal!important;filter:none!important;background:transparent!important;object-fit:contain;width:190px;height:auto}
/* Keep View cart readable inside both classic and block cart notices. */
html body .woocommerce-message a.button.wc-forward,html body .woocommerce-message a.button,html body .wc-block-components-notice-banner a.wc-forward,html body .wc-block-components-notice-banner .wc-block-components-notice-banner__content>a,html body a.added_to_cart.wc-forward{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:10px 20px!important;margin:0!important;background:#dcb94d linear-gradient(90deg,#eec443 0%,#fdf7bc 34%,#dcb94d 68%,#e8cd7a 100%)!important;color:#111!important;line-height:1.35!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important;box-shadow:none!important;border:0!important;border-radius:100px!important;opacity:1!important;float:none!important;transform:none!important}
html body .woocommerce-message a.button:before,html body .woocommerce-message a.button:after,html body .wc-block-components-notice-banner a.wc-forward:before,html body .wc-block-components-notice-banner a.wc-forward:after,html body a.added_to_cart.wc-forward:after{display:none!important}
html body .woocommerce-message,html body .wc-block-components-notice-banner__content{align-items:center;gap:16px}

/* WooCommerce also uses an underscore in its cart-forward link class. */
html body a.added_to_cart.wc_forward,html body .wc-block-components-notice-banner__content a[href$="/cart/"],html body .woocommerce-message a[href$="/cart/"]{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:10px 20px!important;background:#dcb94d linear-gradient(90deg,#eec443 0%,#fdf7bc 34%,#dcb94d 68%,#e8cd7a 100%)!important;color:#111!important;line-height:1.35!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important;box-shadow:none!important;border:0!important;border-radius:100px!important;opacity:1!important;float:none!important;transform:none!important}
html body a.added_to_cart.wc_forward:before,html body a.added_to_cart.wc_forward:after,html body .wc-block-components-notice-banner__content a[href$="/cart/"]:before,html body .wc-block-components-notice-banner__content a[href$="/cart/"]:after{display:none!important}

/* Sticky header: white at the top, black with the reversed logo after scrolling. */
html body .site-header{position:sticky!important;top:0;z-index:1000;background:#fff!important;border-bottom:1px solid #eee!important;transition:background-color .25s ease,border-color .25s ease}
html body .site-header .brand img{content:url("/taxtools/wp-content/themes/tp360/assets/logo.png");filter:none}
html body .site-header.tp-scrolled{background:#0b0b0b!important;border-bottom-color:#292929!important}
html body .site-header.tp-scrolled .brand img{content:url("/taxtools/wp-content/themes/tp360/assets/logo-footer-original.svg")!important;filter:none!important;object-fit:contain}
html body .site-header.tp-scrolled .site-nav a:not(.btn),html body .site-header.tp-scrolled .nav-toggle,html body .site-header.tp-scrolled .header-cart{color:#fff!important}
html body .site-header.tp-scrolled .header-cart:hover{color:#e8cd7a!important}
html body.admin-bar .site-header{top:32px}
@media(max-width:900px){html body .site-header.tp-scrolled .site-nav{background:#0b0b0b!important;border-color:#292929!important}}
@media(max-width:782px){html body.admin-bar .site-header{top:46px}}
