body header.ct-clear-header{position:relative!important;top:auto!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:'brand shop tools';gap:12px;padding:12px 5%;z-index:10}.ct-sticky-shop{display:none!important}.ct-simple-tools{grid-area:tools;display:flex;align-items:center;gap:12px;color:var(--ct-gold);justify-self:end}.ct-simple-tools .bag{display:flex;align-items:center;gap:2px;padding:0}.ct-simple-tools .bag span:not(.screen-reader-text){margin:0;background:none;color:inherit;padding:0}.ct-simple-tools details{position:relative}.ct-simple-tools summary{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:34px;cursor:pointer;list-style:none}.ct-simple-tools summary::-webkit-details-marker{display:none}.ct-simple-menu .ct-secondary-nav,.ct-simple-search form{position:absolute;right:0;top:100%;width:min(280px,85vw);padding:16px;background:var(--ct-panel,#14150f);border:1px solid #d7bc7c55;border-radius:6px;box-shadow:0 12px 32px #0006;z-index:100;display:block}.ct-simple-menu .coolts-menu{display:flex!important;flex-direction:column;gap:12px!important;list-style:none;margin:0;padding:0}.ct-simple-menu .coolts-menu a{font-size:16px;display:block;padding:6px}.ct-simple-search form input{width:100%;margin-bottom:10px}.ct-simple-search form button{padding:9px 15px;background:var(--ct-gold);color:#10110d;border:0}.ct-clear-header .ct-shopping-nav>a{min-width:0;padding:8px 16px;font-size:14px}.ct-simple-footer{padding:28px 5% 18px!important}.ct-simple-footer .footer-grid{gap:20px!important}.ct-simple-footer .footer-bottom{padding-top:14px!important}.ct-simple-footer .brand-logo{max-width:140px}.ct-simple-footer p,.ct-simple-footer li{font-size:14px}.coolts-browser{padding-top:20px!important}.coolts-browser .woocommerce-result-count,.coolts-browser .woocommerce-ordering{display:none!important}body ul.products>li.product{padding:12px!important}body ul.products>li.product .woocommerce-loop-product__title{min-height:0!important;line-height:1.35!important;font-size:clamp(14px,2vw,18px)!important;margin:8px 0 12px!important}body ul.products>li.product>a.button{min-height:44px!important;padding:8px!important;margin:10px 0 0!important;font-size:14px!important;border-radius:6px!important}body ul.products>li.product .price{font-size:16px!important;margin-top:auto!important}body ul.products>li.product img{aspect-ratio:1;object-fit:contain}.coolts-builder-page .coolts-page-header{min-height:0!important;background-image:none!important;padding:36px 5%!important}.coolts-builder-page .coolts-page-header .eyebrow{display:none}.coolts-builder-page .coolts-page-header h1{font-size:clamp(32px,6vw,52px)!important}.coolts-builder-page .coolts-page-header::before,.coolts-builder-page .coolts-page-header::after{display:none!important}body:not(.home) .coolts-builder-page .quote-banner,body:not(.home) .coolts-builder-page .last-call{display:none!important}.home .coolts-builder-page .coolts-feature,.home .coolts-builder-page .quote-banner,.home .coolts-builder-page .last-call{display:none!important}.home .coolts-builder-page .coolts-collections-widget{padding-block:24px!important}.coolts-collections-widget .category small,.coolts-collections-widget .category .creative-icon{display:none}.coolts-collections-widget .category strong{font-size:18px!important}.single-product .coolts-woocommerce div.product div.summary,.single-product .coolts-woocommerce .woocommerce-tabs{border:0!important;padding:16px!important;background:transparent!important}.ct-description summary{cursor:pointer;color:var(--ct-gold);padding:12px 0}.single-product .coolts-woocommerce div.product .product_title{font-size:clamp(26px,4vw,40px)!important}.single-product .coolts-woocommerce div.product .summary .price{margin:8px 0 14px!important}.single-product .coolts-woocommerce div.product form.cart{margin:16px 0!important}.woocommerce-checkout:not(.woocommerce-order-received) .ct-shopping-nav{display:none!important}.woocommerce-checkout:not(.woocommerce-order-received) header.ct-clear-header{grid-template-areas:'brand tools';grid-template-columns:1fr auto}.woocommerce-checkout:not(.woocommerce-order-received) .ct-simple-search,.woocommerce-checkout:not(.woocommerce-order-received) .ct-simple-menu{display:none!important}.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{max-width:1100px;margin:auto}.woocommerce-cart .cart_totals .checkout-button{width:100%}
@media(max-width:760px){body header.ct-clear-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'brand tools' 'shop shop';gap:8px;padding:8px 5%}.ct-clear-header .brand .brand-logo{width:130px;max-height:48px}.ct-clear-header .ct-shopping-nav>a{font-size:13px;min-height:42px;padding:6px 4px}.ct-simple-tools{gap:8px}.ct-simple-footer .footer-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.coolts-browser{padding-top:12px!important}body:not(.single-product) ul.products>li.product .woocommerce-loop-product__title{min-height:0!important}body:not(.single-product) .coolts-browser ul.products{gap:12px!important}.single-product .coolts-woocommerce{padding-top:16px!important}.single-product .coolts-woocommerce div.product{gap:18px!important}.coolts-builder-page .coolts-page-header{padding:24px 5%!important}}

/* Explicit layout overrides after legacy styles. */
body header.ct-clear-header .ct-shopping-nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
body header.ct-clear-header .ct-simple-tools{display:flex!important;}
body header.ct-clear-header .ct-simple-tools details:not([open])> :not(summary){display:none!important;}
body header.ct-clear-header .ct-simple-tools details[open] .ct-secondary-nav{display:block!important;}
body .ct-sticky-shop,body .ct-sticky-shop.is-visible{display:none!important;}
body.woocommerce-checkout:not(.woocommerce-order-received) header.ct-clear-header .ct-shopping-nav{display:none!important;}
body footer.ct-simple-footer{display:block;}body footer.ct-simple-footer .footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}body footer.ct-simple-footer .footer-grid>div{display:block;}body footer.ct-simple-footer ul{list-style:none;padding:0;}body footer.ct-simple-footer li{margin:8px 0;}
@media(max-width:760px){body footer.ct-simple-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}body header.ct-clear-header{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'brand tools' 'shop shop'!important;}}
/* v5.2: compact catalog; scoped away from hero and purchase controls. */
body header.ct-clear-header{padding:8px 5%!important;gap:8px 16px!important;min-height:0!important;align-content:center!important;grid-auto-rows:min-content!important;}
body header.ct-clear-header .ct-simple-tools details{padding:0!important;margin:0!important;border:0!important;}
body header.ct-clear-header .ct-simple-tools summary{padding:0!important;margin:0!important;min-height:44px;}
body header.ct-clear-header .ct-shopping-nav{margin:0!important;}
body header.ct-clear-header .ct-shopping-nav>a{min-height:44px!important;border-radius:6px!important;}
body .woocommerce ul.products,body .coolts-woocommerce ul.products,body .coolts-browser .woocommerce ul.products{gap:16px 14px!important;}
body .woocommerce ul.products>li.product,body .coolts-woocommerce ul.products>li.product{padding:10px!important;min-height:0!important;height:auto!important;}
body .woocommerce ul.products>li.product a.woocommerce-LoopProduct-link,body .woocommerce ul.products>li.product a.woocommerce-loop-product__link,body .coolts-woocommerce ul.products>li.product a.woocommerce-LoopProduct-link{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;gap:0!important;min-height:0!important;}
body .woocommerce ul.products>li.product a img,body .coolts-woocommerce ul.products>li.product a img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;margin:0 0 8px!important;max-height:none!important;}
body:not(.single-product) .woocommerce ul.products>li.product .woocommerce-loop-product__title,body .woocommerce ul.products>li.product .woocommerce-loop-product__title,body:not(.single-product) ul.products>li.product .woocommerce-loop-product__title{min-height:0!important;height:auto!important;padding:0!important;margin:0 0 6px!important;line-height:1.3!important;font-size:clamp(14px,2vw,18px)!important;}
body:not(.single-product) .woocommerce ul.products>li.product .price,body .woocommerce ul.products>li.product .price,body:not(.single-product) ul.products>li.product .price{margin: auto 0 0!important;padding-top:5px!important;line-height:1.35!important;}
body:not(.single-product) .woocommerce ul.products>li.product>a.button,body .woocommerce ul.products>li.product>a.button,body:not(.single-product) ul.products>li.product>a.button{margin:8px 0 0!important;min-height:44px!important;padding:6px 8px!important;font-size:14px!important;line-height:1.2!important;border-radius:6px!important;}
body.home .coolts-builder-page .ct-home-intro-hidden{display:none!important;}
@media(max-width:760px){body header.ct-clear-header{padding:6px 5% 8px!important;gap:5px 8px!important;}body .woocommerce ul.products,body .coolts-woocommerce ul.products,body .coolts-browser .woocommerce ul.products{gap:12px 10px!important;}body .woocommerce ul.products>li.product,body .coolts-woocommerce ul.products>li.product{padding:8px!important;}body .coolts-browser{padding-top:8px!important;}}
body.home .elementor-widget-coolts-section:has(.ct-home-intro-hidden),body.home .so-panel:has(.ct-home-intro-hidden){display:none!important;}
body.home .elementor-section:has(.ct-home-intro-hidden):not(:has(.hero,.coolts-browser,.coolts-collections-widget)){display:none!important;}
.woocommerce ul.products li.product img.ct-approved-ghost { background:transparent!important; box-shadow:none!important; object-fit:contain!important; }
/* v5.4: remove nested catalog gutters; keep hero and checkout untouched. */
body header.ct-clear-header{width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;padding:8px 8px!important;}
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout) main.coolts-woocommerce{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;}
body .coolts-browser.section{width:100%!important;max-width:none!important;box-sizing:border-box!important;margin:0!important;padding:8px!important;}
body .coolts-browser .woocommerce,body main.coolts-woocommerce:not(:has(div.product))>.woocommerce{padding:0!important;margin:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;}
body .coolts-builder-page :is(.elementor-container,.elementor-widget-wrap,.elementor-widget-container,.e-con,.e-con-inner):has(.coolts-browser):not(:has(.hero)){max-width:none!important;width:100%!important;padding-inline:0!important;margin-inline:0!important;}
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout) main.coolts-woocommerce>ul.products{padding-inline:8px!important;box-sizing:border-box!important;}
body ul.products>li.product a:is(.woocommerce-LoopProduct-link,.woocommerce-loop-product__link)>img{width:100%!important;height:auto!important;aspect-ratio:1/1!important;object-fit:contain!important;display:block!important;margin:0 0 8px!important;}
@media(max-width:760px){body .coolts-browser ul.products,body:not(.single-product) main.coolts-woocommerce ul.products{gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}body header.ct-clear-header{padding-top:6px!important;padding-bottom:6px!important;}body.admin-bar header.ct-clear-header{margin-top:0!important;}}
/* v5.5: fixed square media boxes override oversized mug plugin styling. */
body ul.products li.product a.woocommerce-LoopProduct-link > img.attachment-woocommerce_thumbnail,body ul.products li.product a.woocommerce-loop-product__link > img.attachment-woocommerce_thumbnail {width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1/1!important;object-fit:contain!important;object-position:center!important;align-self:stretch!important;flex:none!important;margin:0 0 8px!important;box-sizing:border-box!important;}
@media(max-width:760px){
body header.ct-clear-header{width:100%!important;max-width:none!important;margin:0!important;padding:6px 8px!important;min-height:0!important;gap:5px 8px!important;}
body header.ct-clear-header>.brand{margin:0!important;padding:0!important;min-height:0!important;}
body header.ct-clear-header .brand-logo{display:block!important;margin:0!important;}
body:not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout) main.coolts-woocommerce{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
body .coolts-browser.section.coolts-products-widget{width:100%!important;max-width:none!important;margin:0!important;padding:8px!important;}
body .coolts-browser.section .woocommerce{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;}
body .coolts-browser.section .woocommerce ul.products,body:not(.single-product) main.coolts-woocommerce ul.products{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:8px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body:not(.single-product) main.coolts-woocommerce>ul.products{padding-inline:8px!important;}
body .coolts-browser.section .woocommerce ul.products>li.product,body:not(.single-product) main.coolts-woocommerce ul.products>li.product{padding:7px!important;}
body .coolts-builder-page :is(.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap,.elementor-widget-container,.e-con,.e-con-inner):has(.coolts-browser):not(:has(.hero)){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;}
}

/* Homepage: keep entire mug and Dad Jokes product visible without parallax crop. */
.home .ct-matched-categories :is(.ct-collection-mugs,.ct-collection-dad-jokes)>span{display:grid!important;place-items:center;width:100%;margin:0 0 16px!important;overflow:hidden;background:#e5e1d6;}
.home .ct-matched-categories :is(.ct-collection-mugs,.ct-collection-dad-jokes)>span>img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;will-change:auto!important;padding:10px;box-sizing:border-box;}

/* Collection cards only: full product, no zoom or parallax. */
html body .ct-matched-categories a.category {padding:0!important;display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden!important;transform:none!important;}
html body .ct-matched-categories a.category>span {display:block!important;position:relative!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1/1!important;margin:0!important;padding:0!important;background:#e5e1d6!important;overflow:hidden!important;}
html body .ct-matched-categories a.category>span>img {position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:7%!important;margin:0!important;box-sizing:border-box!important;object-fit:contain!important;object-position:center!important;transform:none!important;will-change:auto!important;transition:none!important;background:transparent!important;}
html body .ct-matched-categories a.category>strong {padding:14px 12px!important;margin:0!important;min-height:65px;flex:1;display:flex!important;align-items:center!important;justify-content:space-between!important;}
