/* v53 — catalog sidebar and product cards, isolated from the homepage. */
.commerce-layout .commerce-filters{min-width:0}
.commerce-taxonomy-v53{margin:0 0 20px;min-width:0}
.commerce-taxonomy-v53__heading{font-size:16px;font-weight:750;color:#14232e;margin:0 0 10px}
.commerce-taxonomy-v53__all,.commerce-taxonomy-v53__line>a{color:#243644;text-decoration:none;font-weight:600;font-size:13px;line-height:1.4}
.commerce-taxonomy-v53__all{display:flex;justify-content:space-between;padding:11px 10px;border-radius:6px;background:#f7f8fa;margin-bottom:5px}
.commerce-taxonomy-v53__item{position:relative;border-bottom:1px solid #e9edf0}
.commerce-taxonomy-v53__line{display:flex;min-height:43px;align-items:center;gap:5px}
.commerce-taxonomy-v53__line>a{flex:1;min-width:0;overflow-wrap:anywhere;padding:10px 0}
.commerce-taxonomy-v53__toggle{appearance:none;border:0;background:transparent;color:#526270;cursor:pointer;width:32px;height:36px;flex:0 0 32px;display:grid;place-items:center;border-radius:5px}
.commerce-taxonomy-v53__toggle:hover,.commerce-taxonomy-v53__toggle:focus-visible{background:#fff0e8;color:#e85c1b;outline-offset:2px}
.commerce-taxonomy-v53__subnav{display:none;padding:3px 0 10px 12px;border-left:2px solid #ff6b20;margin-left:6px}
.commerce-taxonomy-v53__subnav a{display:block;padding:7px 8px;font-size:12.5px;line-height:1.4;color:#43515e;text-decoration:none;border-radius:4px;overflow-wrap:anywhere}
.commerce-taxonomy-v53__item:hover>.commerce-taxonomy-v53__subnav,.commerce-taxonomy-v53__item:focus-within>.commerce-taxonomy-v53__subnav,.commerce-taxonomy-v53__subnav[data-open="true"]{display:block}
.commerce-taxonomy-v53__item.is-current>.commerce-taxonomy-v53__line>a,.commerce-taxonomy-v53__subnav a[aria-current],.commerce-taxonomy-v53__all.is-current{color:#e65b1b;font-weight:750}
.commerce-taxonomy-v53__line>a:hover,.commerce-taxonomy-v53__subnav a:hover{color:#e65b1b;background:#fff5ef}
/* Explicitly constrain the media, regardless of earlier product-card selectors. */
.commerce-layout .commerce-products:not(.commerce-products--list){align-items:stretch}
.commerce-layout .commerce-products .product-card{min-width:0;height:100%;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.commerce-layout .commerce-products .product-card__image{box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:205px;min-height:205px;max-height:205px;overflow:hidden;padding:14px;background:#fafbfc;flex:0 0 205px}
.commerce-layout .commerce-products .product-card__image img{position:static!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0;min-height:0;object-fit:contain!important;object-position:center}
.commerce-layout .commerce-products .product-card__body{display:flex;flex:1;min-width:0;flex-direction:column;padding:15px;gap:0}
.commerce-layout .commerce-products .product-card__body>small{display:block;font-size:10.5px;line-height:1.4;min-height:28px}
.commerce-layout .commerce-products .product-card h2{font-size:15px;line-height:1.45;min-height:44px;max-height:none;margin:4px 0 10px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}
.commerce-layout .commerce-products .product-card__details{display:block;flex:1;min-height:75px;margin:0;padding:10px 0;border-top:1px solid #ecedef}
.commerce-layout .commerce-products .product-card__specs{display:grid;gap:6px;margin:0}
.commerce-layout .commerce-products .product-card__specs>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding-bottom:6px;align-items:start;font-size:12px;line-height:1.4}
.commerce-layout .commerce-products .product-card__specs dt{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;color:#63727d}
.commerce-layout .commerce-products .product-card__specs dd{white-space:normal;overflow-wrap:anywhere;font-weight:650;text-align:right;color:#14232e;margin:0}
.commerce-layout .commerce-products .product-card__bottom{margin-top:auto;padding-top:12px;min-height:52px;display:flex;align-items:center;gap:8px;justify-content:space-between;border-top:1px solid #e5e9ec}
.commerce-layout .commerce-products .product-card__bottom strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.commerce-layout .commerce-products .product-card__bottom a{white-space:nowrap;flex:none}
/* List toggle remains functional rather than inheriting grid dimensions. */
.commerce-layout .commerce-products.commerce-products--list .product-card{display:grid;grid-template-columns:155px minmax(0,1fr);height:auto}
.commerce-layout .commerce-products.commerce-products--list .product-card__image{height:100%;min-height:170px;max-height:none;flex:auto}
@media(max-width:1100px){.commerce-layout .commerce-products .product-card__image{height:180px;min-height:180px;max-height:180px;flex-basis:180px}}
@media(max-width:760px){.commerce-taxonomy-v53__item:hover>.commerce-taxonomy-v53__subnav{display:none}.commerce-taxonomy-v53__item:focus-within>.commerce-taxonomy-v53__subnav,.commerce-taxonomy-v53__subnav[data-open="true"]{display:block}.commerce-layout .commerce-products .product-card__image{height:170px;min-height:170px;max-height:170px;flex-basis:170px}}
@media(max-width:560px){.commerce-layout .commerce-products .product-card__image{height:150px;min-height:150px;max-height:150px;flex-basis:150px;padding:9px}.commerce-layout .commerce-products .product-card__body{padding:11px}.commerce-layout .commerce-products .product-card h2{font-size:13px;min-height:0}.commerce-layout .commerce-products .product-card__bottom{flex-wrap:wrap}}
@media(max-width:390px){.commerce-layout .commerce-products:not(.commerce-products--list) .product-card{display:flex;flex-direction:column}.commerce-layout .commerce-products .product-card__image{height:200px;min-height:200px;max-height:200px;flex-basis:200px}}


/* v56: compact horizontal cards in list mode. Scoped to catalog results only. */
.commerce .commerce-toolbar{justify-content:flex-start;align-items:flex-end;gap:12px}
.commerce .commerce-toolbar .commerce-toolbar__field--sort{flex:0 1 220px;min-width:180px}
.commerce .commerce-toolbar .commerce-views{flex:0 0 auto;width:auto;max-width:max-content;align-self:flex-end}
.commerce .commerce-toolbar .commerce-views button{min-width:86px}
.commerce-layout .commerce-products.commerce-products--list{display:flex;flex-direction:column;gap:12px}
.commerce-layout .commerce-products.commerce-products--list .product-card{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;min-height:185px;height:auto!important;align-items:stretch;overflow:hidden}
.commerce-layout .commerce-products.commerce-products--list .product-card__image{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:190px!important;height:100%!important;min-height:185px!important;max-height:none!important;flex:none!important;padding:14px!important;background:#fafbfc}
.commerce-layout .commerce-products.commerce-products--list .product-card__image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:170px!important;object-fit:contain!important;object-position:center}
.commerce-layout .commerce-products.commerce-products--list .product-card__body{display:grid!important;grid-template-columns:minmax(0,1fr) 170px;grid-template-rows:auto auto minmax(0,1fr);column-gap:20px;row-gap:7px;min-width:0;padding:16px 18px!important;align-content:start}
.commerce-layout .commerce-products.commerce-products--list .product-card__body>small{grid-column:1;grid-row:1;min-height:0!important;margin:0;font-size:11px}
.commerce-layout .commerce-products.commerce-products--list .product-card h2{grid-column:1;grid-row:2;margin:0!important;min-height:0!important;line-height:1.35;font-size:17px;-webkit-line-clamp:2}
.commerce-layout .commerce-products.commerce-products--list .product-card__details{grid-column:1;grid-row:3;min-height:0!important;margin:2px 0 0!important;padding:8px 0 0!important;align-self:start;max-width:520px}
.commerce-layout .commerce-products.commerce-products--list .product-card__specs{gap:3px}
.commerce-layout .commerce-products.commerce-products--list .product-card__specs>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr);font-size:12px;padding-bottom:4px}
.commerce-layout .commerce-products.commerce-products--list .product-card__bottom{grid-column:2;grid-row:1 / 4;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:14px;margin:0!important;padding:4px 0 4px 18px!important;min-height:0!important;border-top:0!important;border-left:1px solid #edf0f2;text-align:left}
.commerce-layout .commerce-products.commerce-products--list .product-card__bottom strong{font-size:18px;line-height:1.3}
.commerce-layout .commerce-products.commerce-products--list .product-card__bottom a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:38px;width:100%;box-sizing:border-box}
@media(max-width:960px){
 .commerce-layout .commerce-products.commerce-products--list .product-card{grid-template-columns:155px minmax(0,1fr)!important}
 .commerce-layout .commerce-products.commerce-products--list .product-card__image{width:155px!important;min-height:160px!important}
 .commerce-layout .commerce-products.commerce-products--list .product-card__body{grid-template-columns:minmax(0,1fr) 135px;column-gap:12px;padding:12px!important}
 .commerce-layout .commerce-products.commerce-products--list .product-card__bottom{padding-left:12px!important}
}
@media(max-width:650px){
 .commerce .commerce-toolbar .commerce-toolbar__field--sort{flex:1 1 140px;min-width:130px}
 .commerce-layout .commerce-products.commerce-products--list .product-card{grid-template-columns:118px minmax(0,1fr)!important;min-height:150px}
 .commerce-layout .commerce-products.commerce-products--list .product-card__image{width:118px!important;min-height:150px!important;padding:8px!important}
 .commerce-layout .commerce-products.commerce-products--list .product-card__body{display:flex!important;flex-direction:column;gap:7px;padding:11px!important}
 .commerce-layout .commerce-products.commerce-products--list .product-card h2{font-size:14px}
 .commerce-layout .commerce-products.commerce-products--list .product-card__details{padding-top:6px!important;margin:0!important}
 .commerce-layout .commerce-products.commerce-products--list .product-card__specs>div{font-size:11px}
 .commerce-layout .commerce-products.commerce-products--list .product-card__bottom{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:10px 0 0!important;border-left:0!important;border-top:1px solid #edf0f2!important;gap:8px;margin-top:auto!important}
 .commerce-layout .commerce-products.commerce-products--list .product-card__bottom strong{font-size:14px}
 .commerce-layout .commerce-products.commerce-products--list .product-card__bottom a{width:auto;min-height:34px;padding:0 9px}
}
@media(max-width:390px){.commerce-layout .commerce-products.commerce-products--list .product-card{grid-template-columns:98px minmax(0,1fr)!important}.commerce-layout .commerce-products.commerce-products--list .product-card__image{width:98px!important}.commerce-layout .commerce-products.commerce-products--list .product-card__body{padding:9px!important}}
