/* Native WooCommerce templates: preserve forms, links, galleries and product data. */
body.woocommerce:not(.single-product) .shoptimizer-archive>.col-full{max-width:1280px;padding:28px 24px 56px}
body.woocommerce .archive-header .col-full{max-width:1280px;padding-inline:24px}
body.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--jnj3-muted)}
body.woocommerce .woocommerce-products-header__title{font-size:34px;line-height:1.15;letter-spacing:-1px;color:var(--jnj3-ink);margin:0 0 24px}
body.woocommerce .woocommerce-products-header:empty{display:none}
body.woocommerce .jnjui-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;padding:14px 16px;background:var(--jnj3-surface);border-radius:14px}
body.woocommerce .jnjui-catalog-toolbar .shoptimizer-sorting{margin:0;padding:0;border:0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex:1}
body.woocommerce .jnjui-catalog-toolbar .woocommerce-result-count{margin:0;font-size:13px;color:var(--jnj3-muted);float:none;order:-1}
body.woocommerce .jnjui-catalog-toolbar .woocommerce-ordering{float:none;margin:0}
body.woocommerce .jnjui-catalog-toolbar .woocommerce-pagination{display:none}
body.woocommerce .woocommerce-ordering select{background:#fff;border:1px solid var(--jnj3-line);border-radius:9px;min-height:44px;font-size:13px;color:var(--jnj3-ink);max-width:100%;padding:8px 32px 8px 12px}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products,body.single-product :is(.related,.upsells) ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;width:100%!important;margin:0!important;overflow:visible!important}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products::before,body.woocommerce:not(.single-product) .shoptimizer-archive ul.products::after,body.single-product :is(.related,.upsells) ul.products::before,body.single-product :is(.related,.upsells) ul.products::after{display:none!important}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product,body.single-product :is(.related,.upsells) ul.products li.product{display:flex!important;flex-direction:column;float:none!important;width:auto!important;min-width:0!important;margin:0!important;padding:0 12px 12px!important;border:1px solid var(--jnj3-line);border-radius:14px;background:#fff;overflow:hidden;box-shadow:none;transform:none!important}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .woocommerce-image__wrapper,body.single-product :is(.related,.upsells) ul.products li.product .woocommerce-image__wrapper{height:185px!important;min-height:0!important;aspect-ratio:auto;margin:0 -12px 12px!important;background:#fff}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product :is(.woocommerce-loop-product__title,h2),body.single-product :is(.related,.upsells) ul.products li.product :is(.woocommerce-loop-product__title,h2){font-size:14px!important;line-height:1.5!important;font-weight:550!important;color:var(--jnj3-ink);margin:0 0 12px!important;letter-spacing:0}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .price,body.single-product :is(.related,.upsells) ul.products li.product .price{font-size:16px!important;color:var(--jnj3-ink)!important;position:static!important;margin:auto 0 12px!important;opacity:1!important;transform:none!important;visibility:visible!important}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product a.button,body.single-product :is(.related,.upsells) ul.products li.product a.button{display:flex!important;align-items:center;justify-content:center;position:static!important;width:100%;min-height:44px;padding:10px!important;font-size:13px!important;border-radius:9px;opacity:1!important;visibility:visible!important;transform:none!important;margin:0!important;white-space:normal}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .product-details{display:flex;flex-direction:column;flex:1}
body.woocommerce .sorting-end{margin-top:28px;padding-top:20px;border-top:1px solid var(--jnj3-line)}
body.woocommerce #secondary .widget{padding:20px 0;margin:0;border-bottom:1px solid var(--jnj3-line)}
body.woocommerce #secondary .widget-title{font-size:15px;font-weight:650;color:var(--jnj3-ink);margin-bottom:16px}
body.woocommerce #secondary ul.product-categories{font-size:14px;line-height:1.5}
body.woocommerce #secondary .product-categories li{padding:0;margin:0}
body.woocommerce #secondary .product-categories a{display:block;padding:9px 10px;border-radius:8px;color:var(--jnj3-muted)}
body.woocommerce #secondary .product-categories .current-cat>a{background:var(--jnj3-surface);color:var(--jnj3-ink);font-weight:650;box-shadow:inset 3px 0 var(--jnj3-brand)}
body.woocommerce #secondary .price_slider{background:var(--jnj3-line);margin:18px 10px}
body.woocommerce #secondary .price_slider :is(.ui-slider-range,.ui-slider-handle){background:var(--jnj3-ink)}
body.woocommerce #secondary .price_slider .ui-slider-handle{border:3px solid #fff;box-shadow:0 0 0 1px var(--jnj3-ink);width:18px;height:18px;top:-6px}
body.woocommerce #secondary .price_label{font-size:12px}
body.woocommerce #secondary .price_slider_amount button{border-radius:8px;min-height:40px}
@media(min-width:993px){body.woocommerce:not(.single-product) .shoptimizer-archive>.col-full{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px}body.woocommerce:not(.single-product) .shoptimizer-archive>.col-full::before,body.woocommerce:not(.single-product) .shoptimizer-archive>.col-full::after{display:none}body.woocommerce:not(.single-product) .shoptimizer-archive #primary{grid-column:2;grid-row:1;width:100%;float:none;margin:0;min-width:0}body.woocommerce:not(.single-product) .shoptimizer-archive #secondary{grid-column:1;grid-row:1;width:100%;float:none;margin:0;padding:0}body.woocommerce .jnjui-catalog-toolbar .mobile-filter{display:none}}
@media(min-width:768px) and (max-width:1199px){body.woocommerce:not(.single-product) .shoptimizer-archive ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:992px){body.woocommerce:not(.single-product) .shoptimizer-archive #primary{width:100%;margin:0}body.woocommerce #secondary{position:fixed!important;top:12px!important;right:12px!important;left:auto!important;bottom:12px;width:min(320px,calc(100vw - 44px))!important;height:calc(100dvh - 24px)!important;padding:52px 20px 24px!important;z-index:100005!important;background:#fff;border-radius:20px;overflow:auto;transform:translateX(calc(100% + 24px));visibility:hidden}body.woocommerce.filter-open #secondary{transform:translateX(0);visibility:visible}body.woocommerce .filters.close-drawer{position:fixed!important;z-index:100006!important;right:24px!important;left:auto!important;top:24px!important;width:40px;height:40px;background:var(--jnj3-surface);border-radius:12px}body.woocommerce .jnjui-catalog-toolbar{padding:12px;gap:10px;align-items:flex-start}body.woocommerce .jnjui-catalog-toolbar .mobile-filter{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;width:95px;padding:8px!important;font-size:13px;margin:0;border:1px solid var(--jnj3-line);border-radius:9px;background:#fff;color:var(--jnj3-ink)}body.woocommerce .jnjui-catalog-toolbar .shoptimizer-sorting{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:8px}body.woocommerce .jnjui-catalog-toolbar .woocommerce-result-count{order:2;text-align:right;font-size:11px}body.woocommerce .jnjui-catalog-toolbar .woocommerce-ordering select{width:100%}}
/* Product detail */
body.single-product .product-details-wrapper{max-width:1280px;margin:0 auto 32px;padding:28px 24px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:28px;background:var(--jnj3-surface);border-radius:24px}
body.single-product .product-details-wrapper::before,body.single-product .product-details-wrapper::after{display:none}
body.single-product .product-details-wrapper>.woocommerce-product-gallery,body.single-product .product-details-wrapper>.summary{float:none!important;width:100%!important;margin:0!important;min-width:0}
body.single-product .product-details-wrapper>.woocommerce-product-gallery{background:#fff;border:1px solid var(--jnj3-line);border-radius:18px;padding:18px;align-self:start;overflow:hidden}
body.single-product .woocommerce-product-gallery .flex-viewport{height:460px!important}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image{height:460px}
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:contain;object-position:center}
body.single-product .woocommerce-product-gallery .flex-control-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0!important}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li{width:64px!important;margin:0!important;border:1px solid var(--jnj3-line);border-radius:9px;overflow:hidden}
body.single-product .product-details-wrapper>.summary{background:#fff;padding:26px;border:1px solid var(--jnj3-line);border-radius:18px}
body.single-product .summary h1.product_title{font-size:28px!important;line-height:1.3;letter-spacing:-.6px;color:var(--jnj3-ink);margin:0 0 12px}
body.single-product .summary .junjubi-ust-meta{font-size:12px;color:var(--jnj3-muted);line-height:1.6}
body.single-product .summary>.price{font-size:28px!important;font-weight:650;color:var(--jnj3-ink)!important;margin:18px 0 24px}
body.single-product .summary form.cart:not(.variations_form):not(.grouped_form){display:flex;gap:12px;align-items:stretch}
body.single-product .summary form.cart .quantity{width:88px;flex-shrink:0;margin:0!important}
body.single-product .summary form.cart .quantity input{border:1px solid var(--jnj3-line);border-radius:10px;min-height:50px;color:var(--jnj3-ink)}
body.single-product .summary form.cart .single_add_to_cart_button{border-radius:10px;min-height:50px;flex:1;margin:0!important;font-size:15px}
body.single-product .summary .variations select{min-height:44px;border:1px solid var(--jnj3-line);border-radius:9px;background:#fff;max-width:100%}
body.single-product .summary #text-5 .textwidget>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px!important;background:var(--jnj3-surface)!important;border:0!important;border-radius:12px!important}
body.single-product .summary #text-5 .textwidget>div>div{padding:0!important;gap:8px!important}
body.single-product .summary #text-5 .textwidget>div>div:first-child{grid-column:1/-1;padding-bottom:14px!important;border-bottom:1px solid var(--jnj3-line)!important}
body.single-product .summary #text-5 p:empty{display:none}
body.single-product .summary #text-5 p{font-size:12px!important;line-height:1.5!important;color:var(--jnj3-muted)!important}
body.single-product .summary #text-5 p:first-child{font-size:13px!important;color:var(--jnj3-ink)!important}
body.single-product .summary #text-5 svg{width:18px;min-width:18px}
body.single-product .woocommerce-tabs{max-width:1200px;margin:32px auto!important;padding:0 24px!important}
body.single-product .woocommerce-tabs ul.tabs{border-bottom:1px solid var(--jnj3-line)}
body.single-product .woocommerce-tabs ul.tabs li a{font-size:15px;padding:16px 4px;color:var(--jnj3-muted)}
body.single-product .woocommerce-tabs ul.tabs li.active a{color:var(--jnj3-ink);border-color:var(--jnj3-brand)}
body.single-product .woocommerce-tabs .panel{max-width:900px;margin:24px auto!important;font-size:15px;line-height:1.8;color:var(--jnj3-muted)}
body.single-product .woocommerce-tabs .panel h2{font-size:24px;line-height:1.3;color:var(--jnj3-ink)}
body.single-product .woocommerce-tabs .panel h3{font-size:19px;line-height:1.4;color:var(--jnj3-ink);margin-top:28px}
body.single-product .related-wrapper{background:var(--jnj3-surface);padding:32px 24px}
body.single-product :is(.related,.upsells){max-width:1232px;margin:0 auto}
body.single-product :is(.related,.upsells)>h2{font-size:26px;letter-spacing:-.5px;margin-bottom:24px}
@media(max-width:767px){body.woocommerce:not(.single-product) .shoptimizer-archive>.col-full{padding:20px 16px 36px}body.woocommerce .woocommerce-products-header__title{font-size:28px;letter-spacing:-.6px;margin-bottom:18px}body.woocommerce:not(.single-product) .shoptimizer-archive ul.products,body.single-product :is(.related,.upsells) ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product,body.single-product :is(.related,.upsells) ul.products li.product{padding:0 10px 10px!important;border-radius:12px}body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .woocommerce-image__wrapper,body.single-product :is(.related,.upsells) ul.products li.product .woocommerce-image__wrapper{height:150px!important;margin-inline:-10px!important}body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product :is(.woocommerce-loop-product__title,h2),body.single-product :is(.related,.upsells) ul.products li.product :is(.woocommerce-loop-product__title,h2){font-size:13px!important}body.single-product .product-details-wrapper{grid-template-columns:1fr;padding:16px;gap:16px;border-radius:0;margin-bottom:24px}body.single-product .product-details-wrapper>.woocommerce-product-gallery{padding:12px;border-radius:14px}body.single-product .woocommerce-product-gallery .flex-viewport,body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image{height:300px!important}body.single-product .product-details-wrapper>.summary{padding:20px 16px;border-radius:14px}body.single-product .summary h1.product_title{font-size:23px!important}body.single-product .summary>.price{font-size:26px!important;margin:16px 0 20px}body.single-product .woocommerce-tabs{padding:0 16px!important}body.single-product .related-wrapper{padding:28px 16px}body.single-product .woocommerce-tabs .panel h2{font-size:21px}}
@media(max-width:359px){body.single-product .woocommerce-product-gallery .flex-viewport,body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image{height:250px!important}body.single-product .summary #text-5 .textwidget>div{grid-template-columns:1fr}body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .woocommerce-image__wrapper{height:125px!important}}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .woocommerce-card__header,body.single-product :is(.related,.upsells) ul.products li.product .woocommerce-card__header{display:flex;flex-direction:column;flex:1;padding:0!important;min-height:0!important}
body.woocommerce .jnjui-catalog-toolbar .mobile-filter{position:static;text-transform:none;letter-spacing:0;font-weight:550}
body.woocommerce .jnjui-catalog-toolbar .mobile-filter svg{position:static!important;width:18px;height:18px;margin:0!important;flex-shrink:0;transform:none!important}
body.single-product .summary form.cart .quantity{display:grid!important;grid-template-columns:28px 40px 28px;width:96px;position:relative;gap:0;align-items:stretch;border:1px solid var(--jnj3-line);border-radius:10px;overflow:hidden}
body.single-product .summary form.cart .quantity input{grid-column:2;grid-row:1;width:40px!important;min-width:0;padding:0!important;border:0;border-radius:0;text-align:center;appearance:textfield;-moz-appearance:textfield}
body.single-product .summary form.cart .quantity input::-webkit-inner-spin-button{appearance:none}
body.single-product .summary .quantity-nav{display:contents!important}
body.single-product .summary .quantity-button{position:static!important;display:flex!important;align-items:center;justify-content:center;width:28px!important;height:auto!important;min-height:50px;border:0!important;background:#fff;color:var(--jnj3-ink);transform:none!important;font-size:18px;cursor:pointer}
body.single-product .summary .quantity-up{grid-column:3;grid-row:1}
body.single-product .summary .quantity-down{grid-column:1;grid-row:1}
body.single-product .summary .quantity-up::before{content:"+"!important;position:static!important;display:block;background:none;width:auto;height:auto;font-size:18px;transform:none!important}
body.single-product .summary .quantity-down::before{content:"−"!important;position:static!important;display:block;background:none;width:auto;height:auto;font-size:18px;transform:none!important}
body.single-product .summary .quantity-button::after{display:none!important}
body.single-product .woocommerce-tabs ul.tabs li.active::before{background:var(--jnj3-brand)!important}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products,body.single-product :is(.related,.upsells) ul.products{padding:0!important;align-items:stretch!important;grid-auto-rows:auto}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product,body.single-product :is(.related,.upsells) ul.products li.product{height:100%!important;align-self:stretch!important;box-sizing:border-box}
body.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .woocommerce-card__header,body.single-product :is(.related,.upsells) ul.products li.product .woocommerce-card__header{box-shadow:none!important;background:transparent!important;position:static!important;transform:none!important}
body.single-product :is(.related,.upsells){padding:0!important;width:100%!important}
body.single-product .summary .quantity-button::before{mask:none!important;-webkit-mask:none!important;line-height:1;color:var(--jnj3-ink)}
@media(max-width:767px){body.single-product .summary #text-5 .textwidget>div{grid-template-columns:1fr;gap:14px}}
/* Product pages have no archive sidebar. Explicitly contain the native full-width template. */
body.single-product .shoptimizer-archive>.col-full{display:block!important;width:100%!important;max-width:1280px!important;box-sizing:border-box;margin:0 auto!important;padding:24px!important}
body.single-product .shoptimizer-archive #primary{display:block;float:none!important;width:100%!important;margin:0!important;min-width:0}
body.single-product .archive-header{background:#fff}
body.single-product .archive-header .col-full{max-width:1280px!important;width:100%;box-sizing:border-box;margin:0 auto!important;padding:16px 24px!important}
body.single-product .product-details-wrapper{width:100%;max-width:100%;box-sizing:border-box;margin:0 0 28px!important}
body.single-product .woocommerce-tabs{width:100%;max-width:100%;box-sizing:border-box;margin:28px 0!important;padding:0!important;border:1px solid var(--jnj3-line);border-radius:18px;overflow:hidden;background:#fff}
body.single-product .woocommerce-tabs ul.tabs{display:flex;gap:20px;overflow-x:auto;padding:0 24px!important;margin:0!important;text-align:left;background:#fff;border-bottom:1px solid var(--jnj3-line)}
body.single-product .woocommerce-tabs ul.tabs li{flex-shrink:0;padding:0!important;border:0!important}
body.single-product .woocommerce-tabs ul.tabs li a{padding:17px 0!important;font-size:15px;font-weight:600;line-height:1.4}
body.single-product .woocommerce-tabs ul.tabs li a::after{display:block!important;top:auto;bottom:0;left:0;width:100%;border-color:var(--jnj3-brand)!important;border-width:2px}
body.single-product .woocommerce-tabs .panel{max-width:940px;box-sizing:border-box;margin:0 auto!important;padding:28px 24px!important;line-height:1.75;font-size:15px;color:#515b67}
body.single-product .woocommerce-tabs .panel>h2{font-size:23px;line-height:1.4;letter-spacing:-.3px;margin:0 0 16px;color:var(--jnj3-ink)}
body.single-product .woocommerce-tabs .panel p{margin:0 0 16px}
body.single-product .jnjui-description-section{margin:18px 0 0;border-top:1px solid var(--jnj3-line)}
body.single-product .jnjui-description-section summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:16px 0;list-style:none;cursor:pointer;font-size:15px;font-weight:600;color:var(--jnj3-ink)}
body.single-product .jnjui-description-section summary::-webkit-details-marker{display:none}
body.single-product .jnjui-description-section summary::after{content:"+";display:flex;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:26px;border:1px solid var(--jnj3-line);border-radius:8px;font-size:18px;font-weight:400;background:var(--jnj3-surface)}
body.single-product .jnjui-description-section[open]>summary::after{content:"−"}
body.single-product .jnjui-description-section summary:focus-visible{outline:2px solid #235cbe;outline-offset:3px}
body.single-product .woocommerce-tabs .jnjui-description-section ul{margin:0 0 16px;padding-left:19px;list-style:disc}
body.single-product .woocommerce-tabs .jnjui-description-section li{padding:5px 0;line-height:1.65}
body.single-product .jnjui-description-section.jnjui-specs ul{list-style:none;padding:0!important;overflow:hidden;border:1px solid var(--jnj3-line);border-radius:12px;background:var(--jnj3-surface)}
body.single-product .jnjui-description-section.jnjui-specs li{padding:10px 14px!important;margin:0;font-size:14px}
body.single-product .jnjui-description-section.jnjui-specs li+li{border-top:1px solid var(--jnj3-line)}
@media(max-width:992px){
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:10px;padding:12px}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .shoptimizer-sorting{display:contents}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-ordering{width:100%;min-width:0;margin:0!important;align-self:start}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-ordering select{margin:0;width:100%;min-width:0}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .mobile-filter{width:96px;margin:0!important}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-result-count{grid-column:1/-1;order:0;text-align:left;font-size:12px;margin:0!important}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-notices-wrapper:empty{display:none}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-notices-wrapper:not(:empty){grid-column:1/-1}
}
@media(max-width:767px){
 body.single-product .shoptimizer-archive>.col-full{padding:0 16px 28px!important}
 body.single-product .archive-header .col-full{padding:12px 16px!important}
 body.single-product .product-details-wrapper{padding:12px;gap:12px;border-radius:16px;background:var(--jnj3-surface)}
 body.single-product .woocommerce-tabs{margin:24px 0!important;border-radius:14px}
 body.single-product .woocommerce-tabs ul.tabs{padding:0 18px!important;gap:18px}
 body.single-product .woocommerce-tabs .panel{padding:20px 18px!important;font-size:14px;line-height:1.75}
 body.single-product .woocommerce-tabs .panel>h2{font-size:19px;line-height:1.4;letter-spacing:-.2px;margin-bottom:14px}
 body.single-product .jnjui-description-section{margin-top:14px}
 body.single-product .jnjui-description-section summary{font-size:14px;min-height:54px}
 body.single-product .jnjui-description-section.jnjui-specs li{font-size:13px}
 body.single-product .related-wrapper{padding:24px 0;background:transparent}
}
@media(max-width:992px){
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar::before,body.woocommerce:not(.single-product) .jnjui-catalog-toolbar::after,body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .shoptimizer-sorting::before,body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .shoptimizer-sorting::after{display:none!important}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .mobile-filter{grid-column:1;grid-row:1}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-ordering{grid-column:2;grid-row:1}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-result-count{grid-column:1/-1;grid-row:2}
 body.woocommerce:not(.single-product) .jnjui-catalog-toolbar .woocommerce-notices-wrapper:not(:empty){grid-row:3}
}
body.single-product .woocommerce-tabs{scroll-margin-top:80px}
body.single-product .woocommerce-tabs .panel{scroll-margin-top:90px}
@media(max-width:992px){body.single-product .woocommerce-tabs,body.single-product .woocommerce-tabs .panel{scroll-margin-top:144px}}
/* Stretch the media stage across the card's equal negative gutters.
 * Theme width:100% previously kept the content width and shifted its centre left. */
body.wp-theme-shoptimizer.woocommerce:not(.single-product) .shoptimizer-archive ul.products li.product .woocommerce-image__wrapper,
body.wp-theme-shoptimizer.single-product :is(.related,.upsells) ul.products li.product .woocommerce-image__wrapper{width:auto!important;max-width:none!important;align-self:stretch!important;box-sizing:border-box}

/* One sorting area above the catalogue and one quiet pagination area below. */
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end>.woocommerce-ordering,
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end>.woocommerce-result-count{display:none!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end{display:flex;justify-content:center;align-items:center;gap:0;clear:both;margin-top:28px!important;padding-top:20px!important;border-top:1px solid #eae5df}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination{float:none!important;width:100%;margin:0!important;padding:0!important;min-width:0}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination>ul{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;gap:6px;margin:0!important;padding:0!important;border:0!important;list-style:none;white-space:nowrap}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination>ul>li{display:block;flex:0 0 auto;float:none!important;margin:0!important;padding:0!important;border:0!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination>ul>li>.page-numbers{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;height:44px;margin:0;padding:8px!important;border:1px solid transparent;border-radius:10px;color:#292d32;background:none;font:500 14px/1 Arial,Helvetica,sans-serif;text-decoration:none}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination>ul>li>.current{border-color:#e6d7c7;background:#fff0e3;color:#954b16;font-weight:600}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination>ul>li>a:hover{background:#faf8f5;border-color:#eae5df}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination>ul>li>.dots{min-width:24px;color:#8a8075}
.jnjui-pagination-mobile{display:none}
body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end :is(a,select):focus-visible{outline:2px solid #ff7a1a;outline-offset:2px}
@media(max-width:767px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end{margin-top:22px!important;padding-top:16px!important}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination.jnjui-pagination-enhanced>ul{display:none!important}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-pagination-mobile{display:grid;grid-template-columns:44px minmax(0,160px) 44px;align-items:center;justify-content:center;gap:8px;max-width:100%}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-page-step{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;border:1px solid #eae5df;border-radius:10px;background:#fff;color:#292d32;text-decoration:none}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-page-step[aria-disabled=true]{opacity:.4}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-page-step[href]:hover{background:#faf8f5}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-page-select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;margin:0!important;padding:8px 26px 8px 10px;border:1px solid #eae5df;border-radius:10px;background-color:#faf8f5;color:#292d32;font:500 14px/1.4 Arial,Helvetica,sans-serif}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination:not(.jnjui-pagination-enhanced){overflow-x:auto}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end .woocommerce-pagination:not(.jnjui-pagination-enhanced)>ul{justify-content:flex-start}
}

body.wp-theme-shoptimizer.jnjui-filter-catalog .sorting-end:not(:has(.woocommerce-pagination)){display:none!important}

/* Put sorting first and the result summary at the opposite edge. */
@media(min-width:993px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-catalog-toolbar .woocommerce-ordering{order:0}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-catalog-toolbar .woocommerce-result-count{order:1;margin-left:auto!important;text-align:right}
}
@media(max-width:992px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-catalog-toolbar .woocommerce-result-count{text-align:right}
}

/* Quiet category introductions keep the product selection in focus. */
body.wp-theme-shoptimizer.jnjui-filter-catalog .woocommerce-products-header:has(.term-description){background:transparent!important;border:0!important;padding:0!important;margin-bottom:20px!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .woocommerce-products-header .term-description{box-sizing:border-box;max-width:900px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:0 0 20px!important;color:#6f635b;text-align:left;font:400 14px/1.65 Arial,Helvetica,sans-serif}
body.wp-theme-shoptimizer.jnjui-filter-catalog .woocommerce-products-header .term-description p{font:inherit!important;letter-spacing:0!important;color:inherit;margin:0 0 8px!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .woocommerce-products-header .term-description p:last-child{margin-bottom:0!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .woocommerce-products-header .term-description :is(h2,h3,h4){font:600 16px/1.4 Arial,Helvetica,sans-serif!important;color:#292d32;margin:12px 0 8px!important;letter-spacing:0}
body.wp-theme-shoptimizer.jnjui-filter-catalog .term-description a{color:inherit;text-decoration:underline;text-underline-offset:3px}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category{box-sizing:border-box;clear:both;width:100%;max-width:100%;margin:28px 0 0!important;padding:22px 24px!important;border:1px solid #eae5df;border-radius:14px;background:#faf8f5;text-align:left;color:#6f635b;font:400 14px/1.75 Arial,Helvetica,sans-serif}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category :is(p,li){font:inherit!important;color:inherit;letter-spacing:0;margin-top:0}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category p{margin-bottom:12px}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category h2{font:600 20px/1.4 Arial,Helvetica,sans-serif!important;color:#292d32;letter-spacing:0;margin:22px 0 10px!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category>h2:first-child{margin-top:0!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category h3{font:600 16px/1.45 Arial,Helvetica,sans-serif!important;color:#292d32;letter-spacing:0;margin:18px 0 8px!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category a{color:#51473f;text-decoration:underline;text-decoration-color:#bba68e;text-underline-offset:3px}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category a:hover{color:#954b16}
body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-category-more{clear:both;margin:0;padding:0;border:0;background:none}
body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-category-more>summary{display:flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;width:max-content;max-width:100%;min-height:44px;margin:0 0 0 auto;padding:8px 0;border:0;border-radius:6px;list-style:none;cursor:pointer;color:#51473f;font:600 13px/1.4 Arial,Helvetica,sans-serif}
.jnjui-category-more>summary::-webkit-details-marker{display:none}
.jnjui-category-more>summary::marker{content:''}
.jnjui-category-more>summary svg{flex:0 0 14px;width:14px;height:14px}
.jnjui-category-more .jnjui-category-less-label{display:none}
.jnjui-category-more[open]>summary .jnjui-category-more-label{display:none}
.jnjui-category-more[open]>summary .jnjui-category-less-label{display:inline}
.jnjui-category-more[open]>summary svg{transform:rotate(180deg)}
body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-category-more>summary:hover{color:#954b16}
body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-category-more[open]>summary{margin-bottom:12px}
body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-category-more-content>h2:first-child{margin-top:0!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .jnjui-category-collapse{display:flex;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;width:max-content;min-height:44px;margin:0 0 0 auto;padding:8px 0!important;border:0;border-radius:6px;background:none!important;color:#51473f!important;box-shadow:none;font:600 13px/1.4 Arial,Helvetica,sans-serif!important}
body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category :is(summary,button,a):focus-visible{outline:2px solid #ff7a1a;outline-offset:3px}
@media(max-width:767px){
 body.wp-theme-shoptimizer.jnjui-filter-catalog .woocommerce-products-header .term-description{font-size:13px;line-height:1.65;margin-bottom:16px}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category{margin-top:22px!important;padding:16px!important;font-size:13px;line-height:1.75;border-radius:12px}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category h2{font-size:18px!important;line-height:1.4!important;margin-top:20px!important}
 body.wp-theme-shoptimizer.jnjui-filter-catalog .below-woocommerce-category h3{font-size:15px!important}
}
