/*
Theme Name: njtheme
Author: Dylan Gordon
Description: A custom WordPress theme built specifically for Only NJ, designed to be lightweight, intuitive to use, and easy to maintain for the long term. Features centralized site management, native WordPress editing, and WooCommerce integration.
Version: 0.93.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: onlynj
License: GNU General Public License v2 or later
*/
:root{--nj-blue:#1979b5;--nj-green:#80c52e;--nj-ink:#242424;--nj-line:#ddd}
body{margin:0}img{max-width:100%;height:auto}a{text-underline-offset:.15em}.nj-header{background:#fff;border-bottom:1px solid #e5e5e5}.nj-header-inner{min-height:108px;padding-block:12px;gap:28px!important}.nj-logo{display:inline-flex;align-items:center;text-decoration:none}.nj-logo-img{width:177px;height:auto;display:block}.nj-wordmark{font-size:42px;font-weight:900;letter-spacing:-2px;color:var(--nj-blue);line-height:1}.nj-wordmark span{color:#222;background:var(--nj-green);padding:0 4px}.nj-nav{font-size:15px;font-weight:700;gap:clamp(12px,2vw,28px)!important}.nj-nav a{text-decoration:none}.nj-nav a:hover{color:var(--nj-blue)}.nj-shipping{padding:8px 0 12px;text-align:center;font-weight:900;color:#222;font-size:clamp(13px,2.5vw,30px);line-height:1.15}.nj-shipping b{color:var(--nj-blue)}.nj-banner-img{display:block;width:100%;max-width:1024px;margin:auto}.nj-home{padding-top:12px;padding-bottom:30px}.nj-slider{position:relative;max-width:100%;margin:auto}.nj-slides{overflow:hidden;background:#f3f3f3}.nj-slide{margin:0;display:block}.nj-slide[hidden]{display:none!important}.nj-slide img{display:block;width:100%;height:auto;max-height:620px;object-fit:contain;margin:auto}.nj-slider-controls{display:flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:6px}.nj-slider button{cursor:pointer;font:inherit}.nj-arrow{position:absolute;top:calc(50% - 32px);width:44px;height:44px;display:grid;place-items:center;border:0;background:#0008;color:white;font-size:28px!important}.nj-prev{left:0}.nj-next{right:0}.nj-slider button:focus-visible{outline:2px solid var(--nj-blue);outline-offset:2px}.nj-slider-controls button{background:white;border:1px solid #ccc;padding:4px 9px;font-size:12px}.nj-intro{font-size:16px;line-height:1.65;margin:20px auto 0;max-width:1024px}.nj-intro p{margin:0 0 16px}.nj-setup-note{background:#f5f5f5;padding:14px;border:1px dashed #aaa;color:#444}.nj-footer{background:#f4f4f4;border-top:1px solid #ddd;padding-top:28px;padding-bottom:14px}.nj-footer-grid{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}.nj-footer-grid>*{margin:0!important;min-width:0}.nj-footer-title{font-size:17px;margin:0 0 10px}.nj-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}.nj-products li{min-width:0}.nj-products a{display:flex;flex-direction:column;gap:6px;text-decoration:none;font-size:11px;font-weight:700;line-height:1.35}.nj-products img{width:100%;aspect-ratio:1;object-fit:contain;background:white;display:block}.nj-categories{list-style:none;margin:0;padding:0;font-size:14px}.nj-categories li{border-bottom:1px solid #ddd;padding:7px 0}.nj-categories a{text-decoration:none}.nj-categories span{color:#666}.nj-footer-about{font-size:14px;line-height:1.55}.nj-footer-about .nj-logo-img{width:115px}.nj-footer-bottom{border-top:1px solid #ddd;padding-top:14px;font-size:11px;margin-top:28px!important}.nj-footer-bottom p{margin:0}.woocommerce ul.products li.product a img{height:auto}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:#1979b5;color:white;border-radius:2px}.woocommerce div.product div.images img{height:auto}.wp-block-post-content{overflow-wrap:anywhere}.wp-block-query .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover}.nj-gallery img{object-fit:cover}.screen-reader-text{border:0;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}
@media(max-width:900px){.nj-header-inner{min-height:82px}.nj-logo-img{width:135px}.nj-nav{gap:12px!important;font-size:13px}.nj-footer-grid{grid-template-columns:2fr 1fr}.nj-footer-about{grid-column:1/-1}.nj-footer-about .nj-logo-img{width:95px}}
@media(max-width:600px){.nj-header-inner{min-height:70px;padding:8px 0}.nj-logo-img{width:105px}.nj-wordmark{font-size:34px}.nj-shipping{padding:6px 0 10px}.nj-home{padding-top:8px;padding-bottom:18px}.nj-intro{font-size:15px;line-height:1.6;margin-top:14px}.nj-footer-grid{grid-template-columns:1fr;gap:22px}.nj-products{gap:10px}.nj-footer-about{grid-column:auto}.nj-footer-bottom{display:block!important}.nj-footer-bottom p+p{margin-top:8px}.nj-arrow{width:34px;height:38px;font-size:24px!important}}

/* v0.3: centered artwork, separate navigation and social area. */
.nj-masthead{margin-block:0!important}.nj-masthead-grid{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,3fr) minmax(110px,1fr);align-items:center;gap:20px;min-height:118px;padding:10px 0}.nj-masthead-logo{justify-self:start}.nj-masthead-art{display:grid;place-items:center;min-width:0;text-align:center}.nj-header-art{display:block;width:auto;max-width:100%;max-height:130px;object-fit:contain}.nj-mobile-art{display:none}.nj-header-fallback{color:#1979b5;font-size:clamp(18px,2.6vw,33px);font-weight:900;line-height:1.15}.nj-social{justify-self:end;text-align:center;display:flex;flex-direction:column;gap:7px;align-items:center}.nj-social-label{font-size:13px;font-weight:700;line-height:1.2}.nj-social-links{display:flex;gap:6px;align-items:center;justify-content:center}.nj-social-link{display:grid;place-items:center;width:30px;height:30px;border-radius:3px;color:white!important;text-decoration:none;background:#555}.nj-social-link.nj-facebook{background:#3b5998}.nj-social-link.nj-instagram{background:#a33483}.nj-social-link.nj-twitter{background:#1da1f2}.nj-social-link:focus-visible{outline:2px solid #242424;outline-offset:3px}.nj-menu-band{margin-block:0!important;border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;padding:0}.nj-menu-band .nj-nav{justify-content:center;min-height:47px;gap:0!important;text-transform:uppercase;font-size:14px;font-weight:700}.nj-menu-band .nj-nav .wp-block-navigation__container{gap:0!important;justify-content:center}.nj-menu-band .nj-nav a{display:block;padding:12px 18px;line-height:1.4}.nj-header .nj-shipping{margin-block:0;padding-top:10px}
@media(max-width:850px){.nj-masthead-grid{gap:12px;min-height:95px}.nj-menu-band .nj-nav a{padding:10px 12px}.nj-social-link{width:27px;height:27px}}
@media(max-width:600px){.nj-masthead-grid{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:0;padding:12px 0}.nj-masthead-logo{grid-column:1;grid-row:1}.nj-social{grid-column:2;grid-row:1}.nj-masthead-art{grid-column:1/-1;grid-row:2}.nj-header-art{max-height:86px}.nj-has-mobile-art .nj-desktop-art,.nj-has-mobile-art .nj-header-fallback{display:none}.nj-has-mobile-art .nj-mobile-art{display:block}.nj-menu-band .nj-nav{min-height:44px}.nj-menu-band .wp-block-navigation__responsive-container-open{margin:auto}.nj-menu-band .nj-nav a{padding:10px 12px}.nj-social-label{font-size:12px}.nj-social-link{width:29px;height:29px}}

/* v0.4 — dedicated center image slot and alternating navigation tiles. */
:root{--nj-menu-blue:#1979b5;--nj-menu-green:#397c18}
.nj-masthead-art{width:100%;min-height:108px;align-self:stretch;align-content:center;justify-items:center}
.nj-masthead-art picture{display:block;max-width:100%;width:100%}
.nj-masthead-art .nj-header-art{margin:auto;max-height:130px;width:auto;max-width:100%;object-fit:contain}
.nj-masthead-art .nj-header-placeholder{width:100%;min-height:108px;display:grid;place-items:center;background:#f6f7f8;border:1px dashed #c9d0d6;color:#9ba7b1;box-sizing:border-box}
.nj-menu-band{border:0}
.nj-menu-band .nj-nav{width:100%;min-height:47px;padding:0;gap:0!important}
.nj-menu-band .nj-nav .wp-block-navigation__responsive-container:not(.is-menu-open),.nj-menu-band .nj-nav .wp-block-navigation__responsive-container-content,.nj-menu-band .nj-nav .wp-block-navigation__container{width:100%}
.nj-menu-band .nj-nav .wp-block-navigation__container{gap:0!important;flex-wrap:nowrap;align-items:stretch}
.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item{flex:1 1 0;justify-content:center;align-items:stretch;min-width:0;background:var(--nj-menu-blue);color:#fff}
.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(even){background:var(--nj-menu-green)}
.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content{display:flex;align-items:center;justify-content:center;width:100%;padding:13px 8px;line-height:1.4;color:#fff!important;background:transparent;text-align:center;text-decoration:none;box-sizing:border-box}

.nj-menu-band .nj-nav .wp-block-navigation-item__content:focus-visible{outline:2px solid white;outline-offset:-4px}
.nj-menu-band .nj-nav .wp-block-navigation__responsive-container-open{background:var(--nj-menu-blue);color:#fff;width:100%;justify-content:center;padding:12px}
.nj-menu-band .nj-nav .is-menu-open .wp-block-navigation__container{flex-direction:column;align-items:stretch;width:100%;gap:0!important}
.nj-menu-band .nj-nav .is-menu-open .wp-block-navigation__container>.wp-block-navigation-item{flex:auto;width:100%}
@media(min-width:600px) and (max-width:850px){.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content{padding-inline:5px;font-size:12px}}
@media(max-width:600px){.nj-masthead-art,.nj-masthead-art .nj-header-placeholder{min-height:80px}.nj-masthead-art .nj-header-art{max-height:86px}.nj-masthead-art.nj-empty-art{min-height:80px}}

/* Shared menu and image width; never constrain the shipping image independently. */
.nj-header .nj-menu-band{width:100%;box-sizing:border-box;margin-inline:auto;max-width:1180px}
.nj-header .nj-menu-band .nj-shipping{width:100%;max-width:none;padding:0;margin:0!important;line-height:0;box-sizing:border-box}
.nj-header .nj-menu-band .nj-banner-img{display:block;width:100%;max-width:none;height:auto;margin:0;border:0}
.nj-header .nj-menu-band .wp-block-shortcode{margin:0!important;width:100%}


/* Clickable carousel images. */
.nj-slide-link{display:block;text-decoration:none;color:inherit}.nj-slide-link:focus-visible{outline:3px solid var(--nj-menu-blue);outline-offset:-4px}.nj-slide-link img{display:block;width:100%;height:auto}

/* v0.7: consistent tile colors for current, hovered, pressed and visited pages. */
.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item {background:var(--nj-menu-blue)!important;color:#fff!important}
.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item:nth-child(even) {background:var(--nj-menu-green)!important}
.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content {background:transparent!important;color:#fff!important;box-shadow:none!important;text-decoration:none!important;opacity:1!important}

/* v0.8 shop: native WooCommerce loop, category artwork and product detail. */
.nj-commerce-main{padding-block:24px 42px}.nj-shop,.nj-single-product{max-width:1180px;margin:0 auto}.nj-shop-title{font-size:clamp(25px,3vw,34px);line-height:1.2;margin:14px 0 24px}.nj-shop .woocommerce-breadcrumb,.nj-single-product .woocommerce-breadcrumb{font-size:13px;color:#666;margin:0 0 12px}.nj-shop-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 30px}.nj-shop-category{border:1px solid #ddd;display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 10px;text-decoration:none;color:#242424;gap:4px;min-width:0}.nj-shop-category img,.nj-category-empty{width:100%;aspect-ratio:1.65;object-fit:contain;display:block;background:#f6f6f6}.nj-shop-category strong{font-size:16px}.nj-shop-category>span:last-child{font-size:12px;color:#666}.nj-shop-category:hover,.nj-shop-category:focus-visible{border-color:var(--nj-blue)}.nj-shop-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;border-block:1px solid #e2e2e2;padding:12px 0;margin-bottom:22px}.nj-shop-toolbar .woocommerce-result-count,.nj-shop-toolbar .woocommerce-ordering{float:none;margin:0}.nj-shop-toolbar .woocommerce-notices-wrapper:not(:empty){flex-basis:100%}.nj-shop-toolbar select{font:inherit;padding:8px 10px;border:1px solid #ccc;background:#fff;color:#242424;max-width:100%}.nj-shop ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 16px;padding:0;margin:0 0 25px;list-style:none}.nj-shop ul.products:before,.nj-shop ul.products:after{display:none!important}.nj-shop ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0;text-align:center;position:relative}.nj-shop ul.products li.product a img{width:100%;aspect-ratio:1;object-fit:contain;background:#f8f8f8;margin:0 0 10px;display:block}.nj-shop ul.products li.product .woocommerce-loop-product__title{font-size:14px;line-height:1.4;margin:0 0 8px;padding:0}.nj-shop ul.products li.product .price{font-size:14px;color:#333;margin:0 0 12px;display:block}.nj-shop ul.products li.product .button,.nj-single-product .single_add_to_cart_button{background:var(--nj-menu-blue);color:white;border:0;border-radius:0;text-decoration:none;padding:10px 14px;font-size:13px;font-weight:700;display:inline-block;line-height:1.4}.nj-shop ul.products li.product .button:focus-visible,.nj-single-product .single_add_to_cart_button:focus-visible{outline:2px solid #222;outline-offset:3px}.nj-shop .woocommerce-pagination{text-align:center}.nj-single-product div.product .product_title{font-size:clamp(23px,3vw,34px)}.nj-single-product div.product .price{color:#333}.nj-single-product .variations select,.nj-single-product input.qty{padding:8px;max-width:100%;font:inherit}.nj-single-product .woocommerce-tabs{clear:both}.nj-single-product .woocommerce-product-gallery img{max-width:100%;height:auto}.nj-single-product .related.products ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.nj-single-product .related.products ul.products:before,.nj-single-product .related.products ul.products:after{display:none}.nj-single-product .related.products ul.products li.product{width:auto!important;margin:0!important;float:none!important}
@media(max-width:850px){.nj-shop ul.products,.nj-shop-categories,.nj-single-product .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.nj-commerce-main{padding-block:18px 28px}.nj-shop ul.products,.nj-shop-categories,.nj-single-product .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.nj-shop-toolbar{align-items:flex-start}.nj-shop-toolbar select{font-size:14px}.nj-shop-category{padding:8px 5px}.nj-shop ul.products li.product .woocommerce-loop-product__title{font-size:13px}.nj-single-product div.product div.images,.nj-single-product div.product div.summary{float:none!important;width:100%!important}}

/* v0.9: reference screenshots — narrow masthead and wider commerce grid. */
:root{--nj-menu-blue:#2074b6;--nj-menu-green:#91c640}
.nj-header{border:0}.nj-header .nj-masthead,.nj-header .nj-menu-band{max-width:924px;width:100%;margin-inline:auto!important}.nj-masthead-grid{min-height:160px;box-sizing:border-box;grid-template-columns:177px minmax(0,1fr) 125px;align-items:start;gap:25px;padding:10px 0 25px}.nj-masthead-art{min-height:115px}.nj-masthead-art .nj-header-art{max-height:115px}.nj-social-links{flex-direction:column;gap:5px}.nj-social-link,.nj-social-link.nj-facebook,.nj-social-link.nj-twitter,.nj-social-link.nj-instagram{width:125px;height:35px;border-radius:7px;background:transparent;overflow:hidden}.nj-social-link img{display:block;width:100%;height:100%}.nj-menu-band .nj-nav{min-height:26px;font-size:16px}.nj-menu-band .nj-nav .wp-block-navigation__container>.wp-block-navigation-item>.wp-block-navigation-item__content{padding:3px 4px;line-height:20px}.nj-commerce-main{padding-block:65px 46px;margin-block-start:0!important}.nj-commerce-main>.alignwide{max-width:1180px}.nj-shop-categories{gap:38px 20px;margin:0}.nj-shop-category{position:relative;display:block;border:0;padding:0;overflow:hidden;aspect-ratio:1;text-decoration:none}.nj-shop-category img,.nj-category-empty{width:100%;height:100%;aspect-ratio:1;object-fit:cover;display:block;background:#fafafa}.nj-category-caption{position:absolute;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:3px;background:#ffffffb5;padding:0 2px 4px}.nj-category-caption strong{font-size:23px;line-height:1.25;color:#478fc2;font-weight:600}.nj-category-caption span{font-size:13px;color:#111;font-weight:700}.nj-shop-category:focus-visible{outline:2px solid var(--nj-menu-blue);outline-offset:3px}.nj-shop ul.products{gap:56px 20px}.nj-shop ul.products li.product a img{margin:0 0 3px}.nj-product-category-label{display:block;text-transform:uppercase;color:#aaa;font-size:12px;line-height:1.3;margin:0 0 4px}.nj-shop ul.products li.product .woocommerce-loop-product__title,.nj-single-product ul.products li.product .woocommerce-loop-product__title{color:#478fc2;font-weight:400;font-size:15px;text-transform:uppercase;line-height:1.35;margin:0 0 8px}.nj-shop ul.products li.product .price,.nj-single-product ul.products li.product .price{font-size:20px;color:#444;font-weight:600;margin:0;display:block}.nj-single-product div.product div.images{width:49%;margin-bottom:34px}.nj-single-product div.product div.summary{width:48%;margin-bottom:30px;color:#777;font-size:14px}.nj-single-product div.product .product_title{font-size:23px;font-weight:400;color:#888;line-height:1.2;margin:4px 0 22px}.nj-single-product div.product p.price{font-size:27px;font-weight:400;margin:0 0 28px;color:#444}.nj-single-product div.product form.cart .variations label{font-size:13px}.nj-single-product div.product form.cart .variations select{font-size:14px;border:1px solid #ddd;border-radius:0;color:#777;background:white;padding:6px}.nj-single-product .single_add_to_cart_button{font-size:12px;font-weight:400;text-transform:uppercase;padding:12px 10px}.nj-single-product .nj-product-detail{border-bottom:1px solid #ddd;margin-top:18px}.nj-product-detail summary{cursor:pointer;padding:12px 0;color:#444}.nj-detail-body{padding:12px 0 22px;color:#888}.nj-detail-body h2{display:none}.nj-single-product .product_meta{font-size:12px;color:#777;margin-top:8px}.nj-single-product .related.products{clear:both}.nj-single-product .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr));text-align:center}.nj-single-product .related.products ul.products img{width:100%;aspect-ratio:1;object-fit:contain}
@media(max-width:700px){.nj-masthead-grid{grid-template-columns:minmax(0,1fr) auto;min-height:0;padding:10px 0;gap:8px}.nj-masthead-art{min-height:75px}.nj-masthead-art .nj-header-art{max-height:85px}.nj-social-link,.nj-social-link.nj-facebook,.nj-social-link.nj-twitter,.nj-social-link.nj-instagram{width:90px;height:auto;aspect-ratio:125/35}.nj-commerce-main{padding-block:30px}.nj-shop-categories,.nj-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.nj-category-caption strong{font-size:16px}.nj-category-caption span{font-size:11px}.nj-shop ul.products li.product .price{font-size:16px}.nj-single-product div.product div.images,.nj-single-product div.product div.summary{float:none!important;width:100%!important}.nj-single-product .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}

/* v0.10: comfortable quantity controls and accessible related product links. */
.nj-single-product div.product form.cart .quantity {float:none; margin:0!important; flex:0 0 auto;}
.nj-single-product div.product form.cart .quantity input.qty {box-sizing:border-box;width:80px;min-width:80px;max-width:100%;height:44px;padding:8px 10px;text-align:center;border:1px solid #ddd;border-radius:0;background:#fff;color:#444;font-size:15px;line-height:1.4;}
.nj-single-product div.product.product-type-simple form.cart,
.nj-single-product div.product form.cart .woocommerce-variation-add-to-cart {display:flex;flex-wrap:wrap;align-items:center;gap:14px;}
.nj-single-product div.product form.cart .single_add_to_cart_button {float:none;margin:0;min-height:44px;padding:12px 16px;box-sizing:border-box;}
.nj-single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link {display:block;text-decoration:none;cursor:pointer;}
.nj-single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link:focus-visible {outline:2px solid var(--nj-menu-blue);outline-offset:4px;}

.nj-footer-about .nj-logo, .nj-footer-about .nj-footer-logo {background:transparent;border:0;box-shadow:none;}

/* Native gallery: preserve the original single-page, three-column layout. */
.nj-gallery-page{max-width:924px!important;margin:22px auto 55px!important;padding:0 12px;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;color:#555;font-size:15px;line-height:1.55}.nj-gallery-page .wp-block-post-title,.nj-gallery-page h1{text-align:center;font-size:27px;font-weight:400;color:#444;margin:18px 0 24px}.nj-gallery-page .nj-gallery-content{max-width:100%;margin:0 auto}.nj-gallery-page .nj-gallery-content>p{text-align:center;margin:14px auto;color:#2879ae}.nj-gallery-page .nj-gallery-content>h2{text-align:center;font-size:25px;font-weight:400;margin:35px 0 22px;padding-top:16px;border-top:1px solid #ddd}.nj-gallery-page .nj-gallery-content>h4{text-align:center;font-size:15px;font-weight:400;margin:24px 0 16px;color:#444}.nj-gallery-page .wp-block-gallery.has-nested-images{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 30px;align-items:start;margin:0 0 30px!important;padding:0 20px;max-width:none!important}.nj-gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image{width:100%!important;max-width:none!important;margin:0!important;display:block!important;flex:none!important}.nj-gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;width:100%;height:auto!important;object-fit:contain!important;max-width:100%;margin:auto}.nj-gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{position:static!important;background:none!important;color:#555!important;text-align:center;font-size:12px;line-height:1.4;margin:5px 0 0;padding:0!important;max-height:none!important}.nj-gallery-page .wp-block-gallery a{display:block;cursor:zoom-in}.nj-gallery-page a:focus-visible{outline:2px solid #2074b6;outline-offset:3px}.nj-gallery-page .wp-block-separator{border:0;border-top:1px solid #ddd;width:100%;margin:22px 0}.nj-gallery-lightbox{border:0;background:#111;color:white;padding:14px;max-width:95vw;max-height:95vh;overflow:auto}.nj-gallery-lightbox::backdrop{background:rgba(0,0,0,.85)}.nj-gallery-lightbox img{display:block;max-width:82vw;max-height:75vh;width:auto;height:auto;object-fit:contain;margin:auto}.nj-gallery-lightbox .nj-light-controls{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:8px 0}.nj-gallery-lightbox button{background:#333;color:white;border:1px solid #888;padding:8px 14px;font:inherit;cursor:pointer}.nj-gallery-lightbox p{text-align:center;margin:8px 0 0}.nj-gallery-lightbox button:focus-visible{outline:2px solid white}@media(max-width:600px){.nj-gallery-page .wp-block-gallery.has-nested-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0}.nj-gallery-page{margin-top:16px!important}.nj-gallery-page .wp-block-post-title,.nj-gallery-page h1{font-size:23px}}

/* Location directory and return links, matching the original Gallery layout. */
.nj-gallery-page .nj-gallery-directory{display:block;border-block:1px solid #ddd;padding:35px 0 32px;margin:35px 0 29px;color:#999;font-size:14px;line-height:1.45;text-align:left}
.nj-gallery-page .nj-gallery-directory p{margin:0 0 42px;text-align:left;color:#999;line-height:1.45}
.nj-gallery-page .nj-gallery-directory p:last-child{margin-bottom:0}
.nj-gallery-page .nj-gallery-directory strong{font-weight:700;text-decoration:underline;color:#999}
.nj-gallery-page .nj-gallery-directory a,.nj-gallery-page .nj-gallery-back a{color:#2879ae;text-decoration:none}
.nj-gallery-page .nj-gallery-directory a:hover,.nj-gallery-page .nj-gallery-back a:hover{text-decoration:underline}
.nj-gallery-page .nj-location-title,.nj-gallery-page .nj-gallery-anchor,.nj-gallery-page .nj-gallery-directory{scroll-margin-top:60px}
.nj-gallery-page .nj-gallery-back{display:block;text-align:center;font-size:14px;margin:32px 0 38px!important;color:#2879ae}
.nj-gallery-page .nj-location-title{font-size:18px!important;color:#999!important;font-weight:400;text-align:center;margin:32px 0 18px!important}
.nj-gallery-page .nj-gallery-content>p.nj-gallery-intro{color:#999;text-align:center;font-size:14px}
.nj-gallery-page .nj-gallery-intro strong{color:#8ac43d}.nj-gallery-page .nj-gallery-intro a{color:#111;font-weight:bold;text-decoration:none}
.nj-gallery-page .nj-gallery-content>p.nj-preview-missing{color:#999;font-size:13px;text-align:center}
@media(max-width:600px){.nj-gallery-page .nj-gallery-directory{padding:24px 0;margin:25px 0}.nj-gallery-page .nj-gallery-directory p{margin-bottom:25px}.nj-gallery-page .nj-gallery-back{margin:24px 0 28px!important}}


/* Gallery links are plain inline text, never navigation tiles. */
.nj-gallery-page .nj-gallery-directory a,.nj-gallery-page .nj-gallery-back a{display:inline!important;background:transparent!important;color:#2879ae!important;font-size:inherit;font-weight:400;text-transform:none!important;padding:0!important;margin:0;border:0;box-shadow:none;text-decoration:none;line-height:inherit;text-align:inherit}
.nj-gallery-page .nj-gallery-directory a:hover,.nj-gallery-page .nj-gallery-back a:hover{text-decoration:underline}
/* Videos: scoped styling; shared header and footer untouched. */
.nj-videos-page{max-width:924px;margin:28px auto 48px;padding:0 12px;box-sizing:border-box}.nj-videos-page h1{text-align:center;font-size:26px;color:#888;font-weight:400;margin:0 0 16px}.nj-video-search{max-width:320px;margin:0 auto 26px;text-align:center}.nj-video-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.nj-video-search input{width:100%;box-sizing:border-box;border:1px solid #d2d2d2;border-radius:2px;padding:9px 12px;background:#fff;color:#444;font:inherit;font-size:14px}.nj-video-search input:focus{outline:2px solid #2879ae;outline-offset:1px}.nj-video-status{display:block;color:#777;font-size:12px;min-height:0}.nj-video-status:not(:empty){margin-top:6px}.nj-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px;align-items:start}.nj-video-grid>figure{margin:0!important;min-width:0}.nj-video-grid .wp-block-embed__wrapper,.nj-video-grid .nj-video-placeholder{aspect-ratio:16/9;position:relative;background:#eee;overflow:hidden}.nj-video-grid .wp-block-embed__wrapper iframe{width:100%;height:100%;position:absolute;inset:0;border:0}.nj-video-grid .wp-block-embed__wrapper:before{display:none!important}.nj-video-grid video{width:100%;aspect-ratio:16/9;background:#111}.nj-video-grid figcaption{text-align:center;color:#777;font-size:14px;line-height:1.45;margin:9px 0 0}.nj-video-empty{text-align:center;color:#777}.nj-video-library [hidden]{display:none!important}.nj-video-placeholder{display:grid;place-items:center;color:#fff;background:#222!important;text-decoration:none}.nj-video-placeholder span{background:#555;padding:9px 18px;border-radius:5px;font-size:20px}.nj-video-preview-note{text-align:center;font-size:12px;color:#777;margin:0 0 20px}@media(max-width:700px){.nj-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}}@media(max-width:460px){.nj-video-grid{grid-template-columns:1fr}.nj-videos-page h1{font-size:23px}}

/* Links page — independent of the colored main navigation. */
.nj-links-page{max-width:924px;margin:35px auto 55px!important;padding:0 12px;box-sizing:border-box}.nj-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 30px;align-items:start}.nj-links-grid .nj-link-entry{margin:0!important;text-align:center;min-width:0}.nj-link-entry .wp-block-image{margin:0 0 8px!important}.nj-link-entry img{display:block;max-width:100%;height:auto;margin:auto}.nj-link-entry h5{font:400 15px/1.5 Arial,Helvetica,sans-serif;margin:0!important;text-transform:uppercase}.nj-link-entry a{color:#2879ae!important;background:transparent!important;text-decoration:none!important;display:inline!important}.nj-link-entry a:hover{text-decoration:underline!important}.nj-link-entry a:focus-visible{outline:2px solid #2879ae;outline-offset:3px}.nj-links-empty{text-align:center;color:#888}@media(max-width:460px){.nj-links-grid{gap:18px 12px}.nj-link-entry h5{font-size:12px}.nj-links-page{margin-top:25px!important}}

/* Original Links directory: column-major, thumbnails at outer edges. */
.nj-links-grid{grid-auto-flow:column;grid-template-rows:repeat(var(--nj-link-rows,10),auto);gap:16px 36px;align-items:center}
.nj-links-grid .nj-link-entry{display:flex!important;align-items:center;gap:18px;text-align:left!important;min-height:96px;flex-direction:row}
.nj-links-grid .nj-link-entry.nj-link-right{flex-direction:row-reverse;text-align:right!important}
.nj-links-grid .nj-link-entry .wp-block-image{flex:0 0 96px;width:96px;margin:0!important}
.nj-links-grid .nj-link-entry img{width:96px;height:96px;object-fit:contain;border:1px solid #333;box-sizing:border-box;margin:0;background:#fff}
.nj-links-grid .nj-link-entry h5{flex:1;min-width:0;margin:0!important;font-weight:500;color:#888}
.nj-links-grid .nj-link-entry h5 a,.nj-links-grid .nj-link-entry h5 span{color:#888!important;background:transparent!important}
@media(max-width:600px){.nj-links-grid{grid-auto-flow:row;grid-template-rows:none;grid-template-columns:1fr;gap:14px}.nj-links-grid .nj-link-entry.nj-link-right{flex-direction:row;text-align:left!important}.nj-links-grid .nj-link-entry .wp-block-image{width:76px;flex-basis:76px}.nj-links-grid .nj-link-entry img{width:76px;height:76px}.nj-links-grid .nj-link-entry{min-height:76px;gap:14px}}

/* Shared editorial page title — Videos is the visual reference. */
.nj-gallery-page > h1, .nj-videos-page > h1, .nj-links-page > h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #888;
  text-align: center;
  text-transform:none;
  margin: 0 0 16px;
}
.nj-gallery-page, .nj-videos-page, .nj-links-page {margin-top: 28px !important;}
@media (max-width: 460px) {
  .nj-gallery-page > h1, .nj-videos-page > h1, .nj-links-page > h1 {font-size: 23px;}
}

/* Contact: compact, centered email-only layout based on the reference screenshot. */
.nj-contact-page{max-width:1140px!important;margin:48px auto 84px!important;padding:0 12px;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.45;color:#333;text-align:center;overflow-wrap:anywhere}
.nj-contact-page > h1{font-family:Arial,Helvetica,sans-serif;font-size:26px;font-weight:400;font-style:normal;line-height:1.2;letter-spacing:normal;color:#888;text-align:center;text-transform:none;margin:0 0 16px}
.nj-contact-page > p{margin:0 0 10px!important;line-height:1.45}
.nj-contact-page .nj-contact-email{margin:12px 0 3px!important}
.nj-contact-page .nj-contact-label{color:#729c2d;margin-right:8px}
.nj-contact-page a{color:#222;text-decoration:none;background:transparent}
.nj-contact-page a:hover,.nj-contact-page a:focus-visible{text-decoration:underline}
.nj-contact-page .nj-contact-rule{height:0;border:0;border-top:1px solid #e5e5e5;width:100%;max-width:none;margin:13px 0 10px!important;opacity:1}
.nj-contact-page .nj-contact-address{display:table;text-align:left;margin:0 auto 12px!important;font-size:16px;color:#888;line-height:1.28}
.nj-contact-page .nj-contact-returns{max-width:720px;margin:0 auto!important}
@media(max-width:600px){.nj-contact-page{margin:30px auto 52px!important;padding:0 12px}.nj-contact-page .nj-contact-label{display:block;margin:0 0 3px}.nj-contact-page br{display:none}.nj-contact-page .nj-contact-address br{display:initial}}
@media(max-width:460px){.nj-contact-page > h1{font-size:23px}}
/* v0.25: shared cart layout, native WooCommerce controls. */
.nj-cart-main{margin-top:22px!important;margin-bottom:65px!important}.nj-cart-layout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,3fr) minmax(180px,1fr);gap:44px;font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#777;line-height:1.5;align-items:stretch}.nj-cart-stage{min-width:0;padding:26px 0 35px}.nj-cart-sidebar{min-width:0;border-left:1px solid #e5e5e5;padding:26px 0 44px 34px;color:#888}.nj-cart-sidebar h2{font-size:19px;color:#888;font-weight:400;line-height:1.3;margin:24px 0 5px}.nj-cart-search{display:flex;align-items:center;border:1px solid #e4e4e4;border-radius:30px;padding:4px;gap:4px;margin:0 0 26px}.nj-cart-search input{width:100%;min-width:0;border:0!important;border-radius:30px;background:transparent;font:inherit;padding:3px 9px;outline-offset:2px}.nj-cart-search button{flex:0 0 26px;width:26px;height:26px;border:0;border-radius:50%;padding:0;background:#2074b6;color:#fff;font-size:12px;cursor:pointer}.nj-cart-sidebar-list{list-style:none;padding:0;margin:0}.nj-cart-sidebar-list li{border-top:1px solid #e4e4e4;padding:7px 0;line-height:1.5;font-size:13px}.nj-cart-sidebar-list li:last-child{border-bottom:1px solid #e4e4e4}.nj-cart-sidebar a{color:#888;text-decoration:none}.nj-cart-sidebar a:hover{color:#2074b6;text-decoration:underline}.nj-cart-posts a:before{content:'▤';color:#aaa;margin-right:8px}.nj-cart-cats a:before{content:'›';color:#aaa;margin-right:9px}.nj-cart-recent ul,.nj-cart-recent .product_list_widget{list-style:none;padding:0;margin:0}.nj-cart-recent li{font-size:13px;min-height:70px;padding:8px 0;display:flow-root}.nj-cart-recent li img{float:right;width:64px!important;height:auto;margin:0 0 4px 8px}.nj-cart-recent .product-title{font-weight:400}.nj-cart-steps{display:none;gap:7px;align-items:center;flex-wrap:wrap;color:#aaa;text-transform:uppercase;font-size:12px;margin:0 0 28px}.nj-cart-stage:has(.woocommerce-cart-form) .nj-cart-steps,.nj-cart-stage:has(.nj-cart-filled:not([hidden])) .nj-cart-steps{display:flex}.nj-cart-steps [aria-current]{color:#444}.nj-cart-stage .woocommerce{display:flow-root}.nj-cart-stage .woocommerce:has(.woocommerce-cart-form){display:grid;grid-template-columns:minmax(0,2.15fr) minmax(0,1fr);gap:20px 24px;align-items:start}.nj-cart-stage .woocommerce-notices-wrapper,.nj-cart-stage .woocommerce-message,.nj-cart-stage .woocommerce-error,.nj-cart-stage .woocommerce-info{grid-column:1/-1}.nj-cart-stage .woocommerce-info,.nj-cart-stage .cart-empty{background:#fafafa;border:1px solid #e3e3e3;border-left:3px solid #2074b6;color:#666;padding:16px 16px 16px 38px;font-size:13px;margin:0 0 20px;box-shadow:none}.nj-cart-stage .woocommerce-info:before{color:#2074b6;left:12px;top:15px}.nj-cart-stage .woocommerce-cart-form{min-width:0;margin:0}.nj-cart-stage table.shop_table{border:0;border-collapse:collapse;border-radius:0;width:100%;font-size:13px;margin:0}.nj-cart-stage table.shop_table th{font-weight:400;color:#555;text-transform:uppercase;font-size:11px;padding:10px 4px;border:0;border-bottom:2px solid #e2e2e2;text-align:left}.nj-cart-stage table.shop_table td{padding:12px 4px;border:0;border-bottom:1px solid #eee;vertical-align:middle;font-size:13px}.nj-cart-stage .product-thumbnail img{width:54px!important;max-width:54px;height:auto}.nj-cart-stage .product-name a{color:#2879ae;text-decoration:none}.nj-cart-stage .product-name a:hover{text-decoration:underline}.nj-cart-stage a.remove{color:#999!important;font-size:20px;background:transparent!important;text-decoration:none}.nj-cart-stage a.remove:hover{color:#a00!important}.nj-cart-stage .quantity input.qty{min-width:54px;width:62px;height:38px;border:1px solid #ddd;background:white;color:#555;text-align:center;padding:4px}.nj-cart-stage .cart-collaterals{width:100%;min-width:0;float:none;margin:0}.nj-cart-stage .cart-collaterals .cart_totals{float:none!important;width:100%!important;border:1px solid #ddd;padding:16px;box-sizing:border-box;margin:0}.nj-cart-stage .cart_totals h2{font-size:20px;font-weight:400;color:#888;margin:0 0 14px}.nj-cart-stage .cart_totals table.shop_table th,.nj-cart-stage .cart_totals table.shop_table td{text-transform:none;font-size:13px;border-bottom:1px solid #ddd;padding:10px 0;vertical-align:top}.nj-cart-stage .cart_totals table.shop_table td{text-align:right}.nj-cart-stage .cart_totals table.shop_table th{font-weight:400}.nj-cart-stage .cart_totals ul{padding:0;list-style:none}.nj-cart-stage .wc-proceed-to-checkout{padding:14px 0 0}.nj-cart-stage .woocommerce a.button,.nj-cart-stage .woocommerce button.button,.nj-cart-stage .nj-cart-button{display:inline-block;background:#2074b6;color:white;border:0;border-radius:1px;text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:400;line-height:1.35;padding:12px 14px;cursor:pointer;min-height:40px;text-align:center;white-space:normal}.nj-cart-stage .woocommerce a.button:hover,.nj-cart-stage .woocommerce button.button:hover,.nj-cart-stage .nj-cart-button:hover{background:#19639b;color:white}.nj-cart-stage .woocommerce button.button:disabled{opacity:.55;cursor:not-allowed}.nj-cart-stage .woocommerce a.checkout-button{font-size:12px;margin:0 0 8px;max-width:100%;padding:12px 9px}.nj-cart-stage .coupon{display:flex;flex-wrap:wrap;gap:8px;float:none!important;margin-bottom:10px}.nj-cart-stage .coupon input.input-text{min-width:0;width:138px!important;border:1px solid #ddd;padding:8px;font:inherit;margin:0}.nj-cart-stage .woocommerce-cart-form .actions{text-align:left}.nj-cart-stage .cart-collaterals .cross-sells{width:100%;float:none}.nj-cart-stage :focus-visible,.nj-cart-sidebar :focus-visible{outline:2px solid #2074b6;outline-offset:3px}.nj-cart-stage .return-to-shop{margin:0}.nj-cart-stage .cart_totals .shipping-calculator-form input,.nj-cart-stage .cart_totals .shipping-calculator-form select{max-width:100%}.nj-cart-stage .cart_totals .woocommerce-shipping-destination{overflow-wrap:anywhere}
@media(max-width:1050px){.nj-cart-layout{gap:25px}.nj-cart-sidebar{padding-left:22px}.nj-cart-stage .woocommerce:has(.woocommerce-cart-form){grid-template-columns:1fr}.nj-cart-stage .cart-collaterals .cart_totals{max-width:400px}}
@media(max-width:720px){.nj-cart-layout{grid-template-columns:1fr;gap:20px}.nj-cart-stage{padding:10px 0 20px}.nj-cart-sidebar{border-left:0;border-top:1px solid #e5e5e5;padding:22px 0}.nj-cart-stage table.shop_table td{padding:8px 4px}.nj-cart-stage .cart_totals table.shop_table td{padding:10px 0}.nj-cart-stage .cart-collaterals .cart_totals{max-width:none}.nj-cart-stage .woocommerce-cart-form .quantity input.qty{width:62px}}

/* Shared blog and checkout: preserve native WooCommerce and post content. */
.nj-blog-main{margin-top:35px!important;margin-bottom:60px!important}.nj-blog-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(180px,1fr);gap:34px;max-width:1180px;margin:0 auto;align-items:start;color:#777;font-family:Arial,Helvetica,sans-serif}.nj-blog-list,.nj-article{min-width:0}.nj-blog-layout>.wp-block-shortcode{min-width:0}.nj-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;align-items:start}.nj-blog-grid.nj-masonry{grid-auto-rows:8px;row-gap:0}.nj-blog-card{border:1px solid #eee;min-width:0;background:#fff;overflow:hidden;color:#777;font:14px/1.5 Arial,sans-serif}.nj-blog-thumb{display:block}.nj-blog-thumb img{width:100%;height:auto;display:block}.nj-blog-card-body{padding:14px 9px 12px}.nj-blog-card h2{font-size:18px;line-height:1.15;font-weight:400;color:#2879ae;margin:0 0 12px;border-left:2px solid #8051a0;padding-left:8px;overflow-wrap:anywhere}.nj-blog-card h2 a{color:inherit;text-decoration:none}.nj-blog-card h2 a:hover{text-decoration:underline}.nj-blog-meta{font-size:11px;color:#999;line-height:1.5}.nj-blog-meta a{color:inherit}.nj-blog-card p{font-size:13px;line-height:1.55;margin:14px 0 4px}.nj-blog-card-bottom{border-top:1px solid #f0f0f0;padding:10px;text-align:right;font-size:11px;color:#888}.nj-blog-pagination{display:flex;justify-content:center;gap:8px;margin:32px auto}.nj-blog-pagination .page-numbers{border:1px solid #e4e4e4;border-radius:50%;min-width:30px;height:30px;display:grid;place-items:center;font-size:12px;color:#777;text-decoration:none}.nj-blog-pagination .current{background:#f1f1f1}.nj-article{font-size:15px;line-height:1.65;color:#555;overflow-wrap:anywhere}.nj-article .wp-block-post-featured-image,.nj-article>figure{margin:0 0 18px}.nj-article img{max-width:100%;height:auto}.nj-article h1{font-size:25px;line-height:1.25;color:#555;font-weight:400;margin:12px 0}.nj-article h2{font-size:23px;font-weight:400;margin:24px 0 10px}.nj-article h3{font-size:19px}.nj-article p{margin:0 0 16px}.nj-article a{color:#2879ae}.nj-article .wp-block-post-content>*{max-width:100%}.nj-article .wp-block-post-content .aligncenter{margin-left:auto;margin-right:auto}.nj-article-meta{font-size:12px;color:#888;border-top:1px solid #ddd;padding-top:12px;margin-top:32px}.nj-blog-related{margin:32px 0}.nj-article .wp-block-comments{border-top:1px solid #ddd;padding-top:20px}.nj-article textarea,.nj-article input{max-width:100%}.nj-checkout-layout{max-width:1024px;margin:auto;color:#777;font:14px/1.5 Arial,sans-serif}.nj-checkout-stage{min-width:0}.nj-checkout-steps{display:flex;flex-wrap:wrap;gap:8px;color:#aaa;text-transform:uppercase;font-size:12px;margin-bottom:28px}.nj-checkout-steps [aria-current]{color:#444}.nj-checkout-stage h3,.nj-checkout-stage h2{font-size:20px;font-weight:400;color:#777}.nj-checkout-stage input.input-text,.nj-checkout-stage select,.nj-checkout-stage textarea{box-sizing:border-box;max-width:100%;width:100%;min-height:42px;padding:10px;border:1px solid #ddd;background:#fff;font:inherit}.nj-checkout-stage label{font-weight:400;color:#555}.nj-checkout-stage .woocommerce-checkout #customer_details{float:left;width:54%;margin-right:4%}.nj-checkout-stage .woocommerce-checkout #customer_details .col-1,.nj-checkout-stage .woocommerce-checkout #customer_details .col-2{float:none;width:100%}.nj-checkout-stage .woocommerce-checkout #order_review_heading,.nj-checkout-stage .woocommerce-checkout #order_review{float:right;width:42%}.nj-checkout-stage .woocommerce-checkout:after{content:'';display:block;clear:both}.nj-checkout-stage .woocommerce-checkout-review-order-table{font-size:13px}.nj-checkout-stage .woocommerce-checkout-payment{background:#f5f5f5!important;border-radius:0!important}.nj-checkout-stage .woocommerce button.button,.nj-checkout-stage .woocommerce a.button{background:#2074b6;color:#fff;border-radius:1px;font-weight:400;min-height:42px}.nj-checkout-stage .woocommerce-checkout #payment #place_order{width:100%;float:none}.nj-checkout-stage .select2-container{max-width:100%}.nj-checkout-stage .woocommerce-checkout .form-row{box-sizing:border-box}.nj-checkout-stage .woocommerce-checkout #order_review{overflow-wrap:anywhere}.nj-checkout-stage .woocommerce-checkout-payment input[type=radio]{width:auto}.nj-checkout-stage .woocommerce-checkout-payment img{max-width:100%;height:auto}.nj-checkout-stage .woocommerce-checkout-review-order-table th,.nj-checkout-stage .woocommerce-checkout-review-order-table td{padding:10px 6px}
@media(max-width:900px){.nj-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nj-blog-layout{gap:22px}}@media(max-width:720px){.nj-blog-layout{grid-template-columns:minmax(0,1fr);gap:20px}.nj-blog-layout .nj-cart-sidebar{border-left:0;border-top:1px solid #ddd;padding:20px 0}.nj-article h1{font-size:23px}.nj-checkout-stage .woocommerce-checkout #customer_details,.nj-checkout-stage .woocommerce-checkout #order_review_heading,.nj-checkout-stage .woocommerce-checkout #order_review{float:none;width:100%;margin-right:0}.nj-checkout-stage .woocommerce-checkout .form-row-first,.nj-checkout-stage .woocommerce-checkout .form-row-last{float:none;width:100%}}@media(max-width:480px){.nj-blog-grid{grid-template-columns:minmax(0,1fr)}.nj-blog-card h2{font-size:18px}.nj-blog-card p{font-size:14px}.nj-checkout-stage input,.nj-checkout-stage select{font-size:16px!important}}

.nj-breadcrumbs{box-sizing:border-box;width:100%;max-width:1180px;margin:12px auto 0!important;text-align:left;color:#777;font:13px/1.5 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}.nj-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:4px 0;list-style:none;padding:0;margin:0}.nj-breadcrumbs li{display:inline;min-width:0}.nj-breadcrumbs a{color:#2879ae;text-decoration:none}.nj-breadcrumbs a:hover,.nj-breadcrumbs a:focus-visible{text-decoration:underline}.nj-crumb-sep{padding:0 7px;color:#888}.nj-breadcrumbs [aria-current=page]{color:#777}

/* v0.28: smooth, accessible homepage slideshow. */
.nj-slider-ready .nj-slides{position:relative;overflow:hidden;touch-action:pan-y pinch-zoom}
.nj-slider-ready .nj-slide{width:100%;margin:0}
.nj-slider-ready .nj-slide[hidden]{display:none!important}
.nj-slider-ready .nj-slide-outgoing{position:absolute;inset:0;pointer-events:none}
.nj-slider-ready .nj-arrow{z-index:2}
.nj-slider-ready .nj-slider-controls{display:flex;align-items:center;justify-content:center;gap:5px}
.nj-slider-ready .nj-slider-play{font:inherit;font-size:11px;background:transparent;color:#555;border:1px solid #ccc;border-radius:2px;padding:3px 7px;cursor:pointer}
.nj-slider-ready .nj-slider-play:focus-visible,.nj-slider-ready .nj-arrow:focus-visible{outline:2px solid #1979b5;outline-offset:2px}

/* v0.29: shared styling for existing image-led informational pages. */
.nj-info-page{max-width:1024px!important;box-sizing:border-box;margin:28px auto 70px!important;padding:0 12px;text-align:center;color:#777;font:14px/1.55 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.nj-info-page h1{font:400 26px/1.2 Arial,Helvetica,sans-serif;color:#888;text-transform:none;margin:0 0 18px;text-align:center;letter-spacing:normal}
.nj-info-page .wp-block-image{margin:0 auto 20px;text-align:center}.nj-info-page .wp-block-image img{display:block;margin:auto;max-width:100%;height:auto}.nj-info-page .nj-retail-art img{width:min(100%,783px)}
.nj-info-page p{max-width:740px;margin:12px auto}.nj-info-page a{color:#2879ae;background:transparent}.nj-info-page .nj-info-placeholder{max-width:783px;margin:0 auto 20px;background:#f5f5f5;border:1px dashed #ccc;padding:48px 20px;color:#777;box-sizing:border-box}.nj-info-page .nj-info-placeholder img{max-width:100%;height:auto}
@media(max-width:460px){.nj-info-page{margin:24px auto 45px!important}.nj-info-page h1{font-size:23px}}

/* Responsive informational-page image maps. */
.nj-info-page img[usemap]{display:block;max-width:100%;height:auto;margin-inline:auto;padding:0;border:0;box-sizing:content-box}

/* v0.32: classic WooCommerce gallery and explicit desktop sidebar tracks. */
.nj-single-product .woocommerce-product-gallery { opacity: 1 !important; }
.nj-single-product .woocommerce-product-gallery__wrapper { margin: 0; }
.nj-single-product .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.nj-single-product .woocommerce-product-gallery .flex-control-thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nj-single-product .woocommerce-product-gallery .flex-control-thumbs li { float: none; width: 76px; max-width: 22%; margin: 0; cursor: pointer; }
.nj-single-product .woocommerce-product-gallery .flex-control-thumbs img { display: block; width: 100%; height: auto; }
.nj-single-product div.product { display: flow-root; }
.nj-single-product div.product > .related, .nj-single-product div.product > .up-sells { clear: both; }
@media (min-width: 721px) {
  .nj-single-product div.product > div.images { float: left !important; width: 49% !important; }
  .nj-single-product div.product > div.summary { float: right !important; width: 48% !important; }
  .nj-cart-layout, .nj-blog-layout { display: grid !important; grid-template-columns: minmax(0, 3fr) minmax(180px, 1fr) !important; grid-auto-flow: row; align-items: start; }
  .nj-cart-layout > .nj-cart-stage, .nj-blog-layout > .nj-blog-list, .nj-blog-layout > .nj-article { grid-column: 1; grid-row: 1; min-width: 0; width: auto !important; max-width: none !important; margin: 0 !important; }
  .nj-cart-layout > .nj-cart-sidebar, .nj-blog-layout > .nj-cart-sidebar, .nj-blog-layout > .wp-block-shortcode { grid-column: 2; grid-row: 1; min-width: 0; width: auto !important; max-width: none !important; margin: 0 !important; }
  .nj-blog-layout > .wp-block-shortcode > .nj-cart-sidebar { margin: 0 !important; }
  .nj-blog-layout::before, .nj-blog-layout::after, .nj-cart-layout::before, .nj-cart-layout::after { content: none !important; }
  .nj-blog-layout .nj-cart-sidebar, .nj-cart-layout .nj-cart-sidebar { float: none !important; box-sizing: border-box; overflow-wrap: anywhere; }
}
@media (max-width: 720px) {
  .nj-cart-layout, .nj-blog-layout { display: grid !important; grid-template-columns: minmax(0,1fr) !important; }
  .nj-single-product div.product > div.images, .nj-single-product div.product > div.summary { float: none !important; width: 100% !important; }
}

/* v0.33: isolate the actual WooCommerce shop grid from inherited navigation, theme.json and plugin layout rules. */
body .nj-commerce-main { box-sizing:border-box; width:100%; max-width:1180px!important; margin-inline:auto!important; padding-inline:14px; }
body .nj-commerce-main > .alignwide, body .nj-commerce-main .nj-shop { width:100%; max-width:none!important; box-sizing:border-box; margin-inline:auto!important; }
body .nj-shop .nj-shop-categories { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:start; gap:38px 20px; width:100%; max-width:none!important; margin:0!important; padding:0!important; background:transparent!important; }
body .nj-shop .nj-shop-categories > a.nj-shop-category { display:block!important; position:relative!important; float:none!important; width:100%!important; max-width:none!important; min-width:0; aspect-ratio:1; margin:0!important; padding:0!important; border:0!important; background:#fff!important; text-transform:none!important; overflow:hidden; box-sizing:border-box; }
body .nj-shop .nj-shop-category > img,body .nj-shop .nj-shop-category > .nj-category-empty { display:block!important; width:100%!important; height:100%!important; max-width:none!important; aspect-ratio:1; object-fit:cover; margin:0!important; }
body .nj-shop .nj-category-caption { position:absolute; inset:auto 0 0; width:100%; box-sizing:border-box; background:rgba(255,255,255,.77); text-align:center; }
body .nj-shop ul.products { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr)); width:100%; max-width:none!important; }
body .nj-shop ul.products > li.product { min-width:0; width:auto!important; float:none!important; margin:0!important; }
.nj-video-grid > figure.wp-block-embed { width:100%; max-width:none!important; }
.nj-video-grid .wp-block-embed__wrapper > video { position:absolute; inset:0; width:100%; height:100%; }
@media(max-width:850px){body .nj-shop .nj-shop-categories,body .nj-shop ul.products{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){body .nj-shop .nj-shop-categories,body .nj-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;}}

/* v0.34: the shop landing page uses one list item per category, with all content inside a single link. */
body .nj-shop ul.nj-shop-tiles { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:38px 20px!important; list-style:none!important; margin:0!important; padding:0!important; width:100%!important; max-width:none!important; align-items:start; }
body .nj-shop ul.nj-shop-tiles::before, body .nj-shop ul.nj-shop-tiles::after, body .nj-shop li.nj-shop-tile::before, body .nj-shop li.nj-shop-tile::after { content:none!important; display:none!important; }
body .nj-shop ul.nj-shop-tiles > li.nj-shop-tile { display:block!important; float:none!important; clear:none!important; width:auto!important; min-width:0; max-width:none!important; margin:0!important; padding:0!important; list-style:none!important; }
body .nj-shop .nj-shop-tile-link { display:block!important; position:relative!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; aspect-ratio:1; overflow:hidden; background:#fff; text-decoration:none!important; border:0!important; text-align:center; }
body .nj-shop .nj-shop-tile-link img, body .nj-shop .nj-shop-tile-empty { display:block!important; position:absolute!important; inset:0!important; width:100%!important; height:100%!important; max-width:none!important; object-fit:cover; margin:0!important; padding:0!important; }
body .nj-shop .nj-shop-tile-caption { display:flex!important; flex-direction:column; align-items:center; justify-content:center; gap:3px; position:absolute!important; inset:auto 0 0!important; width:100%!important; box-sizing:border-box; padding:2px 4px 5px; margin:0!important; background:rgba(255,255,255,.77); font-family:Arial,Helvetica,sans-serif; }
body .nj-shop .nj-shop-tile-caption strong { display:block; font-size:23px; font-weight:600; line-height:1.25; color:#478fc2; }
body .nj-shop .nj-shop-tile-caption > span { display:block; font-size:13px; font-weight:700; line-height:1.4; color:#111; }
body .nj-shop .nj-shop-tile-link:focus-visible { outline:3px solid #2074b6; outline-offset:3px; }
@media(max-width:850px){body .nj-shop ul.nj-shop-tiles{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:700px){body .nj-shop ul.nj-shop-tiles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 12px!important;}body .nj-shop .nj-shop-tile-caption strong{font-size:16px;}body .nj-shop .nj-shop-tile-caption > span{font-size:11px;}}

/* Full-bleed footer background, without expanding the readable inner grid. */
.nj-slides{background:#fff!important}
.nj-slide img{background:transparent}
body .wp-site-blocks{padding-bottom:0!important;margin-bottom:0!important;min-height:100vh;display:flex;flex-direction:column;box-sizing:border-box}
body .wp-site-blocks > footer.wp-block-template-part{margin-top:auto;margin-bottom:0!important;padding-bottom:0!important;max-width:none!important}
body .wp-site-blocks > footer.wp-block-template-part .nj-footer{margin-bottom:0!important;max-width:none!important;box-shadow:0 0 0 100vmax #f4f4f4;clip-path:inset(0 -100vmax 0 -100vmax)}
/* Preserve the original block-template widths inside the vertical page shell. */
body .wp-site-blocks > main,body .wp-site-blocks > header.wp-block-template-part,body .wp-site-blocks > footer.wp-block-template-part{width:100%;box-sizing:border-box}

/* v0.36: unified type scale; native gallery and original imported layouts; product controls. */
body .wp-site-blocks :is(h1,h2,h3,h4,h5,h6) {font-family:Arial,Helvetica,sans-serif!important;font-weight:600!important;color:#333333!important;line-height:1.25;letter-spacing:normal;}
body .wp-site-blocks h1 {font-size:26px!important;}
body .wp-site-blocks h2 {font-size:22px!important;}
body .wp-site-blocks h3 {font-size:19px!important;}
body .wp-site-blocks h4 {font-size:18px!important;}
body .wp-site-blocks h5 {font-size:16px!important;}
body .wp-site-blocks h6 {font-size:14px!important;}
/* Linked product/article titles keep their approved blue accent. */
body .wp-site-blocks :is(.woocommerce-loop-product__title,.nj-blog-card .wp-block-post-title,.nj-blog-grid .wp-block-post-title) {color:#478fc2!important;font-size:16px!important;}
body .wp-site-blocks .nj-gallery-page .nj-location-title {color:#333333!important;font-size:18px!important;font-weight:600!important;}
body .wp-site-blocks .nj-gallery-page .nj-gallery-content > p,body .nj-gallery-page .nj-gallery-content .elementor-widget-text-editor {color:#555555;}
body .nj-gallery-page .nj-gallery-directory,body .nj-gallery-page .nj-gallery-directory p,body .nj-gallery-page .nj-gallery-directory strong {color:#555555!important;}
body .nj-gallery-page .nj-gallery-directory a,body .nj-gallery-page .nj-gallery-back a {color:#2879ae!important;}
body .nj-gallery-page .nj-gallery-submission strong,body .nj-gallery-page .nj-gallery-intro strong {color:#78a92f!important;}
body .nj-gallery-page .nj-gallery-submission a,body .nj-gallery-page .nj-gallery-intro a {color:#222!important;}
body .nj-gallery-page :is(.wp-block-gallery,.gallery,.nj-gallery-photo-grid) {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px 30px!important;align-items:start!important;justify-items:stretch!important;max-width:none!important;width:100%!important;box-sizing:border-box!important;padding:0 20px!important;margin:0 0 30px!important;}
body .nj-gallery-page :is(.wp-block-gallery,.gallery,.nj-gallery-photo-grid)::before,body .nj-gallery-page :is(.wp-block-gallery,.gallery,.nj-gallery-photo-grid)::after {content:none!important;display:none!important;}
body .nj-gallery-page :is(.wp-block-gallery,.gallery,.nj-gallery-photo-grid) > :is(figure,.gallery-item,.blocks-gallery-item,.wp-block-image) {display:block!important;float:none!important;flex:none!important;min-width:0!important;max-width:none!important;width:100%!important;height:auto!important;margin:0!important;box-sizing:border-box;position:relative;}
body .nj-gallery-page :is(.wp-block-gallery,.gallery,.nj-gallery-photo-grid) :is(img,.gallery-icon img) {width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;display:block!important;margin:0 auto!important;}
body .nj-gallery-page :is(.wp-block-gallery,.gallery,.nj-gallery-photo-grid) :is(figcaption,.gallery-caption) {position:static!important;background:none!important;color:#555555!important;text-align:center!important;font:400 14px/1.4 Arial,Helvetica,sans-serif!important;padding:0!important;margin:5px 0 0!important;max-height:none!important;overflow:visible!important;}
body .nj-gallery-page .wp-block-gallery .blocks-gallery-grid {display:contents!important;}
body .nj-gallery-page .wp-block-gallery .blocks-gallery-grid > li {width:100%!important;margin:0!important;min-width:0!important;list-style:none!important;}
body .nj-single-product div.product form.cart .woocommerce-variation-add-to-cart,body .nj-single-product div.product form.cart:not(.variations_form):not(.grouped_form) {display:flex!important;align-items:center!important;flex-wrap:wrap;gap:14px!important;}
body .nj-single-product div.product form.cart .quantity {display:flex!important;align-items:center!important;align-self:center!important;margin:0!important;padding:0!important;float:none!important;}
body .nj-single-product div.product form.cart .quantity input.qty,body .nj-single-product div.product form.cart .single_add_to_cart_button {height:44px!important;min-height:44px!important;box-sizing:border-box!important;align-self:center!important;margin:0!important;vertical-align:middle!important;}
body .nj-single-product div.product form.cart .single_add_to_cart_button {display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.2!important;padding:0 16px!important;float:none!important;}
body .nj-single-product div.product form.cart .woocommerce-variation-add-to-cart::before,body .nj-single-product div.product form.cart .woocommerce-variation-add-to-cart::after {content:none!important;display:none!important;}
.nj-video-grid .nj-youtube-facade {position:absolute;inset:0;display:block;background:#111;overflow:hidden;color:#fff;text-decoration:none;}
.nj-video-grid .nj-youtube-facade img {display:block;width:100%;height:100%;object-fit:cover;}
.nj-video-grid .nj-video-play {position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:52px;height:52px;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.38);display:grid;place-items:center;color:#fff;box-sizing:border-box;pointer-events:none;}
.nj-video-grid .nj-youtube-facade:hover .nj-video-play,.nj-video-grid .nj-youtube-facade:focus-visible .nj-video-play {background:#1979b5;}
.nj-video-grid .nj-youtube-facade:focus-visible {outline:3px solid #1979b5;outline-offset:-3px;}
@media(max-width:600px){body .nj-gallery-page :is(.wp-block-gallery,.gallery,.nj-gallery-photo-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;padding:0!important;}body .wp-site-blocks h1{font-size:23px!important;}body .wp-site-blocks h2{font-size:21px!important;}}

/* Override the high-specificity core gallery sizing rule, too. */
body .nj-gallery-page .wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image){width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important;}
body .nj-gallery-page .gallery > br{display:none!important;}
body .nj-gallery-page .gallery-caption,body .nj-gallery-page .wp-block-image figcaption{color:#555555!important;}

/* v0.38: keep the native cart inside its own column. WooCommerce clearfix
   pseudo-elements must not occupy tracks in a flex/grid formatting context. */
body .nj-cart-layout > .nj-cart-stage {min-width:0!important;max-width:100%!important;box-sizing:border-box;}
body .nj-cart-stage .woocommerce {width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box;}
body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form) {display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:flex-start!important;gap:20px 24px!important;}
body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form)::before,body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form)::after {content:none!important;display:none!important;}
body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form)>* {min-width:0;max-width:100%;box-sizing:border-box;flex:0 0 100%;}
body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form)>.woocommerce-cart-form {flex:2.15 1 390px!important;width:auto!important;float:none!important;clear:none!important;margin:0!important;}
body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form)>.cart-collaterals {flex:1 1 220px!important;width:auto!important;float:none!important;clear:none!important;margin:0!important;}
body .nj-cart-stage .woocommerce-cart-form table.shop_table {width:100%!important;max-width:100%!important;table-layout:fixed;box-sizing:border-box;}
body .nj-cart-stage .woocommerce-cart-form :is(th,td) {overflow-wrap:anywhere;}
body .nj-cart-stage .woocommerce-cart-form .product-remove {width:26px;}
body .nj-cart-stage .woocommerce-cart-form .product-thumbnail {width:60px;}
body .nj-cart-stage .woocommerce-cart-form .product-price,body .nj-cart-stage .woocommerce-cart-form .product-subtotal {width:70px;}
body .nj-cart-stage .woocommerce-cart-form .product-quantity {width:70px;}
body .nj-cart-stage .woocommerce-cart-form .quantity {max-width:100%;}
body .nj-cart-stage .woocommerce-cart-form .quantity input.qty {max-width:100%;box-sizing:border-box;}
body .nj-cart-stage .woocommerce-cart-form .actions .button {float:none!important;max-width:100%;}
body .nj-cart-stage .woocommerce-cart-form .coupon input {max-width:100%;}
body .nj-cart-stage .cart-collaterals .cart_totals {max-width:none!important;}
body .nj-cart-stage .wc-proceed-to-checkout a.checkout-button {display:block!important;width:100%!important;box-sizing:border-box;}
body .nj-intro {color:#555555;line-height:1.45;}
body .nj-intro p {margin:0 0 16px;}
body .nj-gallery-page .nj-gallery-photo-grid {float:none!important;clear:both!important;flex:0 0 100%!important;}
body .nj-gallery-page .nj-gallery-photo-grid > .nj-gallery-photo {display:block!important;float:none!important;position:static!important;min-width:0!important;max-width:none!important;width:100%!important;height:auto!important;margin:0!important;box-sizing:border-box;}
body .nj-gallery-page .nj-gallery-photo-grid .nj-gallery-photo :is(figure,.gallery-icon,.elementor-widget-container) {width:100%!important;max-width:none!important;margin:0!important;}
body .nj-gallery-page .nj-gallery-photo-grid .nj-gallery-photo :is(figcaption,.gallery-caption,.widget-image-caption) {position:static!important;background:transparent!important;color:#555555!important;text-align:center!important;font:400 14px/1.4 Arial,Helvetica,sans-serif!important;padding:0!important;margin:5px 0 0!important;}
@media(max-width:720px){body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form)>.woocommerce-cart-form,body .nj-cart-stage .woocommerce:has(.woocommerce-cart-form)>.cart-collaterals {flex:1 1 100%!important;}body .nj-cart-stage .woocommerce-cart-form table.shop_table {table-layout:auto;}}

/* v0.40: center standalone article product displays, not the article itself. */
body .nj-article .wp-block-post-content :is(.nj-article-product-card,.onlynj-product-card,.nj-product-card,.product-card,.product-box,.product-promo,.wp-block-woocommerce-single-product,.wc-block-featured-product) {
  box-sizing:border-box;float:none!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;
}
body .nj-article .wp-block-post-content :is(.nj-article-product-card,.onlynj-product-card,.nj-product-card,.product-card,.product-box,.product-promo) {text-align:center;}
body .nj-article .wp-block-post-content .nj-article-product-card {align-self:center;justify-self:center;}
body .nj-article .wp-block-post-content .nj-article-product-card img {max-width:100%;height:auto;}

/* v0.41: recommendations are independent of the classic WooCommerce action. */
body .nj-single-product > .nj-related-products {display:flow-root;clear:both;width:100%;max-width:100%;margin:32px 0 0;box-sizing:border-box;}
body .nj-single-product > .nj-related-products h2 {margin:0 0 20px;text-align:left;}
body .nj-single-product > .nj-related-products ul.products {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none;}
body .nj-single-product > .nj-related-products ul.products li.product {min-width:0;width:auto!important;float:none!important;margin:0!important;text-align:center;}
body .nj-single-product > .nj-related-products ul.products li.product a {display:block;text-decoration:none;}
body .nj-single-product > .nj-related-products ul.products li.product img {display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 8px;}
body .nj-single-product > .nj-related-products ul.products li.product .woocommerce-loop-product__title {color:#478fc2!important;font-size:15px!important;line-height:1.35;margin:0 0 8px;}
@media(max-width:600px){body .nj-single-product > .nj-related-products ul.products {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;}}

/* v0.42 — Gallery submission accent, location separators and photo captions. */
body .wp-site-blocks .nj-gallery-page .nj-gallery-content .nj-gallery-submission,
body .wp-site-blocks .nj-gallery-page .nj-gallery-content .nj-gallery-submission :is(strong,b,span,a,a:visited) {
  color:var(--nj-menu-green,#91c640)!important;
}
body .nj-gallery-page .nj-gallery-content hr.nj-gallery-section-divider,
body .nj-gallery-page .nj-gallery-content .wp-block-separator.nj-gallery-section-divider {
  display:block!important;clear:both;box-sizing:border-box;width:100%!important;max-width:none!important;
  height:0!important;border:0!important;border-top:1px solid #ddd!important;background:none!important;
  opacity:1!important;margin:0 0 30px!important;padding:0!important;
}
body .nj-gallery-page .nj-gallery-content :is(figcaption,.wp-element-caption,.gallery-caption,.wp-caption-text,.widget-image-caption) {
  display:block!important;position:static!important;float:none!important;width:100%!important;max-width:100%!important;
  box-sizing:border-box;text-align:center!important;color:#555555!important;background:none!important;
  font:400 14px/1.4 Arial,Helvetica,sans-serif!important;margin:5px auto 0!important;padding:0!important;
  max-height:none!important;overflow:visible!important;
}
body .nj-gallery-page .nj-gallery-content :is(figcaption,.wp-element-caption,.gallery-caption,.wp-caption-text,.widget-image-caption) :is(p,span,a) {text-align:center!important;}
body .nj-gallery-page .nj-gallery-content .nj-gallery-photo-grid > .nj-gallery-photo {text-align:center!important;}
@media(max-width:600px){body .nj-gallery-page .nj-gallery-content hr.nj-gallery-section-divider {margin-bottom:24px!important;}}

/* v0.44: normalize imported captions, including standalone caption paragraphs. */
body .nj-gallery-page .nj-gallery-content .nj-gallery-photo-grid > *,
body .nj-gallery-page .nj-gallery-content :is(.wp-block-gallery,.gallery) > :is(figure,.gallery-item,.wp-block-image,.blocks-gallery-item),
body .nj-gallery-page .nj-gallery-content :is(.nj-gallery-photo,.nj-gallery-caption,.wp-caption,.elementor-image,.elementor-widget-image,.gallery-item) {text-align:center!important;}
body .nj-gallery-page .nj-gallery-content :is(.nj-gallery-caption,figcaption,.wp-caption-text,.wp-element-caption,.gallery-caption,.widget-image-caption) {display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;text-align:center!important;margin:5px auto 0!important;padding:0!important;float:none!important;position:static!important;color:#555555!important;background:none!important;font:400 14px/1.4 Arial,Helvetica,sans-serif!important;}
body .nj-gallery-page .nj-gallery-content :is(.nj-gallery-caption,figcaption,.wp-caption-text,.wp-element-caption,.gallery-caption,.widget-image-caption) * {text-align:center!important;}
body .nj-single-product #reviews #comments ol.commentlist li .comment-text {margin-left:0;}

/* v0.45: align catalog ratings and prices without changing WooCommerce rating values. */
body .nj-shop ul.products > li.product {
  display:flex;
  flex-direction:column;
}
body .nj-shop ul.products > li.product > :is(a.woocommerce-LoopProduct-link,a.woocommerce-loop-product__link) {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-width:0;
  width:100%;
  text-align:center;
}
body .nj-shop ul.products > li.product .star-rating {
  float:none!important;
  align-self:center;
  margin:0 auto 6px!important;
  font-size:14px;
  color:#a66d08;
}
body .nj-shop ul.products > li.product .star-rating::before {color:#c6c6c6;}
body .nj-shop ul.products > li.product .star-rating span::before {color:#a66d08;}
body .nj-shop ul.products > li.product > :is(a.woocommerce-LoopProduct-link,a.woocommerce-loop-product__link) > .price {
  margin-top:auto!important;
  padding-top:6px;
}

/* v0.46: centered archive and ordinary page titles, plus blog search. */
body .wp-site-blocks .nj-page-heading, body.page .wp-site-blocks main > h1.wp-block-post-title {
 font-family:Arial,Helvetica,sans-serif!important;font-weight:600!important;color:#333!important;font-size:26px!important;line-height:1.25;text-align:center!important;text-transform:none;margin:0 auto 16px!important;
}
body .nj-blog-heading {max-width:1180px;margin:0 auto 26px;text-align:center;}
body .nj-blog-search {width:100%;max-width:320px;margin:0 auto;}
body .nj-blog-search input {box-sizing:border-box;width:100%;height:44px;padding:10px 12px;border:1px solid #ccc;background:#fff;color:#555;font:14px Arial,Helvetica,sans-serif;border-radius:0;}
body .nj-blog-search input:focus-visible {outline:2px solid #2074b6;outline-offset:2px;}
body .nj-blog-grid > [hidden],body .nj-blog-search[hidden],body .nj-blog-search-empty[hidden]{display:none!important;}
body .nj-blog-search-empty {text-align:center;color:#555;margin:24px 0;}
body .nj-shop > .nj-page-heading {margin-bottom:26px!important;}
@media(max-width:460px){body .wp-site-blocks .nj-page-heading,body.page .wp-site-blocks main > h1.wp-block-post-title{font-size:23px!important;}body .nj-blog-search input{font-size:16px;}}

/* v0.47: tighter catalog spacing and no redundant sidebar search. */
body .nj-cart-sidebar > .nj-cart-search {display:none!important;}
body .nj-cart-sidebar > h2:first-of-type {margin-top:0;}
body.woocommerce-shop .nj-commerce-main,
body.tax-product_cat .nj-commerce-main,
body.tax-product_tag .nj-commerce-main,
body .nj-commerce-main:has(.nj-shop) {padding-block:24px 32px!important;}
body .nj-shop > .nj-page-heading {margin-bottom:18px!important;}
body .nj-shop ul.nj-shop-tiles {row-gap:24px!important;}
body .nj-shop ul.products {row-gap:30px!important;}
@media(max-width:700px){
 body.woocommerce-shop .nj-commerce-main,
 body.tax-product_cat .nj-commerce-main,
 body.tax-product_tag .nj-commerce-main,
 body .nj-commerce-main:has(.nj-shop) {padding-block:18px 26px!important;}
 body .nj-shop > .nj-page-heading {margin-bottom:14px!important;}
 body .nj-shop ul.nj-shop-tiles,body .nj-shop ul.products {row-gap:20px!important;}
}

/* v0.48: consistent breathing room on ordinary informational pages and Contact.
   Match saved Site Editor templates as well as the bundled page template. */
body.page:not(.home) .wp-site-blocks > main.wp-block-group:not(:is(.nj-commerce-main,.nj-cart-main,.nj-blog-main,.nj-gallery-page,.nj-videos-page,.nj-links-page,.nj-info-page)),
body.page:not(.home) .wp-site-blocks > main.nj-contact-page {
  box-sizing:border-box;
  margin-block:0!important;
  padding-block:32px 48px!important;
}
@media(max-width:700px){
 body.page:not(.home) .wp-site-blocks > main.wp-block-group:not(:is(.nj-commerce-main,.nj-cart-main,.nj-blog-main,.nj-gallery-page,.nj-videos-page,.nj-links-page,.nj-info-page)),
 body.page:not(.home) .wp-site-blocks > main.nj-contact-page {padding-block:24px 36px!important;}
}

/* v0.49: guarantee a minimum 100px white gap before the shared footer.
   Put the spacer on the template-part wrapper, outside the grey footer group.
   Keep existing content padding and the full-bleed footer background intact. */
body .wp-site-blocks > footer.wp-block-template-part,
body .wp-site-blocks footer.wp-block-template-part:has(.nj-footer) {
  padding-block-start:100px!important;
  background:transparent!important;
}
/* Compatibility for saved templates that render the footer group directly. */
body .wp-site-blocks > .nj-footer:not(footer.wp-block-template-part) {
  margin-block-start:100px!important;
}

/* v0.64: minimal previous/next controls outside the slideshow artwork. */
.nj-slider.nj-slider-ready{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;box-sizing:border-box;max-width:100%}
.nj-slider.nj-slider-ready > .nj-slides{grid-column:2;grid-row:1;min-width:0;width:100%}
.nj-slider.nj-slider-ready > .nj-slider-controls{display:contents}
.nj-slider.nj-slider-ready .nj-slider-controls > button.nj-arrow{position:static;inset:auto;grid-row:1;box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;min-width:0;min-height:44px;padding:0;margin:0;appearance:none;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:#777!important;font-size:0!important;line-height:1;cursor:pointer}
.nj-slider.nj-slider-ready .nj-slider-controls > .nj-prev{grid-column:1}
.nj-slider.nj-slider-ready .nj-slider-controls > .nj-next{grid-column:3}
.nj-slider.nj-slider-ready .nj-slider-controls > .nj-arrow::before{content:'';display:block;width:18px;height:18px;box-sizing:border-box;border-right:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg)}
.nj-slider.nj-slider-ready .nj-slider-controls > .nj-prev::before{transform:rotate(-135deg)}
.nj-slider.nj-slider-ready .nj-slider-controls > .nj-arrow:hover,.nj-slider.nj-slider-ready .nj-slider-controls > .nj-arrow:focus-visible{color:#333!important;background:transparent!important}
@media(max-width:600px){.nj-slider.nj-slider-ready{grid-template-columns:32px minmax(0,1fr) 32px}.nj-slider.nj-slider-ready .nj-slider-controls > button.nj-arrow{width:32px}}

/* v0.54: stable slideshow stage and original page-title capitalization. */
.nj-slider.nj-slider-ready .nj-slides {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;align-items:stretch;isolation:isolate;}
.nj-slider.nj-slider-ready .nj-slides > .nj-slide {grid-area:1/1;position:relative;inset:auto;display:flex;flex-direction:column;justify-content:center;min-width:0;align-self:stretch;}
.nj-slider.nj-slider-ready .nj-slides > .nj-slide[hidden] {display:flex!important;visibility:hidden;pointer-events:none;}
.nj-slider.nj-slider-ready .nj-slide-outgoing {pointer-events:none;}
body .wp-site-blocks main h1,body .wp-site-blocks .nj-page-heading {text-transform:none!important;}

/* v0.55: full-width cart only; blog/article sidebar is intentionally retained. */
body .nj-cart-layout.nj-cart-full {display:block!important;width:100%;max-width:1180px;margin-inline:auto!important;}
body .nj-cart-layout.nj-cart-full > .nj-cart-stage {display:block;width:100%!important;max-width:100%!important;margin-inline:auto!important;}
body .nj-cart-full .woocommerce:has(.woocommerce-cart-form) > .woocommerce-cart-form {flex:2.15 1 500px!important;}
body .nj-cart-full .woocommerce:has(.woocommerce-cart-form) > .cart-collaterals {flex:1 1 270px!important;}
@media(max-width:850px){body .nj-cart-full .woocommerce:has(.woocommerce-cart-form) > .woocommerce-cart-form,body .nj-cart-full .woocommerce:has(.woocommerce-cart-form) > .cart-collaterals {flex:1 1 100%!important;}}
/* Keep saved casing for headings, not navigation or action buttons. */
body .wp-site-blocks main h1,body .wp-site-blocks .nj-page-heading {text-transform:none!important;}
.nj-slider.nj-slider-ready .nj-slide.nj-slide-moving {will-change:transform;}

/* v0.58: reset desktop cart column widths at WooCommerce's mobile breakpoint. */
@media (max-width: 768px) {
  body .nj-cart-full .nj-cart-stage .nj-cart-steps {margin-bottom:18px; gap:5px; font-size:11px;}
  body .nj-cart-full .woocommerce-cart-form {padding:0; min-width:0;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table {display:block!important; width:100%!important; table-layout:auto!important; margin:0!important;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table thead {display:none!important;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table tbody,
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr {display:block!important; width:100%!important;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td {display:block!important; width:100%!important; min-width:0!important; max-width:none!important; box-sizing:border-box; padding:12px 4px; overflow-wrap:normal;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item {margin:0 0 16px; border:1px solid #e5e5e5; padding:8px 12px; box-sizing:border-box;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item td[data-title] {display:flex!important; align-items:center; justify-content:space-between; gap:14px; text-align:right!important;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item td[data-title]::before {content:attr(data-title) ":"; float:none!important; flex:0 0 auto; font-weight:600; text-align:left;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-remove {padding:0 0 4px; text-align:right!important; border:0;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-remove a.remove {margin-left:auto;}
  /* Show WooCommerce's native product (or variation) thumbnail on mobile. */
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail {display:block!important; width:100%!important; padding:0 4px 12px; text-align:center!important; border:0; background:transparent;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail::before {display:none!important; content:none!important;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail a {display:inline-block; max-width:100%;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item td.product-thumbnail img {display:block; width:96px!important; max-width:100%!important; height:auto!important; margin:0 auto; object-fit:contain;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-name {flex-wrap:wrap;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-name a {flex:1 1 120px; min-width:0; overflow-wrap:anywhere;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-name dl.variation {flex-basis:100%; margin:0;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-price .amount,
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-subtotal .amount {white-space:nowrap;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.product-subtotal {border-bottom:0;}
  body .nj-cart-full .woocommerce-cart-form table.shop_table td.actions {padding:10px!important;}
  body .nj-cart-full .woocommerce-cart-form td.actions .coupon {display:flex!important; flex-wrap:wrap; gap:8px; padding:0; align-items:stretch;}
  body .nj-cart-full .woocommerce-cart-form td.actions .coupon input.input-text {flex:1 1 115px; width:auto!important; min-width:0!important; box-sizing:border-box; font-size:16px;}
  body .nj-cart-full .woocommerce-cart-form td.actions .coupon button.button {flex:1 1 115px; width:auto!important;}
  body .nj-cart-full .woocommerce-cart-form td.actions > button.button {width:100%!important;}
}

/* v0.59: replace mobile navigation icon with a visible Menu label. */
.nj-menu-band .nj-nav .wp-block-navigation__responsive-container-open{font-size:0;min-height:48px;align-items:center;}
.nj-menu-band .nj-nav .wp-block-navigation__responsive-container-open svg{display:none;}
.nj-menu-band .nj-nav .wp-block-navigation__responsive-container-open::after{content:"Menu";font-size:16px;font-weight:700;line-height:24px;text-transform:none;color:inherit;}

/* v0.60: generous tap targets in the open mobile navigation only. */
.nj-menu-band .nj-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
  min-height:56px;
  padding:15px 12px!important;
  font-size:19px!important;
  line-height:1.35!important;
}

/* Mobile cart cards already have borders; disable WooCommerce row striping. */
@media (max-width: 768px) {
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item,
  body .nj-cart-full .woocommerce-cart-form table.shop_table tr.cart_item > td {
    background:#fff!important;
  }
}

/* v0.66: remove native gallery overlay caption shadows from standalone captions. */
body .nj-gallery-page .nj-gallery-content :is(figcaption,.wp-element-caption,.gallery-caption,.wp-caption-text,.widget-image-caption,.nj-gallery-caption),
body .nj-gallery-page .nj-gallery-content :is(figcaption,.wp-element-caption,.gallery-caption,.wp-caption-text,.widget-image-caption,.nj-gallery-caption) * {
  text-shadow:none!important;
  box-shadow:none!important;
  filter:none!important;
}
body .nj-gallery-page .nj-gallery-content :is(figcaption,.wp-element-caption,.gallery-caption,.wp-caption-text,.widget-image-caption,.nj-gallery-caption) {
  background:transparent!important;
}

/* v0.67: suppress the core gallery caption blur pseudo-element, not the image. */
body .nj-gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
  content:none!important;
  display:none!important;
  background:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  filter:none!important;
}
body .nj-gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  background:none!important;
  text-shadow:none!important;
}

/* v0.77: restore side chevrons; centered playback and slide indicators. */
.nj-slider.nj-slider-ready .nj-slider-bottom{grid-column:2;grid-row:2;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px;min-height:34px;margin:0;padding:0;min-width:0}
.nj-slider.nj-slider-ready .nj-slider-bottom button{position:static;display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:24px;height:28px;margin:0;padding:0;appearance:none;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:#444!important;font-family:inherit;font-size:12px!important;line-height:1.4;font-weight:400;cursor:pointer}
.nj-slider.nj-slider-ready .nj-slider-bottom .nj-slider-toggle{min-width:44px;padding:0 4px;text-decoration:none!important}
.nj-slider.nj-slider-ready .nj-slider-dots{display:flex;align-items:center;justify-content:center;gap:0}
.nj-slider.nj-slider-ready .nj-slider-dots .nj-slider-dot{width:24px;min-width:24px}
.nj-slider.nj-slider-ready .nj-slider-dot::before{content:'';box-sizing:border-box;width:8px;height:8px;border:1px solid #777;border-radius:50%;background:transparent}
.nj-slider.nj-slider-ready .nj-slider-dot[aria-current=true]::before{background:#444;border-color:#444}
.nj-slider.nj-slider-ready .nj-slider-bottom button:focus-visible{outline:2px solid #1979b5;outline-offset:1px}

/* Optional announcement: no output when disabled. */
.nj-site-announcement{font-size:14px;line-height:1.45;text-align:center;margin:6px 0 12px;overflow-wrap:anywhere}.nj-sidebar-extra{margin-top:16px;overflow-wrap:anywhere}
