/* Shared storefront shell and native WooCommerce views. Checkout, cart and account are excluded in PHP. */
body.cgd-native-page #top-bar{background:#e7192d!important}
body.cgd-native-page #header .header-main{background:#181818!important;color:#fff!important}
body.cgd-native-page #header .header-bottom{background:#050505!important;color:#fff!important}
body.cgd-native-page #header .header-main a,
body.cgd-native-page #header .header-bottom a,
body.cgd-native-page #header .header-main i,
body.cgd-native-page #header .header-bottom i{color:#fff!important}
body.cgd-native-page #header .header-bottom a:hover,
body.cgd-native-page #header .header-bottom a:focus-visible{color:#ed1b2f!important}
body.cgd-native-page.woocommerce .badge-inner.on-sale{background:#e7192d!important;color:#fff!important}
body.cgd-native-page.woocommerce .price ins,
body.cgd-native-page.woocommerce .price ins .amount,
body.cgd-native-page.woocommerce .price ins bdi,
body.cgd-native-page.woocommerce .price ins .woocommerce-Price-currencySymbol{color:#d71929!important;-webkit-text-fill-color:#d71929!important;text-decoration:none!important}
body.cgd-native-page.woocommerce .product-small.product.sale .price>.woocommerce-Price-amount,
body.cgd-native-page.woocommerce .product-small.product.sale .price>.woocommerce-Price-amount *{color:#d71929!important;-webkit-text-fill-color:#d71929!important}
body.cgd-native-page.woocommerce .product-small.product.sale .price del,
body.cgd-native-page.woocommerce .product-small.product.sale .price del *{color:#888!important;-webkit-text-fill-color:#888!important}
body.cgd-native-page.woocommerce .nav-pagination .page-number{border-color:#d71929!important;color:#d71929!important;-webkit-text-fill-color:#d71929!important}
body.cgd-native-page.woocommerce .nav-pagination .page-number.current,
body.cgd-native-page.woocommerce .nav-pagination a.page-number:hover,
body.cgd-native-page.woocommerce .nav-pagination a.page-number:focus-visible{background:#d71929!important;border-color:#d71929!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.cgd-native-page.woocommerce .nav-pagination .page-number.dots{border-color:transparent!important;color:#666!important;-webkit-text-fill-color:#666!important}

body.cgd-native-page.single-product .product-page-title{background:#111!important}
body.cgd-native-page.single-product .product-page-title .page-title-bg{display:none!important}
body.cgd-native-page.single-product .product-summary form.cart .single_add_to_cart_button,
body.cgd-native-page.single-product .product-summary form.cart .ux-buy-now-button{background:#e7192d!important;border-color:#e7192d!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.cgd-native-page.single-product .product-summary form.cart .single_add_to_cart_button:not(.disabled):hover,
body.cgd-native-page.single-product .product-summary form.cart .single_add_to_cart_button:not(.disabled):focus-visible,
body.cgd-native-page.single-product .product-summary form.cart .ux-buy-now-button:not(.disabled):hover,
body.cgd-native-page.single-product .product-summary form.cart .ux-buy-now-button:not(.disabled):focus-visible{background:#b80b1b!important;border-color:#b80b1b!important}
@media(max-width:650px){
body.cgd-native-page.single-product .product-summary form.cart .woocommerce-variation-add-to-cart{display:grid!important;grid-template-columns:80px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:8px!important}
body.cgd-native-page.single-product .product-summary form.cart .woocommerce-variation-add-to-cart>.ux-quantity{width:80px!important;margin:0!important}
body.cgd-native-page.single-product .product-summary form.cart .woocommerce-variation-add-to-cart>.single_add_to_cart_button,
body.cgd-native-page.single-product .product-summary form.cart .woocommerce-variation-add-to-cart>.ux-buy-now-button{box-sizing:border-box;width:100%!important;min-width:0!important;height:40px!important;margin:0!important;padding:0 4px!important;font-size:clamp(11px,3.2vw,13px)!important;white-space:nowrap}
}

/* The existing footer widgets keep their links; only their non-payment panel gets the reference dark treatment. */
body.cgd-native-page #footer .footer-2{background:#151515!important;color:#f5f5f5!important}
body.cgd-native-page #footer .footer-2 .widget_custom_html .custom-html-widget>div{background:transparent!important;color:#f5f5f5!important;font-family:'Barlow Condensed',Arial,sans-serif!important;font-size:16px!important}
body.cgd-native-page #footer .footer-2 .widget_custom_html p,
body.cgd-native-page #footer .footer-2 .widget_custom_html a{color:#f5f5f5!important;font-size:16px!important;line-height:1.45}
body.cgd-native-page #footer .footer-2 .widget_custom_html .custom-html-widget>div>p:first-child{font-family:'Teko','Barlow Condensed',Arial,sans-serif!important;font-size:21px!important;font-weight:600!important;letter-spacing:.02em;text-transform:uppercase}
body.cgd-native-page #footer .footer-2 .widget_custom_html a:hover,
body.cgd-native-page #footer .footer-2 .widget_custom_html a:focus-visible{color:#ed1b2f!important}
body.cgd-native-page #footer .footer-2 .cgd-footer-feature h3{color:#fff!important;font-family:'Teko','Barlow Condensed',Arial,sans-serif!important;font-size:32px!important;line-height:1.1;margin:0 0 10px;text-transform:uppercase}
body.cgd-native-page #footer .footer-2 .cgd-footer-feature p{color:#eee!important;font-size:17px!important;margin:0 0 22px}
body.cgd-native-page #footer .footer-2 .cgd-footer-feature a.cgd-footer-cta{background:#e7192d!important;color:#fff!important;display:inline-flex;align-items:center;justify-content:center;font-family:'Barlow Condensed',Arial,sans-serif;font-size:17px!important;font-weight:700;min-height:48px;padding:9px 24px;text-decoration:none;text-transform:uppercase}
body.cgd-native-page #footer .footer-2 .cgd-footer-feature a.cgd-footer-cta:hover,
body.cgd-native-page #footer .footer-2 .cgd-footer-feature a.cgd-footer-cta:focus-visible{background:#bd1123!important;color:#fff!important}
body.cgd-native-page #footer .absolute-footer{background:#151515!important}
body.cgd-native-page #footer .absolute-footer .copyright-footer{color:#ddd!important}
body.cgd-native-page #footer .absolute-footer .payment-icons{background:#f4f4f4;border-radius:4px;padding:4px 5px}
body.cgd-native-page #footer .footer-2 .cgd-footer-toggle{appearance:none;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important;display:flex;align-items:center;justify-content:space-between;font:600 21px/1.2 'Teko','Barlow Condensed',Arial,sans-serif;letter-spacing:.02em;min-height:30px;padding:0;text-align:left;text-transform:uppercase;width:100%;cursor:default}
body.cgd-native-page #footer .footer-2 .cgd-footer-chevron{display:none}
body.cgd-native-page #footer .footer-2 .cgd-footer-panel[hidden]{display:none!important}
@media(max-width:650px){
body.cgd-native-page #main-menu{background:#fff!important;min-height:100vh}
body.cgd-native-page #footer .footer-2 .widget_custom_html[data-cgd-footer-fold="true"]{border-bottom:1px solid rgba(255,255,255,.23);padding-top:2px;padding-bottom:2px}
body.cgd-native-page #footer .footer-2 .widget_custom_html[data-cgd-footer-fold="true"] .cgd-footer-heading{margin:0!important}
body.cgd-native-page #footer .footer-2 .cgd-footer-toggle{cursor:pointer;min-height:54px;font-size:25px!important}
body.cgd-native-page #footer .footer-2 .cgd-footer-chevron{display:block;font:400 26px/1 Arial,sans-serif;transition:transform .18s}
body.cgd-native-page #footer .footer-2 .cgd-footer-toggle[aria-expanded="true"] .cgd-footer-chevron{transform:rotate(180deg)}
body.cgd-native-page #footer .footer-2 .cgd-footer-panel{padding:2px 0 12px}
body.cgd-native-page #footer .footer-2 .cgd-footer-panel p{margin:8px 0!important}
}

/* The imported catalog has a long flat category list; constrain its desktop widget so it cannot create a blank page below the product grid. */
@media(min-width:850px){body.cgd-native-page.woocommerce #shop-sidebar .widget_product_categories .product-categories{max-height:600px;overflow-y:auto;overscroll-behavior:contain;padding-right:10px;scrollbar-width:thin}}

/* Editorial archive uses the three real guides; the theme's demo sidebar and date stamps are not part of that content. */
body.cgd-native-page.blog .post-sidebar,body.cgd-native-page.single-post .post-sidebar{display:none!important}
body.cgd-native-page.blog .blog-wrapper>.row>.large-9,body.cgd-native-page.single-post .blog-wrapper>.row>.large-9{flex-basis:100%;max-width:100%}
body.cgd-native-page.blog .entry-meta,body.cgd-native-page.single-post .entry-meta,body.cgd-native-page.blog .post-date,body.cgd-native-page.single-post .post-date{display:none!important}
body.cgd-native-page.blog #post-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.cgd-native-page.blog #post-list>.cgd-blog-intro{grid-column:1/-1;text-align:center;margin:0 auto 18px;max-width:780px}
body.cgd-native-page.blog .cgd-blog-intro h1{font-family:'Teko','Barlow Condensed',Impact,sans-serif;font-size:clamp(40px,4vw,60px);line-height:1;margin:0;text-transform:uppercase}
body.cgd-native-page.blog .cgd-blog-intro>p:last-child{font-family:'Barlow Condensed',Arial,sans-serif;font-size:20px;margin:10px 0 0}
body.cgd-native-page.blog #post-list article{border:1px solid #e5e5e5;margin:0;padding:0 0 22px;min-width:0}
body.cgd-native-page.blog #post-list article .entry-header-text,body.cgd-native-page.blog #post-list article .entry-content{padding-left:22px;padding-right:22px}
body.cgd-native-page.blog #post-list .entry-title{font-family:'Teko','Barlow Condensed',Impact,sans-serif;font-size:32px;line-height:1.05;text-transform:uppercase}
body.cgd-native-page.blog #post-list .entry-summary{font-family:'Barlow Condensed',Arial,sans-serif;font-size:18px;line-height:1.45}
body.cgd-native-page.blog #post-list .more-link{border-color:#e7192d!important;background:#e7192d!important;color:#fff!important}
body.cgd-native-page.single-post .entry-title{font-family:'Teko','Barlow Condensed',Impact,sans-serif;font-size:clamp(38px,4vw,60px);line-height:1.05;text-transform:uppercase}
body.cgd-native-page.single-post .entry-content{font-size:18px;line-height:1.6}
body.cgd-native-page.single-post .entry-author.author-box{display:none!important}
@media(max-width:850px){body.cgd-native-page.blog #post-list{grid-template-columns:1fr 1fr}}
@media(max-width:650px){body.cgd-native-page.blog #post-list{grid-template-columns:1fr}}

/* Keep the native search form readable against its white dropdown. */
body.cgd-native-page #ux-search-dropdown input.search-field{background:#f5f5f5!important;border:1px solid #d0d0d0!important;color:#222!important;-webkit-text-fill-color:#222!important}
body.cgd-native-page #ux-search-dropdown input.search-field::placeholder{color:#686868!important;-webkit-text-fill-color:#686868!important;opacity:1!important}
body.cgd-native-page #ux-search-dropdown input.search-field:focus{border-color:#e7192d!important;box-shadow:0 0 0 2px rgba(231,25,45,.15)!important}
body.cgd-native-page #ux-search-dropdown .ux-search-submit{background:#e7192d!important;border-color:#e7192d!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.cgd-native-page #ux-search-dropdown .ux-search-submit:hover,
body.cgd-native-page #ux-search-dropdown .ux-search-submit:focus-visible{background:#b80b1b!important;border-color:#b80b1b!important}
/* Visual treatment only for links in the native mini-cart drawer. */
body.cgd-native-page #cart-popup a.button.wc-forward{background:#e7192d!important;border-color:#e7192d!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.cgd-native-page #cart-popup a.button.wc-forward:hover,
body.cgd-native-page #cart-popup a.button.wc-forward:focus-visible{background:#b80b1b!important;border-color:#b80b1b!important}

body.cgd-native-page .off-canvas-cart #cart-popup{background:#fff!important}
