/* Shared visitor/customer catalog layout. Existing product and price data are preserved. */
body.jmc-modern-catalog #main ul.products li.product{padding-top:3px!important}
body.jmc-modern-catalog #main ul.products li.product .jmc-loop-photo-stage{padding-top:0!important;margin-top:0!important;height:182px!important;min-height:182px!important}
@media(max-width:760px){body.jmc-modern-catalog #main ul.products li.product .jmc-loop-photo-stage{height:137px!important;min-height:137px!important}}

body.jmc-modern-catalog #main ul.products li.product .jmc-loop-photo-stage{margin-bottom:3px!important;padding-bottom:0!important}
body.jmc-modern-catalog #main ul.products li.product .jmc-modern-card-heading{margin-top:0!important}

body.jmc-modern-catalog #main ul.products li.product .jmc-modern-card-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 6px!important;min-width:0}
body.jmc-modern-catalog #main ul.products li.product .jmc-modern-card-heading .jmc-modern-brand{margin:0!important;flex:0 0 auto!important}
body.jmc-modern-catalog #main ul.products li.product .jmc-modern-card-heading .woocommerce-loop-product__title{margin:0!important;padding:0!important;min-width:0!important;flex:1!important;font-size:20px!important;line-height:1.2!important;text-align:right!important;overflow-wrap:anywhere!important}
@media(max-width:760px){body.jmc-modern-catalog #main ul.products li.product .jmc-modern-card-heading{gap:6px!important}body.jmc-modern-catalog #main ul.products li.product .jmc-modern-card-heading .jmc-modern-brand{font-size:9px!important}body.jmc-modern-catalog #main ul.products li.product .jmc-modern-card-heading .woocommerce-loop-product__title{font-size:16px!important}}

/* Desktop density requested by Juan: 100% browser zoom matches previous 75% view. */
@media(min-width:1200px){
 body.jmc-modern-catalog > .jmc-header,
 body.jmc-modern-catalog > main.jmc-woo-main,
 body.jmc-modern-catalog > .jmc-footer {zoom:.75}
}

body.jmc-modern-catalog{background:#f5f6f7!important;color:#171b23}
.jmc-modern-catalog .jmc-shell{width:min(1380px,calc(100% - 56px))!important;max-width:1380px!important}
.jmc-modern-catalog .jmc-header{background:#fff!important;position:relative!important;top:auto!important}
.jmc-modern-catalog .jmc-topbar{font-size:10px!important}
.jmc-modern-catalog .jmc-nav{min-height:86px!important;padding-top:10px!important;padding-bottom:10px!important}
.jmc-modern-catalog .jmc-logo-img{width:76px!important;height:76px!important;max-height:76px!important;object-fit:contain}
.jmc-modern-catalog .jmc-brand{padding:0!important;min-height:0!important}
.jmc-modern-catalog .jmc-woo-main{padding-top:30px!important;padding-bottom:50px!important}
.jmc-modern-intro{margin-bottom:20px}
.jmc-modern-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:#bd182c}
.jmc-modern-intro h1{font-family:Manrope,Arial,sans-serif;font-size:34px;font-weight:800;line-height:1.2;letter-spacing:-1px;margin:7px 0}
.jmc-modern-intro p{font-size:15px;color:#68717d;margin:0}
.jmc-modern-login{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff4f5;border:1px solid #f1d5da;border-radius:10px;padding:13px 18px;margin-bottom:20px;font-size:14px}
.jmc-modern-login a{font-weight:800;color:#bc1830;white-space:nowrap}
.jmc-modern-catalog .jmc-catalog-tools{display:flex!important;gap:18px!important;align-items:center;margin:0 0 16px!important;padding:0!important;background:transparent!important;border:0!important}
.jmc-modern-catalog .jmc-catalog-filter-form{flex:1!important;min-width:0}
.jmc-modern-catalog .jmc-filter-search{display:flex!important;position:relative;border:1px solid #d9dee5!important;border-radius:10px!important;background:#fff;overflow:visible}
.jmc-modern-catalog #jmc-catalog-search{height:54px!important;width:100%!important;padding:0 66px 0 18px!important;font-size:15px!important;background:transparent!important;border:0!important}
.jmc-modern-catalog .jmc-filter-submit{background:#cb1730!important;color:#fff!important;border:0!important;border-radius:0 9px 9px 0!important;width:56px!important;height:54px!important;right:0!important;top:0!important;transform:none!important;display:flex;align-items:center;justify-content:center}
.jmc-modern-catalog .woocommerce-ordering{margin:0!important;float:none!important}
.jmc-modern-catalog .woocommerce-ordering select{height:54px!important;border:1px solid #d9dee5!important;border-radius:10px!important;background:#fff!important;font-size:12px!important;max-width:240px}
.jmc-modern-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:0 0 18px}
.jmc-modern-filters label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:800;color:#626c79}
.jmc-modern-filters select{background:#fff;border:1px solid #dce1e7;border-radius:8px;padding:9px 32px 9px 12px;min-width:190px;height:42px;font-size:13px;color:#202632;font-weight:500}
.jmc-modern-filters button{height:42px;padding:0 20px;background:#1c2330;color:#fff;font-weight:700;border-radius:8px;border:0;font-size:13px;cursor:pointer}
.jmc-modern-reset{font-size:12px;color:#68717d;text-decoration:underline;padding:12px}
.jmc-modern-catalog .woocommerce-result-count{float:none!important;font-size:12px!important;color:#77808c!important;margin:0 0 14px!important}
.jmc-modern-catalog ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:0!important;padding:0!important}
.jmc-modern-catalog ul.products:before,.jmc-modern-catalog ul.products:after{display:none!important}
.jmc-modern-catalog ul.products li.product{width:auto!important;float:none!important;margin:0!important;padding:16px!important;display:flex!important;flex-direction:column!important;background:white!important;border:1px solid #e2e5e9!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden!important;transition:border-color .2s,box-shadow .2s;text-align:left!important;min-width:0!important}
.jmc-modern-catalog ul.products li.product:hover{border-color:#b9c1cd!important;box-shadow:0 6px 22px #17212f0a!important}
.jmc-modern-catalog ul.products li.product a.woocommerce-loop-product__link{display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important;color:inherit!important}
.jmc-modern-catalog ul.products li.product .jmc-loop-photo-stage{height:190px!important;width:100%!important;min-height:190px!important;background:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px!important;margin:0 0 15px!important;border:0!important;position:relative!important;overflow:hidden!important}
.jmc-modern-catalog ul.products li.product .jmc-loop-photo-stage img{width:100%!important;height:100%!important;max-height:174px!important;object-fit:contain!important;margin:0!important}
.jmc-modern-catalog .jmc-modern-brand{font-size:10px!important;letter-spacing:1px!important;text-transform:uppercase;color:#747e8b;font-weight:800;line-height:1.5;margin-bottom:4px}
.jmc-modern-catalog ul.products li.product .woocommerce-loop-product__title{display:block!important;font-family:Manrope,Arial,sans-serif!important;font-size:22px!important;font-weight:800!important;letter-spacing:-.5px!important;line-height:1.25!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0 0 7px!important;padding:0!important;color:#1c2330!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;-webkit-line-clamp:unset!important}
.jmc-modern-type{font-size:13px;font-weight:700;line-height:1.5;color:#394454;margin-bottom:5px}
.jmc-modern-application{font-size:12px;line-height:1.65;min-height:60px;color:#707986;overflow-wrap:anywhere}
.jmc-modern-details{font-size:11px;color:#515c6c;font-weight:700;margin:10px 0 15px}
.jmc-modern-catalog ul.products li.product .price{margin:0 0 13px!important;padding:0!important;background:none!important;border:0!important;min-height:0!important;color:#111111!important;font-size:23px!important;font-weight:800!important;line-height:1.35!important}
body.jmc-modern-catalog #main ul.products li.product .price,body.jmc-modern-catalog #main ul.products li.product .price .woocommerce-Price-amount,body.jmc-modern-catalog #main ul.products li.product .price .woocommerce-Price-amount bdi,body.jmc-modern-catalog #main ul.products li.product .price .woocommerce-Price-currencySymbol{color:#111111!important}
.jmc-modern-catalog ul.products li.product .jmc-loop-cart{display:flex!important;align-items:stretch!important;gap:8px!important;width:100%!important;margin-top:12px!important}
.jmc-modern-catalog ul.products li.product .jmc-loop-cart .quantity{flex:0 0 58px!important;width:58px!important;margin:0!important}
.jmc-modern-catalog ul.products li.product .jmc-loop-cart input.qty{width:58px!important;height:44px!important;border:1px solid #d6dce4!important;border-radius:8px!important;padding:5px!important;background:#fff!important;font-size:15px!important;color:#202632!important}
.jmc-modern-catalog ul.products li.product .jmc-loop-cart button{flex:1!important;width:auto!important;min-width:0!important;margin:0!important;background:#cf1833!important;color:#fff!important;border:0!important;border-radius:8px!important;padding:10px 8px!important;line-height:1.3!important;font-size:12px!important;font-weight:800!important;min-height:44px!important}
.jmc-modern-catalog ul.products li.product>.jmc-price-review-cta{display:block!important;margin:0!important;border-radius:8px!important;background:#168447!important;color:white!important;font-size:12px!important;padding:13px 8px!important;width:100%!important;text-align:center!important}
.jmc-modern-catalog a:focus-visible,.jmc-modern-catalog button:focus-visible,.jmc-modern-catalog input:focus-visible,.jmc-modern-catalog select:focus-visible{outline:3px solid #377ce3!important;outline-offset:3px!important}
@media(min-width:1000px){.jmc-modern-catalog .jmc-mainnav{gap:18px!important;font-size:12px!important}}
@media(max-width:1050px){.jmc-modern-catalog ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.jmc-modern-catalog .jmc-shell{width:calc(100% - 32px)!important}}
@media(max-width:760px){.jmc-modern-catalog ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.jmc-modern-catalog .jmc-catalog-tools{flex-direction:column;align-items:stretch}.jmc-modern-catalog .woocommerce-ordering select{width:100%;max-width:none}.jmc-modern-intro h1{font-size:27px}.jmc-modern-catalog .jmc-nav{min-height:68px!important}.jmc-modern-catalog .jmc-logo-img{width:58px!important;height:58px!important}.jmc-modern-catalog ul.products li.product{padding:12px!important}.jmc-modern-catalog ul.products li.product .jmc-loop-photo-stage{height:145px!important;min-height:145px!important}.jmc-modern-catalog ul.products li.product .woocommerce-loop-product__title{font-size:19px!important}.jmc-modern-filters label{flex:1;min-width:130px}.jmc-modern-filters select{width:100%;min-width:0}.jmc-modern-catalog ul.products li.product .jmc-loop-cart{flex-wrap:wrap}.jmc-modern-catalog ul.products li.product .jmc-loop-cart button{flex-basis:100%!important}.jmc-modern-login{font-size:12px;padding:12px}.jmc-modern-catalog .jmc-shell{width:calc(100% - 24px)!important}}
@media(prefers-reduced-motion:reduce){.jmc-modern-catalog ul.products li.product{transition:none}}
/* Keep the autocomplete field and dropdown as wide as the compact search bar. */
body.jmc-modern-catalog #main .jmc-catalog-tools .jmc-catalog-filter-form{flex:0 1 calc(50% - 129px)!important;width:calc(50% - 129px)!important;min-width:320px!important;max-width:none!important}
body.jmc-modern-catalog #main .jmc-catalog-tools .woocommerce-ordering{margin-left:auto!important}
body.jmc-modern-catalog #main .jmc-filter-search{position:relative!important;width:100%!important;overflow:visible!important}
body.jmc-modern-catalog #main .jmc-filter-search .jmc-autocomplete-wrap{position:static!important;display:block!important;flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:none!important}
body.jmc-modern-catalog #main .jmc-filter-search input[type="search"]{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-width:0!important}
body.jmc-modern-catalog #main .jmc-filter-search .jmc-autocomplete-panel,
body.jmc-modern-catalog #main .jmc-filter-search .jmc-suggestions{position:absolute!important;top:calc(100% + 6px)!important;left:0!important;right:0!important;width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;z-index:9999!important}
@media(max-width:760px){
 body.jmc-modern-catalog #main .jmc-catalog-tools .jmc-catalog-filter-form{flex:1 1 auto!important;width:100%!important;min-width:0!important}
 body.jmc-modern-catalog #main .jmc-catalog-tools .woocommerce-ordering{margin-left:0!important;width:100%!important}
}
