/* JTS v4.2.6 — visual fixes merged onto GA4-updated theme */

/* WooCommerce add-to-basket notice */
#jts-main .woocommerce-notices-wrapper{width:100%;margin:0 0 22px}
#jts-main .woocommerce-notices-wrapper .woocommerce-message,
#jts-main .woocommerce-notices-wrapper .woocommerce-info,
#jts-main .woocommerce-notices-wrapper .woocommerce-error,
#jts-main>.woocommerce-message{
 box-sizing:border-box!important;width:100%!important;min-height:60px;display:flex!important;align-items:center!important;gap:14px;
 margin:0 0 22px!important;padding:14px 18px!important;border:1px solid var(--jts-line,#deded7)!important;border-radius:16px!important;
 outline:0!important;background:#fff!important;color:var(--jts-forest,#1F3D2E)!important;box-shadow:0 10px 28px rgba(31,61,46,.07)!important
}
#jts-main .woocommerce-message:before,#jts-main .woocommerce-info:before,#jts-main .woocommerce-error:before{display:none!important}
#jts-main .woocommerce-message .button,#jts-main .woocommerce-notices-wrapper .button{
 order:2;flex:0 0 auto;margin:0 0 0 auto!important;padding:11px 20px!important;border:0!important;border-radius:999px!important;
 background:var(--jts-forest,#1F3D2E)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;font-weight:800!important;
 cursor:pointer!important
}

/* Add-to-basket controls should always visually behave as clickable controls. */
.single_add_to_cart_button,
button.single_add_to_cart_button,
.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.add_to_cart_button,
.woocommerce .product_type_simple,
.jts-product-card .add_to_cart_button,
.jts-product-card button,
.jts-quick-add,
[data-product_id].add_to_cart_button{
 cursor:pointer!important
}

/* Classic cart + Woo Blocks checkout CTA */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart a.checkout-button,
#jts-main .wc-block-cart__submit-button{
 box-sizing:border-box!important;width:100%!important;min-height:56px!important;display:flex!important;align-items:center!important;justify-content:center!important;
 padding:15px 24px!important;border:0!important;border-radius:999px!important;background:var(--jts-forest,#1F3D2E)!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;text-decoration:none!important;font-weight:850!important;cursor:pointer!important
}
body.woocommerce-cart .wc-block-cart__submit-button *,#jts-main .wc-block-cart__submit-button *{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.woocommerce-cart .wc-block-cart__submit-button:hover,body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover{background:var(--jts-brown,#A46B3C)!important}

/* Product-category hero: one image layer only, cover and never tile. */
.jts-category-hero.jts-category-hero--image{position:relative;background:var(--jts-cream,#F5F1E8)!important}
.jts-category-hero.jts-category-hero--image:after{content:none!important;display:none!important;background:none!important}
.jts-category-hero.jts-category-hero--image:before{
 content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:-1!important;
 background-image:linear-gradient(rgba(15,38,28,var(--jts-v42-cat-overlay,.52)),rgba(15,38,28,var(--jts-v42-cat-overlay,.52))),var(--jts-category-image)!important;
 background-size:cover!important;background-repeat:no-repeat!important;background-position:var(--jts-v42-cat-position,center center)!important
}
.jts-category-hero.jts-category-hero--image .jts-category-hero__inner{position:relative;z-index:2}
.jts-category-hero.jts-category-hero--image h1,
.jts-category-hero.jts-category-hero--image .jts-eyebrow,
.jts-category-hero.jts-category-hero--image .jts-category-hero__copy{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.28)}

@media(max-width:680px){
 #jts-main .woocommerce-notices-wrapper .woocommerce-message,#jts-main>.woocommerce-message{align-items:flex-start!important;flex-direction:column!important}
 #jts-main .woocommerce-message .button{order:0;width:100%!important;margin:0!important;text-align:center}
}
