.preview-brand-actions{display:none}
.preview-aligned-shoe{display:none}
.preview-extra-series{display:none!important}
@media(max-width:650px), (max-width:1180px) and (orientation:portrait){
 #brandDirectory:has(>.is-featured){height:calc(100dvh - var(--brand-header-height,68px));min-height:520px}
 #brandDirectory:has(>[data-featured-brand="asics"]){min-height:520px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .series-grid{--preview-series-height:calc(clamp(110px,22dvh,240px)*2 + 96px + clamp(28px,3dvh,40px));--preview-action-gap:clamp(24px,calc((100% - var(--preview-series-height) - 46px)/2),64px);grid-template-rows:minmax(0,min(var(--preview-series-height),calc(100% - 46px - var(--preview-action-gap)))) 46px;row-gap:var(--preview-action-gap);align-content:center;padding-block:0}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .series-grid>.brand-entry,
 #brandDirectory #seriesPreview[data-featured-brand] .brand-switch-controls{display:none}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list{grid-row:1;grid-column:1;grid-template-rows:repeat(2,minmax(0,1fr));height:100%;aspect-ratio:auto;align-self:stretch;gap:clamp(28px,3dvh,40px) 12px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list>.series-tile{justify-content:flex-end;min-height:0;gap:8px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .editorial-media{flex:none;aspect-ratio:auto;height:var(--shoe-height,clamp(110px,22dvh,240px));max-height:calc(100% - 48px);width:100%;overflow:hidden}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand="asics"] .brand-series-list .editorial-media{max-width:400px;align-self:center}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .tile-info{height:40px;padding:0 8px;display:flex;align-items:center}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .tile-info h3{width:100%;min-height:0;font-size:clamp(11px,2.7vw,15px)}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .series-name-link{min-height:36px}
 .editorial-media>.series-static-poster{display:none}
 .editorial-media>.preview-aligned-shoe{display:block;width:min(100%,var(--preview-shoe-width,100%));height:100%;margin-inline:auto;overflow:hidden}

 #brandDirectory:has(>.is-featured)>.brand-tabs.is-compact{height:clamp(80px,12vw,104px);--brand-symbol-height:clamp(34px,6vw,52px);gap:8px;margin-bottom:0;padding:6px 0}
 #brandDirectory .brand-tabs.is-compact button{border:1px solid #e6e6eb;border-radius:8px;padding:8px 3px;background:#fff}
 #brandDirectory .brand-tabs.is-compact button[aria-pressed=true]{border:1.5px solid #202124;background:#f4f4f6}
 #brandDirectory .brand-tabs.is-compact button:focus:not(:focus-visible){outline:none;box-shadow:none}
 #brandDirectory .brand-tabs.is-compact button::before,
 #brandDirectory .brand-tabs.is-compact button::after{display:none}
 #brandDirectory #seriesPreview .preview-brand-actions{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-self:stretch;padding:0 8px;width:100%;max-width:400px;justify-self:center}
 .preview-brand-actions button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 17px;border:1px solid #171717;border-radius:6px;background:#171717;color:#fff;font:500 13px 'DM Sans',sans-serif;cursor:pointer;min-width:0}
 .preview-brand-actions button[data-preview-series]{background:white;border-color:#d8d8df;color:#171717}
 .preview-brand-actions button:hover{opacity:.8}
 .preview-brand-actions button:focus-visible{outline:2px solid #777;outline-offset:3px}
 .preview-brand-actions svg{width:17px;height:17px;flex:none}
 #brandDirectory:has(>[data-featured-brand]){height:calc(100dvh - var(--brand-header-height,68px));min-height:0}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .series-grid{height:100%;grid-template-rows:minmax(0,1fr) 46px;row-gap:clamp(12px,2dvh,24px);padding-block:12px 0}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list{height:100%;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:clamp(8px,1.5dvh,20px)}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .series-tile:is([data-series="jordan-aj11"],[data-series="nike-p-6000"],[data-series="onitsuka-tiger-mexico-66-paraty"]){display:none}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .editorial-media{width:min(100%,360px);height:calc(100% - 48px);max-height:232px;aspect-ratio:auto;align-self:center}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .curated-series .series-name-link{justify-content:center;gap:12px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .curated-series .series-name-link::after{flex:0 0 clamp(40px,10vw,60px)}
 #brandDirectory #seriesPreview[data-featured-brand] .preview-brand-actions button{padding-inline:10px;gap:6px}
 #brandDirectory #seriesPreview .preview-extra-series{display:flex!important}
 #brandDirectory #seriesPreview [data-series="asics-gel-kinsei-max"],
 #brandDirectory #seriesPreview [data-series="nike-air-force-1"],
 #brandDirectory #seriesPreview [data-series="onitsuka-tiger-mexico-66"]{order:-1}
 #brandDirectory #seriesPreview [data-series="nike-air-max"],
 #brandDirectory #seriesPreview [data-series="onitsuka-tiger-delecity"]{order:1}
}

.preview-series-sheet{position:fixed;inset:auto 0 0;width:min(100%,680px);max-width:100%;max-height:min(76dvh,680px);margin:0 auto;padding:0 24px max(20px,env(safe-area-inset-bottom));border:0;border-radius:20px 20px 0 0;background:#fff;color:#171717;overflow:hidden}
.preview-series-sheet[open]{display:flex;flex-direction:column;animation:preview-sheet-up .24s cubic-bezier(.2,.7,.3,1)}
.preview-series-sheet::backdrop{background:#16182055}
.sheet-handle{width:34px;height:4px;flex:none;border-radius:4px;background:#d5d5db;margin:10px auto 18px}
.preview-series-sheet header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 16px;flex:none}
.preview-series-sheet h2{font:600 21px 'DM Sans',sans-serif;margin:0}
.preview-series-sheet header button{height:36px;width:36px;border:0;border-radius:50%;background:#f2f2f5;color:#333;font:26px sans-serif;cursor:pointer}
.preview-series-options{overflow-y:auto;overscroll-behavior:contain;min-height:0}
.preview-series-options a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:14px 2px;border-top:1px solid #ededf1;color:#171717;text-decoration:none;font:500 15px 'DM Sans',sans-serif}
.preview-series-options a:hover{background:#f6f6f8}
.preview-series-options svg{width:18px;height:18px;flex:none}
.preview-series-options a:focus-visible{outline:2px solid #171717;outline-offset:-2px}
@keyframes preview-sheet-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.preview-series-sheet[open]{animation:none}}

/* Six-series brand previews. */
#brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));height:100%;align-self:stretch;aspect-ratio:auto;gap:clamp(8px,1.5dvh,20px) 16px}
#brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list>.series-tile{display:flex;justify-content:center;gap:8px}
#brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .editorial-media{width:min(100%,280px);height:calc(100% - 48px);aspect-ratio:auto;max-height:232px;align-self:center}
#brandDirectory #seriesPreview[data-featured-brand] .editorial-media>.series-static-poster{display:none}
#brandDirectory #seriesPreview[data-featured-brand] .preview-aligned-shoe{display:block;width:min(100%,var(--preview-shoe-width,100%));height:100%;margin-inline:auto}
#brandDirectory #seriesPreview[data-featured-brand] img.preview-aligned-shoe{object-fit:contain}
#brandDirectory #seriesPreview[data-featured-brand] .tile-info{align-self:center}
#brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .tile-info h3{font-size:clamp(14px,2.7vw,16px)}
#brandDirectory #seriesPreview.is-featured[data-featured-brand] .curated-series .series-name{min-width:2.5em}
#brandDirectory #seriesPreview.is-featured[data-featured-brand] .curated-series .series-name-link{justify-content:center;gap:6px}
#brandDirectory #seriesPreview.is-featured[data-featured-brand] .curated-series .series-name-link::after{flex:0 0 clamp(12px,4vw,28px)}

#brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list>.series-tile{order:0}
#brandDirectory #seriesPreview.is-featured[data-featured-brand="asics"] .brand-series-list .tile-info h3{font-size:clamp(12px,2.7vw,15px)}
@media(max-width:420px){#brandDirectory #seriesPreview.is-featured[data-featured-brand="asics"] .curated-series .series-name-link::after{display:none}}

#brandDirectory #seriesPreview.is-featured[data-featured-brand="onitsuka-tiger"] .brand-series-list .tile-info{width:100%;max-width:280px}
#brandDirectory #seriesPreview.is-featured[data-featured-brand="onitsuka-tiger"] .brand-series-list .tile-info h3{font-size:clamp(12px,2.7vw,15px)}
#brandDirectory #seriesPreview.is-featured[data-featured-brand="onitsuka-tiger"] .curated-series .series-name{overflow-wrap:normal}
#brandDirectory #seriesPreview.is-featured[data-featured-brand="onitsuka-tiger"] .curated-series .series-name-link::after{display:none}

@media(min-width:651px) and (orientation:landscape){
 #brandDirectory:has(>[data-featured-brand]){height:calc(100dvh - var(--brand-header-height,68px));min-height:0}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .series-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,min(500px,calc(100% - 196px))) 46px;row-gap:30px;align-content:center;max-width:1100px;padding:0 0 120px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .series-grid>.brand-entry,
 #brandDirectory #seriesPreview[data-featured-brand] .brand-switch-controls{display:none}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list{grid-column:1;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:100%;aspect-ratio:auto;align-self:stretch;gap:40px 24px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list>.series-tile{justify-content:flex-start;min-height:0;gap:8px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .editorial-media{width:min(100%,280px);height:min(150px,calc(100% - 48px));max-height:232px;aspect-ratio:auto;align-self:center;overflow:hidden}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .tile-info{height:40px;padding:0 8px;display:flex;align-items:center}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .brand-series-list .tile-info h3{width:100%;min-height:0}
 #brandDirectory #seriesPreview .preview-brand-actions{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-self:stretch;width:100%;max-width:400px;justify-self:center}
 .preview-brand-actions button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 17px;border:1px solid #171717;border-radius:6px;background:#171717;color:#fff;font:500 13px 'DM Sans',sans-serif;cursor:pointer;min-width:0}
 .preview-brand-actions button[data-preview-series]{background:#fff;border-color:#d8d8df;color:#171717}
 .preview-brand-actions button:hover{opacity:.8}
 .preview-brand-actions button:focus-visible{outline:2px solid #777;outline-offset:3px}
 .preview-brand-actions svg{width:17px;height:17px;flex:none}
 #brandDirectory:has(>.is-featured)>.brand-tabs.is-compact{height:clamp(80px,9svh,104px);--brand-symbol-height:clamp(34px,5svh,52px);gap:8px;margin-bottom:0;padding:6px 0}
 #brandDirectory .brand-tabs.is-compact button{border:1px solid #e6e6eb;border-radius:8px;padding:8px 3px;background:#fff}
 #brandDirectory .brand-tabs.is-compact button[aria-pressed=true]{border:1.5px solid #202124;background:#f4f4f6}
 #brandDirectory .brand-tabs.is-compact button::before,
 #brandDirectory .brand-tabs.is-compact button::after{display:none}
 .preview-series-sheet{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 48px));max-height:min(75dvh,600px);margin:0;padding:24px 28px 28px;border:1px solid #e6e6eb;border-radius:16px;box-shadow:0 24px 80px rgb(0 0 0 / 18%)}
 .preview-series-sheet[open]{animation:none}
 .preview-series-sheet .sheet-handle{display:none}
}
@media(min-width:651px) and (orientation:landscape) and (max-height:650px){
 #brandDirectory:has(>[data-featured-brand]){min-height:720px}
 #brandDirectory #seriesPreview.is-featured[data-featured-brand] .series-grid{grid-template-rows:500px 46px;padding-bottom:40px}
}
