/*
 * Chuskies Global v8.1.0 — Master Brand System / Version 1
 * Purpose: unify the existing theme around the approved forest-green / warm-gold / cream language.
 * Commerce logic is intentionally untouched.
 */
:root{
  --ch-brand-green:#174c36;
  --ch-brand-green-dark:#0d3828;
  --ch-brand-green-deep:#082b1f;
  --ch-brand-gold:#d1a343;
  --ch-brand-gold-soft:#ead6a4;
  --ch-brand-cream:#fbf8f1;
  --ch-brand-paper:#fffdf8;
  --ch-brand-white:#ffffff;
  --ch-brand-ink:#17362a;
  --ch-brand-muted:#66736c;
  --ch-brand-line:#dedfd7;
  --ch-brand-soft:#eef3ee;
  --ch-brand-danger:#9b2b2b;
  --ch-brand-success:#1b754d;
  --ch-brand-radius:8px;
  --ch-brand-shadow:0 5px 18px rgba(13,56,40,.08);
}

html{scroll-behavior:smooth}
body{background:var(--ch-brand-cream);color:var(--ch-brand-ink)}
a{color:var(--ch-brand-green)}
a:hover{color:var(--ch-brand-green-dark)}

/* Global surfaces / content wrappers */
.site-main,.site-content,main{color:var(--ch-brand-ink)}
.section-kicker,.section-heading span,.hero-kicker,.vendor-kicker{color:var(--ch-brand-gold)!important}

/* Existing non-homepage header — same brand family as the approved homepage */
.topbar{background:var(--ch-brand-green-dark)!important;color:#fff!important}
.site-header{background:var(--ch-brand-white)!important;border-color:var(--ch-brand-line)!important}
.brand-mark{background:var(--ch-brand-green)!important;color:var(--ch-brand-gold-soft)!important;border-radius:8px}
.brand-name{color:var(--ch-brand-green)!important}
.brand-name em{color:var(--ch-brand-gold)!important}
.main-nav>a,.nav-item>a{color:var(--ch-brand-ink)!important}
.main-nav>a:hover,.nav-item>a:hover,.icon-link:hover,.home-nav.active{color:var(--ch-brand-green)!important}
.nav-item>a .chevron{color:var(--ch-brand-gold)!important}
.nav-dropdown{background:#fff!important;border-color:var(--ch-brand-line)!important;border-top-color:var(--ch-brand-gold)!important;box-shadow:0 18px 50px rgba(13,56,40,.14)!important}
.nav-dropdown a{color:var(--ch-brand-ink)!important}
.nav-dropdown a:hover{background:var(--ch-brand-soft)!important;color:var(--ch-brand-green)!important}
.cart-pill{background:var(--ch-brand-green)!important;color:#fff!important}
.cart-pill:hover{background:var(--ch-brand-green-dark)!important}
.mobile-menu-toggle{color:var(--ch-brand-green)!important}
.mobile-nav{background:#fff!important;border-color:var(--ch-brand-line)!important}
.mobile-nav a{color:var(--ch-brand-ink)!important;border-color:var(--ch-brand-line)!important}
.mobile-nav a:hover{background:var(--ch-brand-soft)!important;color:var(--ch-brand-green)!important}

/* Footer */
.site-footer{background:var(--ch-brand-green-dark)!important;color:#fff!important;border-top:4px solid var(--ch-brand-gold)}
.footer-main{background:transparent!important}
.footer-main h3{color:#fff!important}
.footer-main a{color:#c9d6ce!important}
.footer-main a:hover{color:var(--ch-brand-gold-soft)!important}
.footer-positioning{color:#b7c8be!important}
.footer-vendor-cta a{color:var(--ch-brand-gold-soft)!important}
.footer-cta-row a:first-child{background:var(--ch-brand-gold)!important;border-color:var(--ch-brand-gold)!important;color:#17362a!important}
.footer-cta-row a:last-child{border-color:rgba(255,255,255,.35)!important;color:#fff!important}
.footer-bottom{border-color:rgba(255,255,255,.16)!important;color:#aebdb5!important}
.footer-bottom a{color:#c9d6ce!important}
.footer-brand .brand-mark{background:var(--ch-brand-green)!important;color:var(--ch-brand-gold-soft)!important}
.footer-brand .brand-name{color:#fff!important}
.footer-brand .brand-name em{color:var(--ch-brand-gold)!important}

/* Universal action language */
button,.button,.hero-button,.wp-element-button,input[type=submit],input[type=button]{font-family:inherit}
.hero-button,.marketplace-search button,.chuskies-button,.btn-primary,.primary-button{background:var(--ch-brand-green)!important;color:#fff!important;border-color:var(--ch-brand-green)!important}
.hero-button:hover,.marketplace-search button:hover,.chuskies-button:hover,.btn-primary:hover,.primary-button:hover{background:var(--ch-brand-green-dark)!important;border-color:var(--ch-brand-green-dark)!important}
.text-link,.account-text-link,.cart-clear-link,.cart-remove-link{color:var(--ch-brand-green)!important}
.text-link:hover,.account-text-link:hover,.cart-clear-link:hover,.cart-remove-link:hover{color:var(--ch-brand-green-dark)!important}

/* Forms */
input,select,textarea{accent-color:var(--ch-brand-green)}
input:focus,select:focus,textarea:focus{border-color:var(--ch-brand-green)!important;outline:2px solid rgba(23,76,54,.10)!important;outline-offset:0}
label{color:var(--ch-brand-ink)}

/* Commerce cards / panels */
.product-card,.chuskies-product-card,.journal-card,.category-card,.account-card,.payment-method,.checkout-summary,.order-confirmation,.cart-item,.vendor-product-card,.vendor-status,.vendor-product-list>div{background:#fff;border-color:var(--ch-brand-line)!important;box-shadow:var(--ch-brand-shadow)}
.product-card:hover,.chuskies-product-card:hover,.category-card:hover{border-color:#b8cbbb!important;box-shadow:0 10px 28px rgba(13,56,40,.11)}
.product-image,.product-image-placeholder,.category-placeholder,.journal-image{background:#f0eee5!important}
.product-price,.product-price-large{color:var(--ch-brand-green)!important}
.service-card:before{background:var(--ch-brand-gold)!important}
.service-icon{border-color:var(--ch-brand-gold)!important;color:var(--ch-brand-green)!important}
.service-card strong{color:var(--ch-brand-green)!important}

/* Marketplace/search/category */
.marketplace-categories a.is-active,.marketplace-search button{background:var(--ch-brand-green)!important;color:#fff!important}
.marketplace-categories a:hover{border-color:#b8cbbb!important;color:var(--ch-brand-green)!important}

/* Account/cart/checkout */
.account-side-panel,.cart-summary-panel,.account-hero-badge,.cart-hero-note{background:var(--ch-brand-green-dark)!important;border-color:var(--ch-brand-green-dark)!important}
.account-stats span,.cart-item-category,.status-pill{color:var(--ch-brand-green)!important}
.cart-checkout-button{background:var(--ch-brand-green)!important}
.cart-checkout-button:hover{background:var(--ch-brand-green-dark)!important}
.checkout-total{color:var(--ch-brand-green)!important}

/* Product detail / payment / invoice */
.cg-card-kicker{color:var(--ch-brand-green)!important}
.cg-product-v3-thumb.is-active,.cg-product-v3-thumbs button.is-active,.cg-price-current,.cg-purchase-v3-card.is-active,.cg-pay-online.is-selected,.cg-payment-option.is-selected{border-color:var(--ch-brand-green)!important}
.cg-v3-buy-now{background:var(--ch-brand-green)!important;border-color:var(--ch-brand-green)!important}
.cg-v3-buy-now:hover{background:var(--ch-brand-green-dark)!important}
.cg-payment-option.is-selected{background:#f2f7f3!important;box-shadow:inset 0 0 0 1px var(--ch-brand-green)!important}
.cg-payment-option.is-selected:after,.cg-pay-online.is-selected .cg-payment-option-check{background:var(--ch-brand-green)!important;border-color:var(--ch-brand-green)!important}
.cg-invoice-actions button,.cg-invoice-actions a{border-color:var(--ch-brand-green)!important;color:var(--ch-brand-green)!important}
.cg-invoice-actions button:hover,.cg-invoice-actions a:hover{background:var(--ch-brand-green)!important;color:#fff!important}

/* Editorial / global trade bands */
.editorial-band{background:var(--ch-brand-green-dark)!important;color:#fff!important}
.international-cta{background:#e9dfcd!important}

/* Keep semantic states red; red is no longer a brand accent. */
.notice-error,.error,.woocommerce-error,.is-error{--state-red:var(--ch-brand-danger)}
.notice-error{border-left-color:var(--ch-brand-danger)!important}
.cg-order-status-badge.cancelled,.cg-confirmation .confirmation-mark{background:var(--ch-brand-danger)!important}

/* Front-page reference design: reinforce the same master tokens without changing its layout. */
.ref-home{--rg:var(--ch-brand-green);--rg2:var(--ch-brand-green-deep);--rg3:var(--ch-brand-green);--gold:var(--ch-brand-gold);color:var(--ch-brand-ink)}
.ref-topbar{background:var(--ch-brand-green-dark)!important}
.ref-header{background:#fff!important}
.ref-brand{color:var(--ch-brand-green)!important}
.ref-search button{background:var(--ch-brand-green)!important}
.ref-cart b{background:var(--ch-brand-gold)!important}
.ref-nav{background:var(--ch-brand-green)!important}
.ref-nav a.active{color:var(--ch-brand-gold-soft)!important;border-color:var(--ch-brand-gold)!important}
.ref-hero{background:var(--ch-brand-green-deep)!important}
.ref-btn-gold{background:var(--ch-brand-gold)!important}
.ref-trust-row>div{color:var(--ch-brand-green)!important}
.ref-showcase h2,.ref-export h2{color:var(--ch-brand-green)!important}
.ref-dark{background:var(--ch-brand-green)!important}
.ref-gold{background:var(--ch-brand-gold)!important}
.ref-export{background:var(--ch-brand-green-dark)!important}

/* Prevent accidental horizontal overflow on smaller devices. */
img{max-width:100%;height:auto}
body{overflow-x:hidden}
@media(max-width:900px){.main-nav{gap:16px}.header-inner{gap:18px}.header-actions{gap:9px}}
