/* Manufacturer identity stays subordinate to the JMX Buy global header. */
.brand-logo-slot{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:26px}
.brand-logo-slot img{display:block;width:auto;height:auto;max-width:36px;max-height:23px;object-fit:contain;filter:grayscale(1) brightness(0)}
.brand-logo-slot.wide img{max-width:39px;max-height:18px}
.brand-logo-slot.tall img{max-height:25px;max-width:20px}
.brand-logo-slot.wordmark img{max-width:44px;max-height:22px}
.brand-logo-slot.retailer img{filter:none;mix-blend-mode:multiply}
.brand-list .brand-logo-slot.wordmark img{max-width:52px;max-height:26px}
.brand-list .brand-logo-slot.retailer img{max-width:42px;max-height:36px}
.brand-logo-slot img[hidden]{display:none}
header.collection-heading{position:static;z-index:auto;display:flex;align-items:center;gap:24px;padding:12px 0 30px;border:0;min-height:118px;background:#fff}
.collection-heading>.brand-logo-slot{width:76px;height:58px}
.collection-heading>.brand-logo-slot:empty{display:none}
.collection-heading>.brand-logo-slot img{max-width:70px;max-height:46px}
.collection-heading>.brand-logo-slot.wide img{max-height:32px}
.collection-heading>.brand-logo-slot.tall img{max-height:46px}
.collection-heading h1{font-size:44px;letter-spacing:-1.5px;line-height:1.1}
.collection-heading p{margin-top:9px;color:#666;font-size:14px}
.collection-count{margin-left:auto;font-size:14px;color:#555;white-space:nowrap;font-variant-numeric:tabular-nums}
.category-links{overflow-x:auto;scroll-padding:4px;padding-inline:4px;margin-inline:-4px}
.category-links a{min-height:48px;display:inline-flex;align-items:center;flex-shrink:0}
.category-links a:focus-visible{outline-offset:-3px}
.product-meta{min-height:26px;align-items:center;margin-top:12px;margin-bottom:7px;gap:8px}
.manufacturer{display:flex;align-items:center;gap:8px;min-width:0;color:#555;font-size:12px}
.manufacturer .brand-logo-slot{width:34px;height:20px}
.manufacturer .brand-logo-slot img{max-width:28px;max-height:16px}
.manufacturer .brand-logo-slot.wide img{max-width:30px;max-height:13px}
.manufacturer .brand-logo-slot.tall img{max-height:19px;max-width:12px}
.manufacturer .brand-logo-slot.wordmark img{max-width:30px;max-height:16px}
.brand-strip>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;padding-top:22px}
.brand-strip-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;min-height:86px;padding:6px}
.brand-strip-link:hover{background:#f7f7f7}
.brand-strip-link>.brand-logo-slot{width:88px;height:42px}
.brand-strip-link>.brand-logo-slot img{max-width:68px;max-height:38px}
.brand-strip-link>.brand-logo-slot.wide img{max-width:76px;max-height:28px}
.brand-strip-link>.brand-logo-slot.tall img{max-width:22px;max-height:40px}
.brand-strip-name{font-size:12px;color:#555;letter-spacing:0;font-weight:400;font-style:normal}
.product-title,.catalog-grid .product-title{min-height:2.8em;margin-bottom:7px}
.product-visual{background:#fff;border:1px solid #eee}
.product-visual .photo-frame,.product-visual .photo-crop>img,.product-visual .photo-frame>img{mix-blend-mode:normal!important}
.product-visual .photo-frame{inset:0;background:var(--photo-background,#fff)}
.product-visual .photo-frame .photo-crop{overflow:visible;width:min(84cqw,calc(84cqh * var(--subject-ratio)));height:min(84cqh,calc(84cqw / var(--subject-ratio)))}
/* Extend only sampled light studio backgrounds; the source photograph paints above this. */
.product-visual .photo-crop::before{content:"";position:absolute;left:calc(50% - 50cqw);width:100cqw;top:calc(-100% * var(--frame-y) / var(--frame-h));height:calc(100% / var(--frame-h));background-image:var(--photo-edge-gradient,none)}
.product-visual .photo-frame[data-photo-group="footwear"] .photo-crop{bottom:19%;width:min(84cqw,calc(64cqh * var(--subject-ratio)));height:min(64cqh,calc(84cqw / var(--subject-ratio)))}
.product-visual .photo-frame.unframed>img{padding:8%}
/* Exclusive visibility avoids superimposed transparent photographs, even mid-interaction. */
.product-visual .photo-frame.primary{visibility:visible;opacity:1;transition:none}
.product-visual .photo-frame.alternate,.product-visual:hover .photo-frame.alternate{visibility:hidden;opacity:1;transition:none}
.product-visual[data-alternate-ready].preview-alternate .primary,
.product-visual[data-alternate-ready]:has(.product-photo-link:focus-visible) .primary{visibility:hidden}
.product-visual[data-alternate-ready].preview-alternate .alternate,
.product-visual[data-alternate-ready]:has(.product-photo-link:focus-visible) .alternate{visibility:visible}
.product-photo-link:focus-visible{outline-offset:-4px;outline:2px solid #111}
.product-visual:has(:focus-visible){outline:2px solid #111;outline-offset:3px}
.image-preview{position:absolute;left:5px;bottom:5px;width:44px;height:44px;background:#fff;border:1px solid #ddd;display:none;align-items:center;justify-content:center}
.product-visual[data-alternate-ready] .image-preview{display:flex}
.image-preview .icon{width:18px;height:18px}
.image-preview[aria-pressed="true"]{background:#111;color:#fff;border-color:#111}
.wish-button{width:44px;height:44px}
@media(hover:hover) and (pointer:fine){
 .product-visual[data-alternate-ready]:has(.product-photo-link:hover) .primary{visibility:hidden}
 .product-visual[data-alternate-ready]:has(.product-photo-link:hover) .alternate{visibility:visible}
}
.panel-brands{width:min(100%,500px)}
.brands-body{padding:22px 28px}
.brand-search{display:flex;align-items:center;gap:12px;border:1px solid #ccc;padding:0 14px;min-height:48px}
.brand-search input{border:0;background:transparent;min-width:0;width:100%;font-size:16px;height:46px;outline-offset:0}
.brand-search .icon{width:18px;height:18px}
.brand-search-status{font-size:12px;color:#666;margin:13px 0 10px;min-height:19px}
.brand-list>a{display:grid;grid-template-columns:58px minmax(0,1fr) auto 20px;gap:12px;align-items:center;min-height:76px;border-bottom:1px solid #e5e5e5;padding:12px 4px}
.brand-list>a[hidden]{display:none}
.brand-list>a>.brand-logo-slot{width:58px}
.brand-list>a>.brand-name{font-size:17px;font-weight:500;line-height:1.25}
.brand-list>a>small{font-size:13px;color:#555;white-space:nowrap;font-variant-numeric:tabular-nums}
.brand-list>a>.icon{width:18px;height:18px}
.brand-list>a:hover{background:#f7f7f7}
.brand-list>a[aria-current="page"]{background:#f5f5f5}
.brand-list>a:focus-visible{outline-offset:-2px}
#brand-empty{padding-block:24px;color:#555}
@media(max-width:767px){
 .brand-strip>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 8px}
 .brand-strip-link>.brand-logo-slot{width:76px}
 .brand-strip-link>.brand-logo-slot img{max-width:58px;max-height:32px}
 .brand-strip-link>.brand-logo-slot.wide img{max-width:64px;max-height:24px}
 .brand-strip-link>.brand-logo-slot.tall img{max-width:20px;max-height:36px}
 header.collection-heading{gap:17px;min-height:112px;padding:8px 0 23px;flex-wrap:wrap}
 .collection-heading>.brand-logo-slot{width:56px;height:42px}
 .collection-heading>.brand-logo-slot img{max-width:52px;max-height:35px}
 .collection-heading>.brand-logo-slot.wide img{max-height:25px}
 .collection-heading h1{font-size:34px;letter-spacing:-1px}
 .collection-heading p{font-size:13px;margin-top:6px;max-width:250px;line-height:1.4}
 .collection-count{flex-basis:100%;margin:0;font-size:13px}
 .collection-heading>.brand-logo-slot+div+.collection-count{padding-left:73px;margin-top:-6px}
 .product-meta,.catalog-grid .product-meta{min-height:22px;margin-top:9px;margin-bottom:6px}
 .manufacturer{font-size:11px;gap:6px}
 .manufacturer .brand-logo-slot{width:30px}
 .product-title,.catalog-grid .product-title{font-size:14px}
 .product-availability{min-height:2.9em;margin-top:7px}
 .brands-body{padding:18px 20px}
 .brand-list>a{grid-template-columns:46px minmax(0,1fr) auto 18px;gap:10px;min-height:74px}
 .brand-list>a>.brand-logo-slot{width:46px}
 .brand-list>a>.brand-name{font-size:16px}
 .brand-list>a>small{font-size:12px}
 .brand-list>a>small>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
