/* Scoped to WooCommerce product-category archives only. */
.jgsc-header,
.jgsc-seo {box-sizing:border-box;width:100%;font-family:inherit}
.jgsc-header{background:#edf2f6;border-top:4px solid #167fc2;border-bottom:2px solid #167fc2;padding:32px 28px;margin:0 0 24px}
.jgsc-header-inner{max-width:1320px;margin:0 auto;display:flex;align-items:center;gap:32px}
.jgsc-logo{flex:0 0 150px;display:flex;align-items:center;justify-content:center;min-height:120px}
.jgsc-logo-image{display:block;width:auto;max-width:150px;max-height:125px;object-fit:contain}
.jgsc-heading{min-width:0;flex:1}
.jgsc-eyebrow{display:block;color:#167fc2;font-size:12px;letter-spacing:2px;font-weight:700;margin-bottom:8px}
.jgsc-title{color:#263443;font-size:clamp(26px,3vw,40px);line-height:1.2;font-weight:700;margin:0}
.jgsc-subtitle{color:#4e6071;font-size:15px;line-height:1.6;margin:10px 0 0}
.jgsc-seo{background:#f2f5f8;border-top:3px solid #167fc2;padding:32px 28px;margin:35px 0 10px;color:#263443}
.jgsc-seo-inner{max-width:1320px;margin:0 auto;line-height:1.75}
.jgsc-seo h2{font-size:clamp(22px,2vw,29px);color:#263443;margin:0 0 16px}
.jgsc-seo h3{font-size:20px;color:#263443;margin:20px 0 10px}
.jgsc-seo a{color:#126ca8;text-decoration:underline}
/* Product cards: style only existing WooCommerce archive markup, never change the query. */
body.tax-product_cat ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch;list-style:none;padding:0;margin-left:0;margin-right:0}
body.tax-product_cat ul.products::before,body.tax-product_cat ul.products::after{display:none!important}
body.tax-product_cat ul.products li.product{float:none!important;width:auto!important;min-width:0!important;margin:0!important;display:flex;flex-direction:column;align-items:stretch;border:1px solid #e0e5ea;background:#fff;padding:12px!important;box-sizing:border-box}
body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex:1;flex-direction:column;text-decoration:none}
body.tax-product_cat ul.products li.product img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;margin:0 0 12px}
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{line-height:1.4;min-height:2.8em}
body.tax-product_cat ul.products li.product .button{margin-top:auto;text-align:center;background:#245bb5;color:#fff;border-radius:3px}
@media(max-width:1024px){body.tax-product_cat ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.jgsc-header{padding:24px 16px}.jgsc-header-inner{flex-direction:column;text-align:center;gap:12px}.jgsc-logo{flex:auto;min-height:0}.jgsc-logo-image{max-width:120px;max-height:100px}body.tax-product_cat ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.tax-product_cat ul.products li.product{padding:8px!important}.jgsc-seo{padding:24px 16px}}
@media(max-width:420px){body.tax-product_cat ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.1: Elementor editor and theme image overrides */
.jgsc-header .jgsc-header-inner{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:28px!important;max-width:1320px!important;margin:0 auto!important}
.jgsc-header .jgsc-logo{flex:0 0 132px!important;width:132px!important;max-width:132px!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.jgsc-header .jgsc-logo img.jgsc-logo-image{width:auto!important;height:auto!important;max-width:132px!important;max-height:112px!important;object-fit:contain!important;margin:0!important}
.jgsc-header .jgsc-heading{flex:1 1 auto!important;min-width:0!important;text-align:left!important}
.jgsc-header .jgsc-title{font-size:clamp(24px,2.6vw,36px)!important;line-height:1.2!important;margin:0!important}
@media(max-width:767px){.jgsc-header .jgsc-header-inner{flex-direction:column!important;gap:12px!important}.jgsc-header .jgsc-logo{flex:0 0 auto!important;width:110px!important;max-width:110px!important}.jgsc-header .jgsc-logo img.jgsc-logo-image{max-width:110px!important;max-height:95px!important}.jgsc-header .jgsc-heading{text-align:center!important}}

/* v1.3 combined category content: compact unified panel above products. */
.jgsc-combined{width:100%;box-sizing:border-box;margin:0 0 24px;background:#f2f5f8;border-top:3px solid #167fc2;border-bottom:2px solid #167fc2}
.jgsc-combined .jgsc-header{background:transparent;border:0;margin:0;padding:20px 24px 14px}
.jgsc-combined .jgsc-seo{background:transparent;border:0;margin:0;padding:8px 24px 22px}
.jgsc-combined .jgsc-seo-inner{max-width:1320px}
.jgsc-combined .jgsc-seo-inner > div{max-width:100%!important;margin:0!important}
.jgsc-combined .jgsc-logo{min-height:0}
.jgsc-combined .jgsc-logo img.jgsc-logo-image{max-height:100px!important}
@media(max-width:767px){.jgsc-combined .jgsc-header{padding:18px 14px 10px}.jgsc-combined .jgsc-seo{padding:8px 14px 18px}}
