@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #101120;
  --muted: #555666;
  --paper: #f8f8fc;
  --white: #ffffff;
  --line: #dcdde8;
  --cobalt: #2549c6;
  --powder: #b9d4ff;
  --coral: #f3b199;
  --lilac: #eee6fb;
  --violet: #583783;
  --focus: var(--cobalt);
  --error: #991d32;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --shell: 1360px;
  font-family: var(--body);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { width: 100%; height: auto; display: block; }
p { line-height: 1.55; }
h1, h2, h3, p { margin-top: 0; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 8px; left: 12px; transform: translateY(-150%); z-index: 5; background: var(--powder); padding: 10px 18px; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--paper); }
.masthead {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2.2vw, 32px);
  align-items: center;
}
.masthead .wordmark { gap: 10px; }
.masthead .header-search { width: min(100%, 600px); justify-self: center; }
.masthead .header-sell { min-height: 44px; padding-inline: 12px; border-radius: 8px; background: var(--white); border-color: var(--line); color: var(--ink); font-size: .84rem; }
.masthead .header-sell:hover { background: #eef0f9; filter: none; }
.wordmark { display: inline-flex; gap: 9px; align-items: center; width: max-content; min-height: 44px; }
.brand-monogram, .brand-name { position: relative; display: block; overflow: hidden; flex: none; mix-blend-mode: multiply; }
.brand-monogram { width: 33px; aspect-ratio: 1143 / 519; }
.brand-name { width: clamp(125px, 15vw, 188px); }
.brand-monogram img { display: block; width: 100%; height: auto; }
.brand-name img { display: block; width: 100%; height: auto; }
.header-search { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 3px 3px 3px 12px; border: 1px solid #c5cee3; border-radius: 7px; background: var(--white); color: var(--ink); }
.header-search:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 2px var(--cobalt); }
.header-search-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: #121a30; color: #fbefdf; font: inherit; font-size: .875rem; font-weight: 750; white-space: nowrap; cursor: pointer; }
.header-search-submit:hover { background: #283554; }
.header-search-submit:focus-visible { outline: 2px solid white; outline-offset: -4px; }
.header-search input { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 1rem; }
.header-search input::placeholder { color: #4e5670; opacity: 1; }
.header-helix-mark { display: block; flex: none; width: 22px; height: 38px; }
@keyframes helix-original-twirl {
  0%, 100% { transform: perspective(110px) rotateY(-27deg) rotateZ(-5deg); }
  50% { transform: perspective(110px) rotateY(27deg) rotateZ(5deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .header-search[data-helix-thinking] .header-helix-mark,
  .helix-answer[aria-busy="true"] .helix-panel-mark svg {
    animation: helix-original-twirl 1.65s ease-in-out infinite;
    transform-origin: center;
  }
}
.account-link svg { width: 21px; height: 21px; flex: none; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.header-actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
.account-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .9rem; font-weight: 700; }
.account-link:hover, .market-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { min-height: 43px; border: 1px solid transparent; border-radius: 4px; padding: 10px 18px; font-size: .94rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; white-space: normal; line-height: 1.3; }
.button:hover { filter: brightness(.93); }
.button-dark { background: var(--ink); color: var(--white); }
.button-primary { background: var(--cobalt); color: var(--white); }
.button-outline { background: transparent; border-color: currentColor; color: inherit; }
.button-secondary { background: #eeedf8; border-color: var(--line); }
.button[disabled] { opacity: .58; cursor: not-allowed; filter: none; }
.header-sell { white-space: nowrap; }
.market-layout { display: grid; grid-template-columns: 176px minmax(0, 1fr); }
.market-layout > main { min-width: 0; }
.market-rail { background: var(--white); border-right: 1px solid var(--line); }
.market-nav { display: grid; align-content: start; gap: 4px; padding: 20px 12px; }
.market-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; font-size: .9rem; font-weight: 700; }
.market-nav a[data-category=""] { --category-ink: #344463; }
.market-nav a[href="/trending"] { --category-ink: #922b54; }
.market-nav a[aria-current="page"] { color: var(--white); background: var(--category-ink, var(--ink)); }
.market-nav a:focus-visible { outline: 2px solid var(--category-ink, var(--ink)); outline-offset: 2px; }
@media (min-width: 861px) {
  .market-nav { position: sticky; top: 16px; }
}
@media (max-width: 860px) {
  .market-layout { grid-template-columns: minmax(0, 1fr); }
  .market-rail { background: var(--paper); border-right: 0; border-bottom: 1px solid var(--line); }
  .market-nav {
    display: flex;
    gap: 4px;
    width: calc(100% - 96px);
    margin-inline: auto;
    padding: 4px 3px 6px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .market-nav a {
    flex: none;
    min-height: 44px;
    padding: 6px 10px;
    font-size: .82rem;
    white-space: nowrap;
  }

}
[data-category="sneakers"] { --category-surface: #dee8fb; --category-ink: #2747a3; }
[data-category="accessories"] { --category-surface: #dcefe9; --category-ink: #17625b; }
[data-category="apparel"] { --category-surface: #f9e4da; --category-ink: #853520; }
[data-category="sports-cards"] { --category-surface: var(--lilac); --category-ink: var(--violet); }
.hero { --focus: var(--powder); color: var(--white); background: radial-gradient(ellipse at 90% 65%, #102e50 0, #071529 48%, #050b18 78%); }
.hero-inner { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(400px, 43vw, 570px); padding-block: 42px; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: auto;
  max-width: 54%;
  aspect-ratio: 23 / 25;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 96%, transparent);
}
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-copy { width: min(54%, 590px); }
.hero h1 { margin-bottom: 17px; font: 900 clamp(3.3rem, 7.4vw, 7.8rem) / .87 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.hero h1 span { color: var(--powder); display: block; }
.hero p { color: #ececf2; font-size: clamp(1rem, 1.45vw, 1.14rem); max-width: 37ch; margin-bottom: 22px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .button { min-height: 48px; padding-inline: 19px; border-radius: 7px; }
.hero-actions .button-primary { background: var(--powder); color: var(--ink); }
.hero-actions .button-outline { background: #071529; border-color: #95caff; color: var(--white); }
.marketplace { padding-block: 58px 66px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head h1, .section-head h2, .display-title { font: 900 clamp(2.8rem, 5.4vw, 5.3rem) / .9 var(--display); text-transform: uppercase; letter-spacing: -.005em; margin-bottom: 0; }
.section-head p { color: var(--muted); margin: 8px 0 0; }
.section-head .text-link { margin-bottom: 4px; }
.text-link { font-size: .94rem; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.catalog-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 22px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
@media (max-width: 860px) {
  .catalog-toolbar .filter-tabs { display: none; }
}
.pill { border: 1px solid var(--line); border-radius: 4px; min-height: 38px; display: inline-flex; justify-content: center; align-items: center; padding: 4px 13px; font-weight: 700; font-size: .88rem; }
.filter-tabs .pill:not(.pill-active) { background: var(--category-surface, var(--paper)); color: var(--category-ink, var(--ink)); }
.pill:hover { border-color: var(--ink); }
.pill-active { border-color: var(--category-ink, var(--ink)); background: var(--category-ink, var(--ink)); color: var(--white); }
.sort-box { display: flex; align-items: center; gap: 9px; font-size: .9rem; }
.sort-box label { color: var(--muted); font-weight: 600; }
.sort-box select { min-height: 38px; font-size: .88rem; }
select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23101120' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center / 12px 8px no-repeat;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 30px 7px 11px;
}
.item-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.item-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; min-width: 0; transition: border-color .16s, transform .16s; }
.item-card:hover { border-color: var(--category-ink, var(--cobalt)); transform: translateY(-3px); }
.item-card:focus-visible { outline-offset: 3px; }
.item-media { display: grid; place-items: center; aspect-ratio: 4 / 3; position: relative; background: transparent; isolation: isolate; color: var(--category-ink, var(--cobalt)); overflow: hidden; }
.item-media img { width: 100%; height: 100%; padding: 4%; object-fit: contain; object-position: center; position: absolute; inset: 0; z-index: 1; }
.item-card .item-media, .product-page .product-image, .product-photo-dialog img { background: var(--white); }
.item-media:not(.item-fallback) .category-illustration { visibility: hidden; }
.category-illustration { width: min(40%, 145px); opacity: .35; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.item-card-body { flex: 1; padding: 16px; display: flex; flex-direction: column; align-items: start; gap: 5px; }
.eyebrow { margin: 0 0 6px; font-size: .78rem; letter-spacing: .075em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.item-card .eyebrow { color: var(--category-ink, var(--muted)); margin: 0; }
.product-taxonomy { overflow-wrap: anywhere; }
.product-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.market-badge { display: inline-block; border-radius: 999px; padding: 2px 7px; font-size: .75rem; font-weight: 800; background: #eee5ff; color: #4b2b79; }
.market-badge[data-market-label="popular"] { background: #dce8f9; color: #204569; }
.item-card h3 { margin: 0; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.3; font-weight: 800; }
.item-subtitle { margin: 0 0 14px; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.item-card .item-subtitle { margin: 0; overflow-wrap: anywhere; }
.price-line { margin-top: auto; padding-top: 6px; display: flex; width: 100%; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.price-line small { font-size: .78rem; color: var(--muted); }
.price-line strong { font-size: 1.15rem; line-height: 1; display: block; }
.state-message { grid-column: 1 / -1; color: var(--muted); padding-block: 12px; }
.state-message a { text-decoration: underline; }
.catalog-note { font-size: .86rem; color: var(--muted); margin: 18px 0 0; }
.seller-band { padding-block: 40px; background: var(--coral); }
.seller-band .shell { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.seller-band h2 { font: 900 clamp(2.3rem, 4.8vw, 4rem) / .9 var(--display); text-transform: uppercase; margin-bottom: 5px; }
.seller-band p { margin: 0; }
.site-footer { --focus: var(--powder); background: var(--ink); color: var(--paper); margin-top: auto; }
.site-footer .brand-monogram, .site-footer .brand-name { filter: invert(1); mix-blend-mode: screen; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 25px; min-height: 112px; padding-block: 24px; }
.footer-top nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: .9rem; }
.footer-market { color: #ceced8; font-size: .86rem; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.page { padding-block: 38px 66px; }
.breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.product-overview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: stretch; gap: clamp(20px, 5vw, 72px); margin-bottom: 45px; }
.product-figure { margin: 0; min-width: 0; }
.product-figure figcaption { color: var(--muted); font-size: .82rem; margin-top: 7px; }
.product-image { border: 1px solid var(--line); border-radius: 8px; }
.product-info { align-self: start; }
.product-info .display-title { margin-bottom: 13px; }
.product-info .item-subtitle { font-size: 1rem; }
.product-info p { color: var(--muted); }
.variant-field { margin-block: 20px 17px; }
.variant-field select { width: min(100%, 360px); }
.product-price { display: block; font-size: 1.55rem; line-height: 1.25; margin-bottom: 4px; }
.product-price-note { margin-bottom: 0; }
.product-buy { margin-top: 16px; width: min(100%, 360px); }
.product-sell { margin-block: 13px 0; }
.note { color: var(--muted); font-size: .92rem; }
.notice { border: 1px solid #cbdaf8; background: #e8efff; padding: 11px 14px; border-radius: 4px; color: #293f78; margin-block: 14px; line-height: 1.45; }
.error-message { color: var(--error); margin: 10px 0; font-weight: 700; line-height: 1.4; }
.panel { background: var(--white); padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: 6px; }
.narrow { max-width: 640px; }
.columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, .68fr); gap: clamp(16px, 4vw, 56px); align-items: start; }
.columns > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.field > label { font-size: .93rem; font-weight: 800; }
.field input, .field select, .field textarea { border: 1px solid #bfc4d7; border-radius: 4px; min-height: 43px; background-color: var(--white); padding: 8px 10px; width: 100%; }
.field select { padding-right: 32px; }
.field textarea { min-height: 95px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field-grid-3 { grid-template-columns: 1.4fr .9fr .9fr; }
.field small { color: var(--muted); line-height: 1.4; }
.panel h2 { font: 800 2.1rem / 1 var(--display); margin-bottom: 16px; }
.panel .button-full { width: 100%; margin-top: 5px; }
.portfolio-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.portfolio-header .display-title, .checkout-header .display-title { margin-bottom: 0; }
.checkout-header { margin-bottom: 23px; }
.checkout-summary h2 { margin-bottom: 9px; }
.summary-list { display: grid; gap: 10px; margin: 18px 0 0; }
.summary-list div { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.summary-list .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 2px; }
.summary-list .total dt { color: var(--ink); font-weight: 800; }
.stack { display: grid; gap: 9px; }
.stack-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.stack-item:last-child { border-bottom: 0; }
.stack-item p { margin: 2px 0 6px; color: var(--muted); font-size: .88rem; }
.stack-item .button { min-height: 36px; padding: 5px 9px; font-size: .84rem; }
.inline-action { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-action .button { white-space: normal; }
.order-note { margin-block: 16px; }
.account-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.status-label { color: var(--violet); background: var(--lilac); padding: 2px 6px; border-radius: 3px; font-size: .81rem; font-weight: 800; white-space: nowrap; }
@media (max-width: 980px) {
  .shell { width: calc(100% - 48px); }
  .item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-block: 10px; }
  .masthead .header-search { width: 100%; }
  .header-search { grid-column: 1 / -1; grid-row: 3; gap: 6px; padding-inline-start: 9px; }
  .header-search-submit { padding-inline: 9px; }
  .header-actions { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
  .header-actions .header-sell { margin-inline-start: auto; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .market-nav { width: calc(100% - 32px); }
  .wordmark { gap: 7px; }
  .brand-monogram { width: 28px; }
  .account-link { min-height: 40px; }
  .account-link .account-label { display: none; }
  .masthead .header-sell { padding-inline: 9px; }
  .masthead .wordmark { min-width: 0; width: 100%; }
  .masthead .brand-name { flex-shrink: 1; width: clamp(84px, 28vw, 125px); }
  .marketplace { padding-block: 35px 46px; }
  .section-head { margin-bottom: 16px; }
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .item-card-body { padding: 11px; }
  .seller-band .shell { flex-wrap: wrap; }
  .columns, .product-overview { grid-template-columns: minmax(0, 1fr); }
  .product-overview { gap: 19px; margin-bottom: 30px; }
}
@media (max-width: 390px) {
  .brand-monogram { width: 25px; }
  .brand-name { width: 117px; }
  .field-grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-grid-3 > :first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.pagination { margin-top: 18px; }
#copy-result { margin-left: 8px; overflow-wrap: anywhere; }
.order-address { color: var(--muted); font-size: .88rem; margin-top: 8px; }
.order-address summary { cursor: pointer; font-weight: 800; margin-bottom: 5px; }
.operation-payments { margin-top: 8px; }
.operation-payments [data-error] { flex-basis: 100%; }
.mini-form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mini-form label { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; font-weight: 800; }
.mini-form input, .mini-form select { max-width: 185px; min-height: 35px; border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; }
.mini-form select { padding-right: 26px; }
.mini-form [data-error] { flex-basis: 100%; }

.product-description { max-width: 55ch; margin-bottom: 12px; }
.shoe-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), auto)); gap: 14px 20px; border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 16px; }
.shoe-facts dt { font-weight: 800; font-size: .82rem; margin-bottom: 3px; }
.shoe-facts dd { margin: 0; line-height: 1.45; color: var(--muted); }
.shoe-code { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: .03em; }
@media (max-width: 640px) {
  .shoe-facts { grid-template-columns: minmax(0, 1fr); }
  .product-buy, .variant-field select { width: 100%; }
}

.catalog-controls { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.catalog-controls .sort-box select { max-width: 100%; }
.helix-search-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.helix-search-actions .note { margin: 0; }

.product-toast { position: fixed; inset-inline-end: 16px; inset-block-end: max(16px, env(safe-area-inset-bottom)); z-index: 10; display: flex; gap: 12px; align-items: start; width: min(390px, calc(100% - 32px)); padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 8px 28px #10112026; }
.product-toast img { width: 58px; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 5px; }
.product-toast div { flex: 1; min-width: 0; }
.product-toast p { margin: 3px 0 0; font-size: .9rem; line-height: 1.4; }
.product-toast button { flex: none; min-width: 44px; min-height: 44px; margin: -6px -6px -6px 0; border: 0; border-radius: 6px; background: transparent; font-size: 1.35rem; }
.product-toast button:hover, .product-toast button:focus-visible { background: var(--paper); }

.product-page { --product-accent: var(--cobalt); --product-tint: var(--paper); }
.product-page[data-shoe-tone="red"] { --product-accent: #99243c; --product-tint: #f9e9ec; }
.product-page[data-shoe-tone="blue"] { --product-accent: #155879; --product-tint: #e7f2fa; }
.product-page[data-shoe-tone="green"] { --product-accent: #3b5e39; --product-tint: #edf3e4; }
.product-page[data-shoe-tone="purple"] { --product-accent: #5d347b; --product-tint: #f1eaf9; }
.product-page[data-shoe-tone="gold"] { --product-accent: #735210; --product-tint: #faf1d8; }
.product-page[data-shoe-tone="earth"] { --product-accent: #78472f; --product-tint: #f5ece5; }
.product-page[data-shoe-tone="graphite"] { --product-accent: #424653; --product-tint: #eceef1; }
.product-page .product-overview { align-items: start; }
.product-page .product-info { align-self: start; min-width: 0; }
.product-page .product-info > .eyebrow { color: var(--product-accent); }
.product-page .display-title { font-size: clamp(2.2rem, 4.8vw, 4.5rem); overflow-wrap: anywhere; }
.product-details, .product-purchase { border: 1px solid var(--line); border-radius: 10px; padding: clamp(14px, 3vw, 22px); background: var(--white); }
.product-details { margin-block: 18px 12px; border-top: 3px solid var(--product-accent); }
.product-details h2 { margin: 0 0 10px; font: 800 1.25rem / 1.2 var(--display); }
.product-details .shoe-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border: 0; }
.product-details .shoe-facts dd { overflow-wrap: anywhere; }
.product-purchase .variant-field { margin-top: 0; }
.product-purchase .product-buy { background: var(--product-accent); border-color: var(--product-accent); color: var(--white); width: 100%; }
.product-purchase .product-buy:hover:not(:disabled) { filter: brightness(.9); }
.product-purchase .notice:last-child { margin-bottom: 0; }

.item-card .item-media img { padding: clamp(4px, 1.1vw, 14px); }
.item-card .item-media[data-category="sports-cards"] img { padding: 6%; }
.product-page .product-image { aspect-ratio: 5 / 4; }
.product-page .product-image img { padding: 2.5%; }
.product-page .product-image[data-category="sports-cards"] img { padding: 5%; }
.product-photo-open { margin-top: 8px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-weight: 700; }
.product-photo-dialog { width: min(1040px, calc(100% - 24px)); max-height: 94dvh; padding: 10px 14px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.product-photo-dialog::backdrop { background: #101120b8; }
.product-photo-dialog form { display: flex; justify-content: flex-end; }
.product-photo-dialog button { min-width: 44px; min-height: 44px; border: 0; border-radius: 6px; background: var(--paper); font-size: 1.4rem; }
.product-photo-dialog img { height: min(76dvh, 800px); object-fit: contain; }

.availability-toggle { display: inline-flex; gap: 7px; align-items: center; min-height: 36px; font-size: .9rem; }
.availability-toggle input { accent-color: var(--cobalt); width: 16px; height: 16px; }
.catalog-summary { margin: -10px 0 12px; color: var(--muted); font-size: .9rem; }

.account-avatar-panel .account-avatar, .offer-seller-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: .875rem;
}
.account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#account-capsule:not(:empty) { margin-block: 1rem; }


.helix-answer {
  margin: 0 0 1.75rem;
  overflow: hidden;
  border: 1px solid #c5cee3;
  border-radius: 16px;
  background: linear-gradient(150deg, #fff 35%, #f1f4fb 100%);
  box-shadow: 0 7px 22px #17234a12;
  color: var(--ink);
}
.helix-panel-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px clamp(14px, 3vw, 24px);
  background: linear-gradient(110deg, #121a30, #263758);
  color: #fff;
}
.helix-panel-header h2 {
  margin: 0;
  font: 800 1.1rem / 1 var(--display);
  letter-spacing: .13em;
}
.helix-panel-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid #ffffff38;
  border-radius: 9px;
  background: #ffffff10;
}
.helix-panel-mark svg { display: block; }
.helix-panel-status {
  display: none;
  margin-inline-start: auto;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid #ffffff38;
  border-radius: 100px;
  color: #f0f4ff;
  font-size: .78rem;
}
.helix-answer[aria-busy="true"] .helix-panel-status { display: inline-flex; }
.helix-panel-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9dbdff;
}
.helix-panel-body { padding: clamp(15px, 3vw, 26px); }
.helix-answer p { margin: 0; max-width: 72ch; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.helix-answer-copy > p:first-child:not(:only-child) { font-weight: 650; }
.helix-sources-heading, [data-helix-sneaker-links] h3 { margin: 0 0 7px; font-size: .94rem; }
.helix-sources-heading, [data-helix-help-actions]:not(:empty), [data-helix-sneaker-links] {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid #dbe2ef;
}
[data-helix-help-actions]:not(:empty), [data-helix-sneaker-links] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
[data-helix-sneaker-links] h3 { width: 100%; }
.helix-answer ul { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; margin: .8rem 0 0; list-style: none; }
.helix-answer ul:empty { display: none; }
.helix-answer .helix-answer-copy > * + * { margin-top: .65rem; }
.helix-answer .helix-answer-bullets { display: block; list-style: disc; padding-inline-start: 1.4rem; max-width: 76ch; line-height: 1.55; overflow-wrap: anywhere; }
.helix-answer-bullets li + li { margin-top: .25rem; }
.helix-answer a { text-decoration: underline; text-underline-offset: .2em; }



.condition-switch { display: flex; gap: 8px; margin-bottom: 12px; }
.condition-switch button { min-height: 44px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font: inherit; cursor: pointer; }
.condition-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.condition-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.condition-photos img { width: 92px; height: 92px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }

#header-capsule .latch-capsule-root { position: relative; }
#header-capsule .latch-capsule-root > p { position: absolute; top: 100%; right: 0; z-index: 4; width: min(260px, 75vw); margin: 5px 0 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
#header-capsule .latch-capsule-root > p:empty { display: none; }


.account-avatar-panel { display: flex; align-items: center; gap: 12px; }
.account-avatar-panel .account-avatar { width: 48px; height: 48px; border-color: #ae8bff; }
.account-avatar-panel h2, .account-avatar-panel p { margin: 0; }

.latch-avatar[data-provider="google"] { --provider-ring: conic-gradient(#4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75%); }
.latch-avatar[data-provider="microsoft"] { --provider-ring: conic-gradient(#7fba00 0 25%, #ffb900 25% 50%, #00a4ef 50% 75%, #f25022 75%); }
.latch-avatar[data-provider="meta"] { --provider-ring: #1877f2; }
.latch-avatar[data-provider="twitter"] { --provider-ring: #767676; }
.latch-avatar[data-provider="apple"] { --provider-ring: #b0b0b0; }
.latch-avatar[data-provider="amazon"] { --provider-ring: #ff9900; }
.account-avatar.latch-avatar[data-provider] {
  border-color: transparent;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--provider-ring, #ae8bff) border-box;
}
/* Transparent provider photos need a solid surface over the initials fallback. */
:is(.latch-capsule-avatar, .latch-panel-avatar, .account-avatar.latch-avatar) > img:not([hidden]) {
  background-color: #b7b8bd;
}
:is(.latch-capsule-avatar, .latch-panel-avatar) > span:has(+ img:not([hidden])) {
  visibility: hidden;
}
:is(.latch-capsule-avatar, .latch-panel-avatar, .account-avatar.latch-avatar):has(> img[data-centered-google-avatar]:not([hidden])) {
  background: linear-gradient(#b7b8bd, #b7b8bd) padding-box,
    var(--latch-provider-ring, var(--provider-ring, #ae8bff)) border-box;
}
:is(.latch-capsule-avatar, .latch-panel-avatar, .account-avatar.latch-avatar) > img[data-centered-google-avatar]:not([hidden]) {
  background-color: transparent;
  translate: var(--google-avatar-x) var(--google-avatar-y);
}
@media (forced-colors: active) {
  .account-avatar.latch-avatar[data-provider] { border-color: CanvasText; }
}

@media (max-width: 860px) {
  .header-actions { min-width: 0; gap: 8px; }
  .header-actions .account-link { min-height: 44px; }
  .header-search { min-width: 0; min-height: 48px; }
  .header-search input { width: 0; min-height: 42px; }
  .header-search-submit { min-height: 44px; gap: 6px; padding-inline: 10px; }
  .header-helix-mark { width: 19px; height: 33px; }
}
@media (max-width: 600px) {
  .masthead .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
  }
  .header-actions .account-link[href="/account#auth-form"] {
    flex: 0 0 min-content;
    white-space: normal;
    line-height: 1.15;
  }
}

/* Use the same graphite finish for the header and Account capsules. */
:is(#header-capsule, #account-capsule) button.latch-capsule,
#header-capsule .header-latch-fallback {
  color-scheme: dark;
  width: var(--header-latch-width, 200px);
  height: 48px;
  min-width: 0;
  max-width: 100%;
  color: #fff;
  border: 1px solid #ffffff50;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 22% 0%, #ffffff38, #ffffff00 65%),
    linear-gradient(160deg, #414143, #232325 54%, #101011);
  background-clip: padding-box;
  box-shadow: inset 0 1px 1px #fffffff0, inset 1px 0 1px #ffffff80,
    inset -1px 0 1px #ffffff45, inset 0 -1px 1px #ffffff70,
    0 2px 5px #10182812, 0 8px 20px #10182824;
}
:is(#header-capsule, #account-capsule) button.latch-capsule:hover:not(:disabled),
#header-capsule .header-latch-fallback:hover {
  border-color: #ffffffb3;
  box-shadow: inset 0 1px 1px #fffffff0, inset 1px 0 1px #ffffff99,
    inset -1px 0 1px #ffffff66, inset 0 -1px 1px #ffffff90,
    0 4px 8px #10182818, 0 12px 26px #1018282e;
}
:is(#header-capsule, #account-capsule) button.latch-capsule:focus-visible,
#header-capsule .header-latch-fallback:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--ink);
}
:is(#header-capsule, #account-capsule) button.latch-capsule > img,
#header-capsule .header-latch-fallback > img {
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (prefers-reduced-transparency: reduce) {
  :is(#header-capsule, #account-capsule) button.latch-capsule,
  #header-capsule .header-latch-fallback { background: #282829; }
}
@media (forced-colors: active) {
  :is(#header-capsule, #account-capsule) button.latch-capsule,
  :is(#header-capsule, #account-capsule) button.latch-capsule:hover:not(:disabled),
  #header-capsule .header-latch-fallback {
    background: ButtonFace;
    color: ButtonText;
    border-color: ButtonText;
    box-shadow: none;
  }
  :is(#header-capsule, #account-capsule) button.latch-capsule:focus-visible,
  #header-capsule .header-latch-fallback:focus-visible { outline-color: Highlight; box-shadow: none; }
  :is(#header-capsule, #account-capsule) button.latch-capsule > img,
  #header-capsule .header-latch-fallback > img { filter: none; }
}


/* Keep mobile shopping controls within the viewport, including long collection names. */
@media (max-width: 720px) {
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-block: 0 26px; }
  .hero-art {
    position: relative;
    inset: auto;
    align-self: center;
    width: auto;
    max-width: 100%;
    height: clamp(180px, 57vw, 260px);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 95%, transparent),
      linear-gradient(#000 92%, transparent);
    mask-composite: intersect;
  }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2.9rem, 12vw, 5.25rem); margin-bottom: 12px; }
  .hero p { margin-bottom: 16px; }
  .hero-actions .button { min-height: 44px; padding-inline: 12px; }
  .page { padding-block: 24px 44px; }
  .breadcrumb { margin-bottom: 14px; }
  .catalog-toolbar { gap: 8px; margin-bottom: 16px; padding-bottom: 12px; }
  .catalog-controls {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
    gap: 5px 10px;
  }
  .catalog-controls .availability-toggle { grid-column: 1 / -1; min-height: 44px; }
  .catalog-controls .sort-box { display: grid; min-width: 0; gap: 4px; }
  .catalog-controls .sort-box select { width: 100%; min-height: 44px; font-size: 1rem; }
  .product-info .display-title { font-size: clamp(2rem, 9.5vw, 3.2rem); }
  .product-page .product-image { aspect-ratio: 4 / 3; }
  .footer-top { gap: 12px; }
}
@media (hover: none) {
  .item-card:hover { transform: none; }
}

.trending-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.trending-group { min-width: 0; padding: clamp(12px, 1.5vw, 18px); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.trending-group-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--category-ink); }
.trending-group-heading h2 { margin: 0; font: 800 1.6rem / 1 var(--display); }
.trending-group-heading .text-link { display: inline-grid; align-items: center; min-height: 44px; }
.trending-group-products { display: grid; align-content: start; gap: 9px; }
.trending-group-products > .item-card:first-child .item-media { aspect-ratio: 16 / 10; }
.trending-group-products > .item-card + .item-card { display: grid; grid-template-columns: minmax(70px, 30%) minmax(0, 1fr); align-items: center; }
.trending-group-products > .item-card + .item-card .item-card-body { padding: 8px 10px; }
@media (max-width: 800px) {
  .trending-groups { grid-template-columns: minmax(0, 1fr); }
  .trending-group-products { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  .trending-group-products > .item-card + .item-card { display: flex; align-items: stretch; }
  .trending-group-products > .item-card .item-media { aspect-ratio: 4 / 3; }
}

.helix-answer .helix-link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 8px; }
.helix-answer .helix-link-cards:empty { display: none; }
.helix-link-cards li { min-width: 0; }
.helix-answer .helix-link-cards a {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 64px; height: 100%; padding: 7px 10px 7px 7px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; text-decoration: none;
}
.helix-answer .helix-link-cards a:hover { border-color: var(--cobalt); }
.helix-link-thumb { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 6px; background: var(--paper); color: var(--cobalt); font-weight: 800; }
.helix-source-thumb { background: #e5edff; }
.helix-link-thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.helix-link-copy { display: grid; gap: 2px; overflow-wrap: anywhere; font-size: .85rem; }
.helix-link-copy small { color: var(--muted); }
.helix-link-arrow { color: var(--cobalt); }

.helix-reference-gallery:empty, .helix-catalog-products:empty { display: none; }
.helix-catalog-products { margin-top: 14px; }
.helix-reference-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 270px)); gap: 12px; margin-top: 14px; }
.helix-reference-media { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.helix-reference-media a { display: grid; place-items: center; padding: 10px; }
.helix-reference-media img { width: 100%; height: 210px; object-fit: contain; }
.helix-reference-media figcaption { display: grid; gap: 3px; padding: 8px 12px 12px; font-size: .9rem; }
.helix-reference-media small { color: var(--muted); }
.helix-answer .helix-link-cards a { grid-template-columns: 60px minmax(0, 1fr) auto; min-height: 76px; }
.helix-link-thumb { width: 60px; height: 60px; }

.helix-link-thumb img.helix-publisher-logo { width: 72%; height: 72%; background: transparent; }

.offer-seller-identity { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.offer-seller-avatar { width: 34px; height: 34px; }
.seller-offer .offer-primary-details { margin-block: 6px; }
.seller-offer .status-label { display: inline-block; white-space: normal; }

.offer-controls { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block: 8px 14px; }
.offer-controls .condition-switch { margin: 0; flex-wrap: wrap; }
.offer-selection-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; }
.offer-selection-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.mobile-offer-size { display: none; }
@media (max-width: 720px) {
  .product-info .sneaker-sizes { display: none; }
  .mobile-offer-size { display: grid; gap: 4px; margin-block: 12px; }
  .product-offers .offer-filters { flex: 1 1 100%; }
  .product-offers .offer-filters select, .mobile-offer-size select { min-height: 44px; font-size: 1rem; }
  .seller-offer-price .button { min-width: 88px; }
}
.offer-count { font-size: .78em; opacity: .8; }
.offer-filters { display: flex; gap: 8px; align-items: center; font-size: .85rem; }
.offer-filters[hidden] { display: none; }
.offer-filters select { min-width: 0; max-width: 100%; }
.seller-offer { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.seller-offer:last-child { border-bottom: 1px solid var(--line); }
.seller-offer-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px; }
.offer-seller-name, .offer-seller-name a { overflow-wrap: anywhere; }
.offer-details { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; margin: 7px 0 0; padding: 0; }
.offer-details li { background: var(--surface, #f4f5f8); border-radius: 4px; padding: 3px 7px; font-size: .78rem; }
.seller-offer-price { display: grid; justify-items: end; text-align: right; gap: 2px; }
.seller-offer-price strong { font-variant-numeric: tabular-nums; }
.seller-offer-price small { color: var(--muted); }
.offer-availability { max-width: 15ch; }
.seller-offer p.offer-description { margin-top: 10px; overflow-wrap: anywhere; }
.seller-offer .condition-photos { margin-top: 10px; }
@media (max-width: 360px) {
  .seller-offer-summary { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .seller-offer-price { justify-items: start; text-align: left; }
  .offer-availability { max-width: none; }
}

.storefront-departments { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-block: 22px 0; }
.storefront-departments + .marketplace { padding-block-start: clamp(24px, 3vw, 36px); }
.storefront-departments a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px; align-items: center; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.department-photo {
  --photo-height: clamp(90px, 11vw, 150px);
  grid-column: 1 / -1;
  position: relative;
  height: var(--photo-height);
  overflow: hidden;
  background: #fff;
}
.department-photo img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(calc(84% * var(--photo-width-factor, 1)), calc(var(--photo-height) * .84 * var(--photo-height-factor, 1)));
  height: auto;
  max-width: none;
  transform: translate(var(--photo-offset-x, -50%), var(--photo-offset-y, -50%));
  background: #fff;
}
/* Frame each visible product independently of the source photo's whitespace. */
.department-photo img[src$="jordan-1-retro-high-off-white-chicago.jpg"] { --photo-width-factor: 1.177; --photo-height-factor: 1.851; --photo-offset-x: -49.76%; --photo-offset-y: -53.01%; }
.department-photo img[src$="jordan-4-retro-oklahoma-sooners-pe-2025.jpg"] { --photo-width-factor: 1.028; --photo-height-factor: 1.950; --photo-offset-x: -49.76%; --photo-offset-y: -51.57%; }
.department-photo img[src$="jordan-1-retro-high-michigan-pe.jpg"] { --photo-width-factor: 1.109; --photo-height-factor: 1.914; --photo-offset-x: -49.27%; --photo-offset-y: -47.70%; }
.department-photo img[src$="louis-vuitton-supreme-box-logo-hoodie.webp"] { --photo-width-factor: 2.169; --photo-height-factor: 1.706; --photo-offset-x: -49.85%; --photo-offset-y: -49.59%; }
.department-photo img[src$="supreme-tiffany-box-logo.jpg"] { --photo-width-factor: 1.579; --photo-height-factor: 1.515; --photo-offset-x: -51.33%; --photo-offset-y: -48.86%; }
.department-photo img[src$="supreme-burberry-box-logo.jpg"] { --photo-width-factor: 1.113; --photo-height-factor: 1.069; --photo-offset-x: -50.07%; --photo-offset-y: -50.73%; }
.department-photo img[src$="louis-vuitton-supreme-keepall.jpg"] { --photo-width-factor: 1.054; --photo-height-factor: 1.456; --photo-offset-x: -49.35%; --photo-offset-y: -63.08%; }
.department-photo img[src$="dior-kaws-saddle-bag.jpg"] { --photo-width-factor: 1.274; --photo-height-factor: 1.744; --photo-offset-x: -49.92%; --photo-offset-y: -61.67%; }
.department-photo img[src$="chrome-hearts-gold-cross-pendant.jpg"] { --photo-width-factor: 1.330; --photo-height-factor: 1.119; --photo-offset-x: -51.92%; --photo-offset-y: -48.91%; }
.department-photo img[src$="lebron-topps-chrome-rookie.png"] { --photo-width-factor: 1.369; --photo-height-factor: .886; --photo-offset-x: -53.59%; --photo-offset-y: -49.30%; filter: brightness(1.035); }
.department-photo img[src$="michael-jordan-fleer-rookie.jpg"] { --photo-width-factor: 1.179; --photo-height-factor: .665; --photo-offset-x: -49.83%; --photo-offset-y: -47.90%; }
.department-photo img[src$="first-edition-charizard.jpg"] { --photo-width-factor: 1.027; --photo-height-factor: .618; --photo-offset-x: -50%; --photo-offset-y: -50.10%; }
.storefront-departments strong { overflow-wrap: anywhere; }
.offer-jump { min-height: 42px; }
#condition-heading { scroll-margin-top: 130px; }
.seller-dashboard .section-head { gap: 10px; flex-wrap: wrap; }
.listing-editor { margin: 12px 0 4px; }
.listing-editor summary { cursor: pointer; }
.listing-editor form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; gap: 10px; margin-top: 10px; }
.listing-editor label { min-width: 0; }
.listing-editor input { width: 100%; }
.listing-editor .error-message { grid-column: 1 / -1; }
@media (max-width: 480px) {
  .storefront-departments { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .storefront-departments a { padding: 8px; font-size: .8rem; }
  .storefront-departments a span { display: none; }
}
@media (max-width: 360px) {
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 9px; font-size: .875rem; }
}

.resale-preview nav { display: flex; flex-wrap: wrap; gap: 8px; }

.resale-preview .catalog-summary { margin: 12px 0; }

.resale-setup { margin-bottom: 16px; max-width: 460px; }
.resale-setup summary { cursor: pointer; font-weight: 700; }
.resale-setup form { margin-top: 12px; }


.helix-compare { margin-bottom: 1.5rem; padding: clamp(14px, 3vw, 22px); border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.helix-compare h2 { margin: 0 0 12px; font-size: 1.1rem; }
.helix-compare-controls, .helix-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.helix-compare-controls label { display: grid; gap: 5px; min-width: 0; }
.helix-compare-controls select { width: 100%; min-height: 44px; padding: 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); color: var(--ink); }
.helix-compare-controls button { justify-self: start; }
.helix-compare-grid article { padding: 12px; border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }
.helix-compare-grid h3 { margin: 0; font-size: 1rem; }
.helix-compare-grid ul { padding-inline-start: 20px; }
.helix-compare [role="status"]:empty { display: none; }
@media (max-width: 600px) {
  .helix-compare-controls, .helix-compare-grid { grid-template-columns: minmax(0, 1fr); }
}

.product-page .product-overview { margin-bottom: clamp(18px, 3vw, 32px); }
.product-price-overview { margin-top: 1rem; }
.product-price-overview p { margin-block: 4px 0; }
.product-offers { margin-bottom: clamp(18px, 3vw, 32px); }
.product-offers > .note { margin-block: 4px 14px; }
.offer-primary-details { margin-block: 5px 0; font-weight: 650; }
.seller-offer-price button { margin-top: 5px; min-inline-size: 5.5rem; }
.offer-cost-dialog { box-sizing: border-box; width: min(480px, calc(100% - 24px)); max-height: 90dvh; padding: clamp(14px, 4vw, 24px); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); overflow-y: auto; }
.offer-cost-dialog::backdrop { background: #10112099; }
.offer-cost-heading { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.offer-cost-heading h2 { margin: 0; font-size: 1.25rem; }
.offer-cost-item { overflow-wrap: anywhere; }
.offer-cost-next { width: 100%; }

.seller-offer-summary.has-offer-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; }
.offer-gallery { min-width: 0; }
.seller-offer .offer-gallery .condition-photos { margin-top: 4px; gap: 8px; }
.offer-gallery .condition-photos img { display: block; width: clamp(56px, 7vw, 88px); height: clamp(56px, 7vw, 88px); }
@media (max-width: 680px) {
  .seller-offer-summary.has-offer-gallery { grid-template-columns: minmax(0, 1fr) auto; }
  .offer-gallery { grid-column: 1 / -1; grid-row: 2; }
}

.product-page .product-overview {
  grid-template-areas: "photo info" "details info";
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  row-gap: clamp(14px, 2vw, 24px);
}
.product-overview .product-figure { grid-area: photo; }
.product-overview .product-info { grid-area: info; }
.product-overview .product-specifications { grid-area: details; }
.sneaker-sizes { min-width: 0; margin: 12px 0 18px; padding: 0; border: 0; }
.sneaker-sizes legend { padding: 0; font-weight: 800; }
.sneaker-sizes .note { margin-block: 4px 10px; }
.sneaker-size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 64px)); gap: 8px; }
.sneaker-size {
  aspect-ratio: 1;
  min-height: 44px;
  padding: 4px;
  border: 1px solid var(--line);
  border-bottom-width: 3px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.sneaker-size:hover { border-color: var(--ink); }
.sneaker-size[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--white); }
.sneaker-size-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sneaker-size-actions > * { min-height: 44px; display: inline-flex; align-items: center; }
.sneaker-size-actions button { border: 0; background: transparent; padding-inline: 4px; cursor: pointer; }
#offer-filter-status { margin-block: 8px; }
@media (max-width: 760px) {
  .product-page .product-overview { grid-template-areas: "photo" "info" "details"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .sneaker-size-grid { grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); }
}

.sneaker-size { display: grid; place-content: center; gap: 1px; line-height: 1; }
.sneaker-size-count { font-size: .625rem; font-weight: 650; white-space: nowrap; }
.sneaker-size.size-no-offers { background: #f0f1f4; color: #555b68; border-color: var(--line); }
.sneaker-size.size-no-offers[aria-pressed="true"] { border-color: #555b68; }
.sneaker-size:disabled { cursor: default; }

.offer-photo-thumb { min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 6px; background: var(--white); cursor: zoom-in; }
.offer-photo-thumb:hover img { border-color: var(--ink); }
.product-photo-dialog { box-sizing: border-box; }
.product-photo-dialog img { display: block; width: 100%; height: min(68dvh, 760px); }
.photo-viewer-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 6px; }
.photo-viewer-count { min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums; }
.photo-viewer-error { padding: 18px; text-align: center; }

.sneaker-size-grid {
  grid-template-columns: repeat(var(--size-columns, 5), minmax(0, 1fr));
  gap: clamp(4px, 1.5vw, 8px);
  width: min(100%, 360px);
  box-sizing: border-box;
  padding: clamp(4px, 1.5vw, 8px);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.sneaker-size-grid .sneaker-size { position: relative; min-width: 0; }
.sneaker-size-grid .size-no-offers::after {
  content: "";
  position: absolute;
  inset: 15%;
  pointer-events: none;
  background:
    linear-gradient(45deg, transparent 44%, #b11327 45% 53%, transparent 54%),
    linear-gradient(-45deg, transparent 45%, #b11327 46% 54%, transparent 55%);
  opacity: .72;
}
.sneaker-size-grid[data-columns="4"] { --size-columns: 4; width: min(100%, 292px); }
.sneaker-size-grid[data-columns="6"] { --size-columns: 6; }
@media (max-width: 380px) {
  .sneaker-size-grid[data-columns="6"] { --size-columns: 5; }
}

.public-seller-header { margin-block: 0 1.25rem; }
.public-seller-header .display-title { margin: 0; overflow-wrap: anywhere; }

.seller-offer[data-selected-offer] {
  border: 2px solid var(--ink);
  scroll-margin-top: 11rem;
}
.seller-offer .selected-offer-label {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
}

.card-purchase-status { display: inline-block; margin-top: 4px; font-size: .8rem; color: var(--muted); }
.product-purchase-status { font-weight: 700; }
#size-watch { margin-block: 12px; }
.discovery-actions, .listing-tools, .listing-step-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-block: 12px; }
#applied-filters { display: flex; flex-wrap: wrap; gap: 6px; }
#seller-form fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
#seller-form legend { font-weight: 800; margin-bottom: 10px; }
.account-menu { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-menu-link { display: inline-flex; align-items: center; min-height: 44px; border: 0; border-radius: 6px; padding: 6px 12px; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.account-menu-link:hover { background: var(--paper); }
.account-menu-link[aria-current="page"] { background: var(--ink); color: var(--white); }
.account-signout { margin-inline-start: auto; }
@media (max-width: 480px) { .account-signout { margin-inline-start: 0; } }

.market-extra-filters { margin-block: 10px 20px; }
#market-facets { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 10px; }
#market-facets label { display: grid; gap: 4px; flex: 1 1 140px; min-width: 0; }
.offer-comparison-scroll { overflow-x: auto; }
.offer-comparison-scroll table { width: 100%; border-collapse: collapse; margin-block: 10px; }
.offer-comparison-scroll th, .offer-comparison-scroll td { text-align: start; padding: 8px; border-bottom: 1px solid var(--line); }

.market-offer-group { min-width: 0; display: flex; flex-direction: column; }
.market-offer-group > .item-card { flex: 1; }
.market-offer-group > details { padding: 8px; font-size: .85rem; overflow-wrap: anywhere; }

.seller-matches p:empty, .seller-matches ul:empty { display: none; }
.seller-matches ul { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.seller-match { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; text-align: left;
  background: var(--white); color: var(--ink); font: inherit; cursor: pointer; }
.seller-match:hover { background: var(--paper); }
.seller-match img { width: 48px; height: 40px; object-fit: contain; flex: 0 0 auto; }
.seller-match span { min-width: 0; overflow-wrap: anywhere; }
.seller-match small { display: block; }

/* Clip only catalog display. Seller galleries retain the original, uncropped image. */
:is(.item-media img, .product-photo-dialog img.catalog-photo):is(
  [src$="/champion-method-sling-bag-black.jpg"],
  [src$="/champion-iconic-crew-socks-white-6-pack.jpg"],
  [src*="2023-jaxon-smith-njigba-orange-49-psa-10.jpg"],
  [src*="2017-panini-absolute-rookie-roundup-patrick-mahomes"],
  [src*="2020-justin-jefferson-neon-orange-pulsar"],
  [src*="shohei-ohtani-2018-panini-chronicles"],
  [src*="psa-8-2021-panini-select-trevor-lawrence"],
  [src*="saquon-barkley-2018-panini-donruss-optic"],
  [src*="kaka-magenta-refractor-auto-psa-9.jpg"],
  [src*="denver-broncos-super-bowl-xxi-vintage"],
  [src*="annco-nfl-buffalo-bills-vintage"],
  [src*="logo-ahtletics-vintage-pittsburgh"],
  [src*="montgomery-ward-vintage-chicago"],
  [src*="pro-line-vintage-green-bay-packers"],
  [src*="majestic-1990s-vintage-steelers"],
  [src*="/assets/catalog/blk-ylw-og-snapback.jpg"],
  [src*="/assets/catalog/vintage-ski-mask.jpg"],
  [src*="/assets/catalog/pro-line-nfl-washington-redskins-vintage-adjustable-cap.jpg"],
  [src*="/assets/catalog/logo-7-nfl-green-bay-packers-vintage-adjustable-cap-copy.jpg"],
  [src*="/assets/catalog/pro-line-nfl-green-bay-packers-vintage-adjustable-cap-copy.jpg"],
  [src*="/assets/catalog/pro-line-nfl-new-england-patriots-vintage-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-washington-commanders-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-tennessee-titans-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-tampa-bay-buccaneers-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-san-francisco-49ers-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-pittsburgh-steelers-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-new-england-patriots-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-philadelphia-eagles-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-las-vegas-raiders-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-new-york-jets-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-new-york-giants-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-new-orleans-saints-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-minnesota-vikings-adjustable-cap-1.jpg"],
  [src*="/assets/catalog/nfl-miami-dolphins-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-kansas-city-chiefs-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-jacksonville-jaguars-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-green-bay-packers-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-detroit-lions-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-denver-broncos-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-dallas-cowboys-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-cleveland-browns-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-cincinnati-bengals-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-chicago-bears-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-carolina-panthers-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-buffalo-bills-adjustable-cap.jpg"],
  [src*="/assets/catalog/nfl-adjustable-cap-officially-licensed-gear.jpg"],
  [src*="/assets/catalog/adidas-yeezy-350-v2-boost-zebra.jpg"],
  [src*="/assets/catalog/air-jordan-1-retro-high-og-bhm-black-history-month-size-11.jpg"],
  [src*="/assets/catalog/adidas-nmd-r1-prime-knit-ds-size-13.jpg"],
  [src*="/assets/catalog/adidas-x-pharrell-williams-solar-hu-nmd.jpg"],
  [src*="/assets/catalog/air-force-1-07-twt.jpg"],
  [src*="/assets/catalog/reference-samba-b75806.jpg"],
  [src*="/assets/catalog/reference-af1-white.jpg"],
  [src*="/assets/catalog/jordan-9-retro-chile-red.jpg"],
  [src*="/assets/catalog/nike-air-presto-offwhite-white.jpg"],
  [src*="/assets/catalog/yeezy-350-boost-beluga-2016.jpg"],
  [src*="/assets/catalog/jordan-8-retro-auqa-2025.jpg"]
) {
  clip-path: var(--catalog-photo-outline);
  width: auto;
  height: auto;
  max-width: 94%;
  max-height: 94%;
  padding: 0;
  margin: auto;
}
.product-photo-dialog img.catalog-photo[src] { max-height: min(68dvh, 760px); }

:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="2023-jaxon-smith-njigba-orange-49-psa-10.jpg"] {
  --catalog-photo-outline: polygon(17% 0%, 84.5% 1.8%, 86% 3.5%, 81% 86%, 78% 88%, 17% 88%, 15% 86%, 14% 3%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="2017-panini-absolute-rookie-roundup-patrick-mahomes"] {
  --catalog-photo-outline: polygon(16% 11%, 78% 11%, 81% 13%, 81% 93%, 79% 95%, 15% 95%, 13% 93%, 13% 14%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="2020-justin-jefferson-neon-orange-pulsar"] {
  --catalog-photo-outline: polygon(6% 1%, 81% 4.5%, 83% 6%, 70% 88%, 68% 90.5%, 11% 89%, 9% 87%, 4.5% 3%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="shohei-ohtani-2018-panini-chronicles"] {
  --catalog-photo-outline: polygon(16% 11%, 76% 10.5%, 79% 12.5%, 75% 84%, 73% 86%, 20% 86%, 18% 84%, 14% 13%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="psa-8-2021-panini-select-trevor-lawrence"] {
  --catalog-photo-outline: polygon(9% 5%, 80% 3.7%, 82% 5.5%, 83% 92%, 81% 94%, 13% 95%, 11% 92.5%, 8% 7%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="saquon-barkley-2018-panini-donruss-optic"] {
  --catalog-photo-outline: polygon(14% 4.5%, 81.5% 4%, 83% 6%, 78% 82.5%, 76% 85%, 22% 86%, 20% 84%, 12% 7%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="kaka-magenta-refractor-auto-psa-9.jpg"] {
  --catalog-photo-outline: polygon(5% 9%, 79% 8%, 81% 10%, 76% 89%, 73% 91%, 18% 92%, 16% 90%, 3.5% 11%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="denver-broncos-super-bowl-xxi-vintage"] {
  --catalog-photo-outline: polygon(14% 22%, 20% 18%, 45% 11.5%, 47% 10%, 51% 10%, 53% 12%, 76% 16%, 84% 20%, 87% 26%, 86% 37%, 82% 44%, 86% 54%, 87% 66%, 84% 73%, 78% 78%, 67% 81%, 56% 83%, 44% 83.5%, 31% 82%, 21% 78%, 16% 73%, 14% 65%, 14% 55%, 18% 43%, 14% 35%, 13% 28%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="annco-nfl-buffalo-bills-vintage"] {
  --catalog-photo-outline: polygon(16% 56%, 19% 48%, 24% 40%, 31% 36%, 43% 34%, 51% 34%, 53% 32.5%, 57% 32.5%, 59% 34%, 71% 34%, 78% 37%, 82% 41%, 84% 49%, 87% 58%, 86% 61%, 92% 68%, 96% 75%, 96% 81%, 91% 85%, 82% 87%, 65% 88%, 41% 88%, 24% 86%, 14% 83%, 10% 79%, 10% 73%, 14% 67%, 20% 60%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="logo-ahtletics-vintage-pittsburgh"] {
  --catalog-photo-outline: polygon(12% 40%, 17% 35%, 19% 31%, 14% 31%, 6% 43%, 5% 46%, 0% 42%, 0% 37%, 18% 29%, 23% 24%, 34% 19%, 45% 17%, 46% 15.5%, 52% 15.5%, 54% 17%, 65% 19%, 75% 24%, 82% 30%, 86% 37%, 87% 42%, 81% 46%, 80% 70%, 78% 75%, 74% 78%, 65% 81%, 49% 82%, 33% 81%, 26% 79%, 22% 75%, 20% 68%, 19% 46%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="montgomery-ward-vintage-chicago"] {
  --catalog-photo-outline: polygon(14% 30%, 17% 25%, 25% 19%, 34% 14%, 44% 11%, 46% 9%, 51% 9%, 53% 10%, 65% 12%, 74% 16%, 80% 22%, 83% 30%, 83% 35%, 79% 41%, 80% 47%, 82% 55%, 81% 63%, 78% 68%, 72% 71%, 61% 73%, 48% 74%, 30% 73%, 23% 71%, 19% 67%, 17% 61%, 17% 54%, 19% 43%, 15% 38%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="pro-line-vintage-green-bay-packers"] {
  --catalog-photo-outline: polygon(10% 35%, 12% 27%, 17% 20%, 24% 15%, 34% 11%, 50% 9%, 61% 9%, 73% 12%, 84% 18%, 90% 25%, 94% 33%, 96% 40%, 94% 46%, 91% 50%, 94% 66%, 95% 73%, 94% 79%, 90% 82%, 82% 85%, 67% 87%, 49% 87%, 32% 86%, 22% 85%, 15% 82%, 12% 79%, 11% 73%, 12% 66%, 14% 50%, 11% 46%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="majestic-1990s-vintage-steelers"] {
  --catalog-photo-outline: polygon(11% 8%, 18% 5%, 26% 3%, 43% 2%, 52% 3%, 61% 2%, 79% 4%, 91% 4%, 92% 20%, 81% 24%, 83% 38%, 95% 92%, 77% 94%, 57% 95%, 35% 95%, 9% 92%, 20% 40%, 22% 26%, 10% 25%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/blk-ylw-og-snapback.jpg"] {
  --catalog-photo-outline: polygon(16% 34%, 20% 28%, 29% 23%, 38% 20%, 45% 17%, 49% 15%, 53% 15%, 57% 17%, 69% 20%, 76% 25%, 80% 32%, 80% 39%, 77% 48%, 73% 52%, 78% 56%, 79% 67%, 76% 74%, 70% 77%, 57% 79%, 39% 79%, 25% 77%, 18% 73%, 17% 64%, 19% 54%, 22% 49%, 18% 42%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/vintage-ski-mask.jpg"] {
  --catalog-photo-outline: polygon(5% 83%, 9% 73%, 11% 58%, 14% 43%, 20% 29%, 27% 18%, 35% 11%, 45% 7%, 52% 7%, 59% 10%, 66% 13%, 73% 19%, 81% 29%, 87% 42%, 91% 57%, 94% 70%, 99% 82%, 99% 85%, 75% 86%, 39% 86%, 5% 85%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/pro-line-nfl-washington-redskins-vintage-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(11% 41%, 15% 33%, 23% 27%, 34% 23%, 43% 20%, 46% 17%, 52% 17%, 55% 19%, 63% 21%, 70% 24%, 77% 30%, 81% 35%, 81% 43%, 77% 49%, 81% 57%, 84% 65%, 83% 70%, 77% 73%, 66% 75%, 58% 76%, 29% 76%, 19% 74%, 14% 70%, 12% 65%, 13% 57%, 16% 49%, 12% 46%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/logo-7-nfl-green-bay-packers-vintage-adjustable-cap-copy.jpg"] {
  --catalog-photo-outline: polygon(17% 42%, 22% 33%, 24% 22%, 28% 16%, 32% 12%, 42% 11%, 51% 11%, 61% 11%, 70% 13%, 79% 19%, 85% 27%, 88% 34%, 90% 42%, 87% 47%, 93% 56%, 97% 65%, 99% 70%, 97% 74%, 92% 77%, 74% 77%, 37% 77%, 24% 75%, 19% 71%, 16% 66%, 16% 59%, 20% 50%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/pro-line-nfl-green-bay-packers-vintage-adjustable-cap-copy.jpg"] {
  --catalog-photo-outline: polygon(14% 44%, 19% 39%, 25% 34%, 35% 31%, 46% 28%, 53% 26%, 58% 27%, 65% 28%, 73% 31%, 78% 36%, 81% 41%, 83% 47%, 82% 54%, 80% 58%, 82% 64%, 84% 75%, 83% 82%, 80% 86%, 74% 88%, 57% 90%, 34% 90%, 20% 89%, 13% 85%, 10% 82%, 10% 75%, 12% 67%, 15% 59%, 15% 54%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/pro-line-nfl-new-england-patriots-vintage-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(15% 42%, 16% 36%, 22% 33%, 35% 30%, 63% 28%, 69% 29%, 73% 33%, 76% 38%, 77% 48%, 76% 51%, 73% 54%, 78% 60%, 79% 65%, 76% 69%, 67% 71%, 43% 72%, 26% 71%, 16% 68%, 12% 64%, 13% 60%, 17% 55%, 18% 50%, 15% 47%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-washington-commanders-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(10% 49%, 13% 42%, 18% 35%, 27% 29%, 39% 25%, 49% 22%, 57% 22%, 67% 24%, 75% 28%, 81% 35%, 84% 41%, 84% 48%, 81% 55%, 78% 58%, 80% 68%, 78% 75%, 74% 80%, 62% 82%, 40% 83%, 24% 81%, 17% 78%, 15% 72%, 15% 65%, 17% 59%, 13% 54%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-tennessee-titans-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(7% 48%, 10% 43%, 18% 37%, 28% 32%, 41% 30%, 49% 27%, 54% 27%, 62% 28%, 75% 30%, 84% 34%, 90% 40%, 92% 45%, 91% 49%, 86% 55%, 82% 60%, 82% 65%, 80% 81%, 76% 86%, 66% 91%, 50% 92%, 35% 91%, 26% 86%, 22% 80%, 22% 60%, 16% 57%, 10% 53%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-tampa-bay-buccaneers-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(7% 35%, 8% 27%, 12% 19%, 18% 13%, 27% 8%, 39% 5%, 43% 3%, 47% 4%, 54% 5%, 66% 7%, 76% 11%, 81% 17%, 84% 23%, 85% 29%, 82% 32%, 78% 39%, 78% 50%, 79% 60%, 80% 77%, 79% 82%, 75% 86%, 68% 88%, 50% 89%, 33% 89%, 20% 88%, 13% 85%, 11% 80%, 11% 70%, 13% 56%, 13% 45%, 12% 38%, 9% 36%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-san-francisco-49ers-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(0% 42%, 4% 35%, 12% 29%, 26% 24%, 38% 22%, 43% 20%, 48% 20%, 52% 21%, 67% 23%, 77% 26%, 85% 32%, 88% 39%, 90% 46%, 87% 51%, 81% 56%, 81% 67%, 82% 78%, 79% 84%, 74% 87%, 61% 88%, 31% 88%, 18% 87%, 12% 85%, 8% 80%, 8% 70%, 9% 59%, 10% 53%, 3% 49%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-pittsburgh-steelers-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(7% 44%, 10% 34%, 18% 27%, 31% 20%, 41% 16%, 48% 13%, 55% 13%, 59% 15%, 72% 18%, 83% 24%, 90% 32%, 93% 40%, 94% 48%, 91% 54%, 85% 61%, 84% 68%, 84% 78%, 80% 85%, 73% 89%, 58% 92%, 40% 93%, 22% 91%, 15% 87%, 11% 83%, 10% 75%, 11% 63%, 12% 55%, 8% 51%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-new-england-patriots-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(8% 45%, 11% 39%, 18% 33%, 28% 28%, 45% 24%, 60% 23%, 73% 25%, 84% 30%, 93% 39%, 94% 46%, 90% 51%, 84% 56%, 84% 62%, 86% 74%, 85% 77%, 78% 80%, 63% 81%, 37% 81%, 20% 80%, 14% 78%, 13% 74%, 14% 66%, 16% 57%, 13% 53%, 8% 51%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-philadelphia-eagles-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(11% 37%, 15% 27%, 24% 20%, 38% 13%, 49% 8%, 54% 7%, 59% 8%, 70% 12%, 79% 16%, 87% 22%, 91% 30%, 93% 39%, 91% 46%, 85% 52%, 85% 62%, 84% 76%, 82% 82%, 77% 85%, 63% 87%, 35% 88%, 25% 86%, 21% 82%, 20% 76%, 20% 63%, 19% 54%, 16% 49%, 12% 45%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-las-vegas-raiders-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(4% 46%, 9% 38%, 17% 31%, 30% 25%, 45% 21%, 53% 20%, 60% 21%, 72% 24%, 83% 29%, 91% 38%, 90% 43%, 88% 46%, 88% 52%, 82% 56%, 82% 70%, 82% 86%, 80% 91%, 73% 93%, 51% 95%, 30% 95%, 21% 93%, 16% 90%, 15% 84%, 14% 68%, 14% 57%, 10% 52%, 6% 50%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-new-york-jets-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(4% 48%, 9% 42%, 20% 37%, 33% 34%, 50% 31%, 66% 30%, 80% 30%, 89% 33%, 95% 39%, 97% 46%, 97% 50%, 93% 56%, 87% 59%, 86% 70%, 84% 82%, 81% 89%, 76% 93%, 65% 96%, 46% 98%, 32% 97%, 26% 94%, 22% 89%, 20% 80%, 19% 66%, 18% 58%, 12% 55%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-new-york-giants-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(10% 43%, 13% 38%, 19% 35%, 28% 32%, 39% 32%, 46% 30%, 50% 31%, 61% 32%, 70% 33%, 78% 35%, 82% 38%, 84% 42%, 83% 47%, 80% 53%, 77% 57%, 77% 62%, 78% 68%, 79% 75%, 79% 80%, 77% 83%, 72% 85%, 65% 86%, 53% 87%, 38% 88%, 28% 88%, 23% 86%, 21% 83%, 20% 77%, 20% 66%, 20% 61%, 17% 58%, 13% 54%, 10% 50%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-new-orleans-saints-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(2% 35%, 6% 26%, 12% 18%, 24% 10%, 37% 5%, 52% 2%, 64% 2%, 77% 5%, 86% 10%, 94% 18%, 98% 26%, 100% 33%, 98% 39%, 91% 44%, 88% 50%, 89% 63%, 90% 73%, 88% 77%, 80% 80%, 67% 81%, 35% 81%, 16% 80%, 7% 78%, 4% 74%, 4% 67%, 5% 56%, 8% 45%, 4% 42%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-minnesota-vikings-adjustable-cap-1.jpg"] {
  --catalog-photo-outline: polygon(0% 18%, 7% 9%, 16% 4%, 28% 1%, 43% 0%, 53% 1%, 64% 5%, 73% 12%, 77% 18%, 78% 25%, 76% 35%, 72% 43%, 70% 49%, 70% 63%, 67% 69%, 60% 74%, 48% 77%, 30% 77%, 16% 74%, 7% 69%, 4% 62%, 4% 52%, 2% 44%, 0% 40%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-miami-dolphins-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(9% 47%, 11% 39%, 15% 31%, 23% 25%, 35% 21%, 51% 20%, 67% 20%, 79% 22%, 87% 28%, 91% 35%, 92% 43%, 92% 49%, 88% 53%, 84% 55%, 85% 66%, 87% 77%, 85% 81%, 76% 83%, 60% 83%, 30% 83%, 19% 82%, 13% 80%, 10% 77%, 10% 70%, 11% 60%, 12% 54%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-kansas-city-chiefs-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(7% 51%, 11% 44%, 17% 37%, 23% 31%, 33% 28%, 46% 28%, 65% 28%, 76% 29%, 82% 34%, 84% 39%, 85% 45%, 82% 48%, 80% 50%, 80% 58%, 81% 69%, 81% 75%, 78% 78%, 65% 80%, 38% 82%, 21% 81%, 15% 78%, 13% 73%, 13% 65%, 14% 57%, 10% 55%, 7% 55%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-jacksonville-jaguars-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(7% 44%, 12% 36%, 19% 29%, 29% 25%, 39% 23%, 45% 20%, 51% 20%, 55% 21%, 68% 21%, 77% 24%, 84% 29%, 88% 36%, 91% 45%, 94% 49%, 89% 52%, 86% 57%, 86% 68%, 87% 79%, 85% 85%, 79% 89%, 66% 91%, 41% 92%, 26% 91%, 17% 90%, 13% 87%, 12% 82%, 12% 64%, 14% 56%, 10% 52%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-green-bay-packers-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(5% 46%, 8% 40%, 13% 36%, 19% 33%, 27% 30%, 34% 28%, 40% 28%, 43% 26%, 46% 26%, 49% 28%, 57% 28%, 66% 30%, 73% 33%, 79% 37%, 83% 43%, 87% 49%, 87% 53%, 83% 56%, 77% 59%, 77% 65%, 79% 74%, 79% 79%, 76% 83%, 71% 86%, 65% 88%, 48% 90%, 31% 89%, 19% 88%, 13% 85%, 10% 81%, 10% 74%, 10% 67%, 12% 59%, 8% 56%, 5% 52%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-detroit-lions-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(13% 40%, 17% 32%, 21% 27%, 28% 23%, 39% 20%, 48% 18%, 55% 19%, 67% 20%, 77% 23%, 84% 28%, 89% 34%, 91% 41%, 90% 45%, 87% 49%, 84% 51%, 85% 60%, 86% 66%, 84% 70%, 79% 71%, 65% 71%, 30% 73%, 21% 72%, 17% 68%, 16% 62%, 17% 53%, 17% 49%, 14% 46%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-denver-broncos-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(12% 51%, 16% 45%, 20% 40%, 28% 36%, 39% 33%, 47% 31%, 55% 32%, 61% 32%, 73% 33%, 81% 36%, 86% 40%, 88% 46%, 87% 52%, 83% 56%, 77% 60%, 77% 71%, 77% 79%, 75% 83%, 69% 85%, 58% 87%, 43% 88%, 31% 87%, 25% 85%, 21% 81%, 21% 72%, 22% 60%, 22% 57%, 15% 55%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-dallas-cowboys-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(15% 42%, 18% 35%, 23% 30%, 32% 26%, 44% 23%, 52% 21%, 58% 22%, 68% 24%, 79% 28%, 86% 32%, 91% 39%, 93% 46%, 92% 51%, 88% 55%, 88% 61%, 91% 73%, 92% 79%, 90% 83%, 85% 86%, 68% 88%, 42% 89%, 23% 88%, 16% 86%, 14% 83%, 14% 77%, 16% 65%, 17% 58%, 15% 52%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-cleveland-browns-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(0% 40%, 4% 33%, 11% 26%, 20% 20%, 32% 16%, 51% 12%, 66% 11%, 77% 11%, 86% 13%, 92% 18%, 95% 25%, 96% 35%, 100% 44%, 100% 48%, 96% 53%, 95% 61%, 96% 74%, 96% 84%, 94% 90%, 89% 94%, 78% 96%, 58% 98%, 36% 97%, 22% 95%, 15% 92%, 11% 87%, 11% 78%, 10% 63%, 10% 51%, 5% 47%, 1% 45%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-cincinnati-bengals-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(0% 52%, 3% 44%, 9% 37%, 18% 31%, 30% 27%, 45% 24%, 56% 23%, 67% 24%, 76% 26%, 85% 30%, 94% 35%, 99% 40%, 100% 47%, 96% 51%, 88% 57%, 90% 67%, 94% 79%, 94% 84%, 89% 87%, 77% 89%, 52% 90%, 25% 90%, 15% 89%, 10% 86%, 8% 81%, 9% 72%, 10% 60%, 6% 56%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-chicago-bears-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(12% 49%, 14% 43%, 21% 37%, 31% 32%, 43% 28%, 55% 26%, 61% 25%, 69% 26%, 78% 30%, 85% 35%, 90% 42%, 91% 47%, 88% 53%, 84% 58%, 85% 69%, 88% 82%, 86% 87%, 81% 90%, 65% 91%, 37% 93%, 22% 93%, 15% 91%, 13% 88%, 12% 82%, 13% 73%, 15% 63%, 17% 58%, 14% 54%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-carolina-panthers-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(0% 46%, 3% 39%, 10% 33%, 21% 28%, 34% 25%, 43% 23%, 53% 24%, 65% 25%, 75% 28%, 83% 32%, 86% 38%, 87% 44%, 84% 49%, 80% 53%, 76% 57%, 77% 67%, 79% 79%, 77% 83%, 70% 87%, 52% 90%, 38% 91%, 28% 90%, 21% 87%, 18% 83%, 16% 76%, 15% 63%, 14% 58%, 8% 55%, 5% 52%, 0% 51%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-buffalo-bills-adjustable-cap.jpg"] {
  --catalog-photo-outline: polygon(19% 38%, 22% 30%, 27% 24%, 33% 18%, 39% 12%, 44% 8%, 47% 6%, 49% 3%, 53% 2%, 57% 5%, 63% 5%, 71% 8%, 79% 11%, 83% 15%, 85% 20%, 85% 24%, 83% 29%, 80% 33%, 77% 37%, 77% 44%, 77% 55%, 77% 68%, 76% 73%, 74% 77%, 70% 80%, 61% 83%, 52% 84%, 42% 85%, 35% 84%, 31% 82%, 27% 78%, 25% 72%, 24% 61%, 24% 48%, 23% 43%, 20% 41%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nfl-adjustable-cap-officially-licensed-gear.jpg"] {
  --catalog-photo-outline: polygon(0% 23%, 1% 19%, 7% 13%, 14% 9%, 20% 5%, 27% 1%, 33% 0%, 48% 0%, 57% 0%, 63% 1%, 66% 5%, 68% 9%, 72% 15%, 75% 21%, 77% 27%, 77% 33%, 75% 38%, 73% 45%, 70% 51%, 70% 58%, 70% 66%, 69% 70%, 65% 73%, 57% 75%, 48% 75%, 39% 75%, 28% 75%, 20% 74%, 12% 72%, 7% 69%, 3% 65%, 1% 59%, 1% 52%, 0% 46%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/adidas-yeezy-350-v2-boost-zebra.jpg"] {
  --catalog-photo-outline: polygon(4% 62%, 7% 54%, 12% 50%, 13% 42%, 16% 36%, 22% 34%, 28% 34%, 32% 37%, 39% 36%, 47% 35%, 51% 35%, 54% 42%, 67% 42%, 72% 44%, 77% 43%, 83% 41%, 87% 42%, 89% 49%, 91% 57%, 93% 64%, 93% 71%, 89% 76%, 79% 79%, 59% 79%, 36% 77%, 16% 74%, 8% 71%, 5% 68%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/air-jordan-1-retro-high-og-bhm-black-history-month-size-11.jpg"] {
  --catalog-photo-outline: polygon(12% 21%, 14% 14%, 20% 11%, 26% 10%, 35% 8%, 45% 10%, 51% 13%, 57% 10%, 67% 8%, 76% 9%, 81% 13%, 82% 22%, 89% 25%, 94% 32%, 96% 43%, 96% 52%, 90% 54%, 91% 63%, 92% 75%, 90% 83%, 85% 89%, 77% 92%, 68% 92%, 61% 89%, 55% 84%, 51% 77%, 48% 82%, 43% 88%, 34% 92%, 26% 92%, 20% 89%, 15% 85%, 12% 78%, 11% 68%, 14% 53%, 16% 42%, 17% 35%, 15% 28%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/adidas-nmd-r1-prime-knit-ds-size-13.jpg"] {
  --catalog-photo-outline: polygon(3% 65%, 6% 55%, 8% 49%, 15% 46%, 22% 47%, 30% 46%, 34% 42%, 41% 41%, 48% 36%, 57% 34%, 63% 36%, 69% 35%, 76% 34%, 82% 37%, 86% 43%, 86% 50%, 89% 54%, 93% 61%, 98% 67%, 100% 73%, 98% 78%, 92% 81%, 83% 82%, 54% 81%, 26% 82%, 14% 81%, 7% 78%, 3% 73%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/adidas-x-pharrell-williams-solar-hu-nmd.jpg"] {
  --catalog-photo-outline: polygon(1% 55%, 6% 49%, 8% 45%, 13% 45%, 17% 50%, 22% 48%, 30% 47%, 36% 43%, 41% 44%, 45% 41%, 52% 41%, 56% 37%, 61% 37%, 67% 37%, 73% 39%, 77% 37%, 79% 35%, 82% 38%, 82% 44%, 86% 49%, 88% 54%, 93% 60%, 96% 66%, 96% 72%, 91% 77%, 83% 82%, 70% 84%, 52% 83%, 35% 81%, 21% 83%, 11% 81%, 3% 77%, 0% 72%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/air-force-1-07-twt.jpg"] {
  --catalog-photo-outline: polygon(0% 38%, 5% 36%, 12% 37%, 19% 38%, 25% 37%, 30% 34%, 32% 31%, 36% 30%, 40% 27%, 45% 28%, 50% 27%, 55% 28%, 57% 26%, 62% 25%, 68% 27%, 73% 29%, 82% 30%, 88% 30%, 91% 27%, 94% 29%, 95% 36%, 94% 44%, 95% 51%, 98% 56%, 100% 60%, 99% 64%, 94% 68%, 85% 70%, 74% 70%, 61% 70%, 45% 70%, 25% 70%, 11% 69%, 3% 66%, 1% 62%, 2% 56%, 1% 48%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/reference-samba-b75806.jpg"] {
  --catalog-photo-outline: polygon(7% 38%, 9% 32%, 10% 26%, 12% 25%, 14% 31%, 15% 37%, 19% 44%, 23% 47%, 27% 48%, 31% 45%, 34% 40%, 37% 34%, 39% 23%, 41% 19%, 44% 21%, 49% 26%, 53% 32%, 58% 39%, 65% 46%, 72% 50%, 80% 54%, 86% 58%, 90% 62%, 91% 68%, 88% 74%, 83% 78%, 74% 81%, 59% 83%, 43% 83%, 26% 83%, 12% 83%, 8% 82%, 7% 78%, 7% 71%, 7% 64%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/reference-af1-white.jpg"] {
  --catalog-photo-outline: polygon(6% 64%, 8% 60%, 11% 57%, 18% 55%, 25% 53%, 32% 51%, 37% 49%, 42% 47%, 46% 46%, 51% 43%, 55% 43%, 59% 46%, 65% 47%, 73% 49%, 79% 48%, 85% 46%, 89% 44%, 92% 43%, 94% 45%, 94% 50%, 94% 56%, 94% 63%, 93% 69%, 89% 72%, 76% 73%, 55% 73%, 30% 73%, 16% 73%, 8% 72%, 6% 70%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/jordan-9-retro-chile-red.jpg"] {
  --catalog-photo-outline: polygon(5% 55%, 7% 49%, 10% 42%, 14% 40%, 18% 42%, 24% 38%, 33% 38%, 39% 36%, 44% 36%, 49% 41%, 54% 38%, 61% 36%, 64% 30%, 68% 28%, 73% 28%, 77% 30%, 83% 29%, 87% 31%, 90% 35%, 91% 41%, 91% 49%, 88% 53%, 92% 57%, 96% 62%, 98% 67%, 96% 72%, 91% 77%, 82% 80%, 69% 83%, 54% 82%, 41% 81%, 26% 81%, 15% 79%, 9% 76%, 6% 70%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/nike-air-presto-offwhite-white.jpg"] {
  --catalog-photo-outline: polygon(0% 36%, 3% 30%, 7% 26%, 11% 26%, 16% 28%, 22% 31%, 27% 28%, 32% 25%, 36% 19%, 42% 16%, 45% 18%, 48% 14%, 52% 17%, 56% 17%, 63% 20%, 69% 14%, 73% 15%, 77% 20%, 82% 17%, 89% 16%, 91% 20%, 94% 25%, 95% 31%, 97% 36%, 100% 43%, 100% 47%, 97% 52%, 94% 55%, 90% 58%, 80% 61%, 68% 62%, 54% 63%, 38% 63%, 22% 63%, 9% 61%, 1% 57%, 0% 53%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/yeezy-350-boost-beluga-2016.jpg"] {
  --catalog-photo-outline: polygon(0% 45%, 4% 40%, 8% 36%, 12% 33%, 16% 35%, 22% 33%, 27% 31%, 31% 29%, 35% 31%, 42% 28%, 48% 30%, 56% 31%, 63% 34%, 69% 37%, 76% 36%, 81% 34%, 86% 35%, 90% 39%, 93% 44%, 94% 48%, 97% 51%, 100% 56%, 100% 59%, 96% 61%, 87% 63%, 69% 63%, 51% 63%, 34% 63%, 17% 62%, 8% 59%, 2% 55%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src*="/assets/catalog/jordan-8-retro-auqa-2025.jpg"] {
  --catalog-photo-outline: polygon(4% 55%, 7% 50%, 9% 45%, 13% 40%, 19% 36%, 26% 32%, 33% 30%, 38% 29%, 45% 33%, 52% 37%, 57% 36%, 64% 34%, 70% 30%, 78% 26%, 86% 26%, 91% 25%, 95% 28%, 97% 34%, 97% 42%, 96% 48%, 95% 55%, 96% 62%, 98% 65%, 96% 68%, 91% 71%, 81% 72%, 60% 72%, 36% 71%, 20% 69%, 11% 67%, 6% 63%);
}

:is(.item-media img, .product-photo-dialog img.catalog-photo)[src$="/champion-method-sling-bag-black.jpg"] {
  --catalog-photo-outline: polygon(27% 81%, 27% 79%, 29% 78%, 33% 80%, 34% 77%, 34% 59%, 37% 45%, 40% 33%, 44% 26%, 45% 22%, 45% 8%, 60% 8%, 60% 19%, 59% 23%, 60% 26%, 64% 33%, 68% 44%, 71% 57%, 73% 72%, 73% 77%, 72% 82%, 70% 86%, 67% 90%, 62% 92%, 43% 92%, 39% 90%, 36% 85%, 34% 83%, 31% 83%, 29% 84%, 27% 83%);
}
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src$="/champion-iconic-crew-socks-white-6-pack.jpg"] {
  --catalog-photo-outline: polygon(32% 10%, 33% 7%, 35% 6%, 40% 7%, 45% 10%, 49% 10%, 51% 8%, 55% 8%, 57% 10%, 62% 9%, 65% 10%, 67% 13%, 67% 17%, 65% 28%, 64% 37%, 64% 49%, 63% 58%, 63% 70%, 64% 81%, 64% 92%, 62% 95%, 42% 95%, 38% 93%, 35% 91%, 34% 87%, 34% 76%, 35% 62%, 35% 48%, 36% 36%, 34% 22%);
}

/* Normalize the studio backdrop on these catalog photos. Offer photos keep their original appearance. */
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src$="/goodfellow-braided-web-belt-black.jpg"],
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src$="/goodfellow-cuffed-knit-beanie-black.jpg"] { filter: brightness(1.081); }
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src$="/vitaly-vaurus-signet-ring-silver.jpg"],
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src$="/vitaly-glitch-pendant-stainless-steel.jpg"] { filter: brightness(1.059); }
:is(.item-media img, .product-photo-dialog img.catalog-photo)[src$="/eagle-creek-undercover-rfid-neck-pouch-black.jpg"] { filter: brightness(1.037); }


.buyer-order-timeline { margin-block: 20px; }
.buyer-order-timeline ol { display: grid; gap: 6px; padding-inline-start: 1.5rem; }
.buyer-order-timeline li { padding: 6px 8px; border-radius: 4px; }
.buyer-order-timeline li[aria-current="step"] { background: var(--surface, #f4f5f8); border: 1px solid var(--line); }
.buyer-order-timeline li[data-step-state="upcoming"] { color: var(--muted); }
.buyer-order-timeline li time, .buyer-order-timeline li span { display: block; }
.seller-fulfillment h3 { margin-block: 16px 8px; }
.seller-sale { overflow-wrap: anywhere; }
.seller-ship-by { margin-block: 8px; font-weight: 700; }
.seller-ship-overdue { color: var(--error); }
.seller-shipment-form { margin-top: 10px; }
.seller-shipment-form summary { cursor: pointer; padding-block: 10px; }
.seller-shipment-form form { max-width: 30rem; }

.market-nav a[href="/culture"] { --category-ink: #236063; }

.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-card, .news-story-header {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.news-photo { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #fff; }
.news-photo img { width: 100%; height: 100%; max-height: 320px; padding: 16px; object-fit: contain; }
.news-card-copy { padding: clamp(16px, 3vw, 26px); }
.news-card-copy .eyebrow, .news-story-header .eyebrow { color: var(--category-ink); margin-bottom: 8px; }
.news-card-copy h2 { font-size: clamp(1.25rem, 2.25vw, 1.7rem); line-height: 1.12; margin-bottom: 9px; }
.news-card-copy p { margin: 0 0 12px; }
.news-card-copy .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.news-market-picks { margin-top: 32px; }
.news-story-header { display: grid; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.news-story-header > div:first-child { padding: clamp(20px, 4vw, 48px); }
.news-story-header h1 { font: 900 clamp(2.3rem, 5vw, 4.6rem) / .95 var(--display); margin-bottom: 14px; }
.news-story-header p { max-width: 54ch; }
.news-story-actions { display: flex; gap: 10px; flex-wrap: wrap; }
body:has(.news-drawer[open]) { overflow: hidden; }
.news-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0;
  width: min(100%, 440px); max-width: none; height: 100%; max-height: none;
  border: 0; border-left: 1px solid var(--line); background: white; color: var(--ink);
  box-shadow: -12px 0 40px #10112024; overscroll-behavior: contain;
}
.news-drawer::backdrop { background: #10112099; }
.news-drawer-content { padding: 0 clamp(16px, 4vw, 24px) 24px; }
.news-drawer-header {
  position: sticky; top: 0; z-index: 1; background: white; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0;
}
.news-drawer-header h2 { margin: 0; font-size: 1.25rem; }
.news-drawer .button, .news-drawer select { min-height: 44px; }
.news-drawer-product { padding-block: 16px; }
.news-drawer-identity { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; }
.news-drawer-identity .item-media { aspect-ratio: 1; border: 1px solid var(--line); }
.news-drawer-identity h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.news-drawer-offer { display: grid; gap: 8px; margin-top: 10px; }
.news-drawer-offer label, .news-drawer-offer select { min-width: 0; }
.news-drawer-detail { display: inline-flex; align-items: center; min-height: 44px; }
.news-story-body { max-width: 70ch; margin-block: 32px; }
.news-story-body h2 { font-size: 1.3rem; }
.news-story-body section + section { margin-top: 24px; }
.news-story-body li + li { margin-top: 8px; }

@media (max-width: 600px) {
  .news-grid, .news-story-header { grid-template-columns: minmax(0, 1fr); }
  .news-story-header .news-photo { grid-row: 1; }
}

.market-nav .rail-cart { gap: 6px; --category-ink: #344463; }
.rail-cart svg { flex: none; }
.cart-count:not(:empty) {
  min-width: 20px; min-height: 20px; padding-inline: 5px; border-radius: 999px;
  background: #b91c32; color: white; font-size: .72rem; font-variant-numeric: tabular-nums;
  display: inline-grid; place-items: center;
}
.cart-flight {
  position: fixed; z-index: 100; width: 64px; height: 64px; object-fit: contain;
  border: 1px solid var(--line); border-radius: 12px; background: white; pointer-events: none;
  box-shadow: 0 4px 16px #121a3033;
}
span.cart-flight { display: grid; place-items: center; }
.cart-columns { align-items: start; }
.cart-payment-status { margin-bottom: 16px; }
.cart-item { display: flex; align-items: flex-start; gap: 14px; }
.cart-item h2 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.cart-item .item-media { width: clamp(68px, 15vw, 104px); aspect-ratio: 1; flex: none; }
.cart-item .button { min-height: 44px; }
.cart-item .inline-action { flex-wrap: wrap; }
.cart-browse { margin-top: 16px; }
@media (max-width: 600px) {
  .masthead .header-actions { flex-wrap: wrap; }
}

.helix-checkout-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.helix-checkout-card .item-card { flex: 1; }
.helix-checkout-card > .button { min-height: 44px; align-self: flex-start; }


.catalog-summary { min-height: 1.55em; }
.discovery-actions { min-height: 44px; }
.offer-selection-summary { min-height: 48px; }
.offer-selection-actions { min-height: 44px; }

/* The Capsule opens beyond its reserved header slot. Keep its menu above the hero. */
.site-header:has(#header-capsule [aria-expanded="true"]) {
  position: relative;
  z-index: 20;
}


.site-header .masthead {
  width: min(1480px, calc(100% - clamp(32px, 6vw, 96px)));
  gap: 12px clamp(14px, 2vw, 30px);
}
.site-header .masthead .wordmark { gap: clamp(6px, .75vw, 11px); }
.site-header .masthead .header-search { width: 100%; max-width: 760px; }
.site-header .header-search-submit { display: grid; place-items: center; width: 48px; min-width: 44px; padding: 0; }
.site-header .masthead .header-actions {
  display: flex;
  gap: clamp(8px, 1.2vw, 16px);
  min-width: 0;
}
.site-header .header-actions .account-link { white-space: nowrap; }
.site-header .header-actions .account-link[hidden] { display: none; }

@media (min-width: 861px) and (max-width: 1060px) {
  .site-header .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 10px 12px;
  }
  .site-header .masthead .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    max-width: none;
  }
  .site-header .header-actions { grid-column: 2; grid-row: 1; }
}

@media (max-width: 860px) {
  .site-header .masthead {
    grid-template-columns: minmax(44px, 1fr) auto 44px auto;
    gap: 8px 10px;
    padding-block: 8px 10px;
  }
  .site-header .masthead .header-actions { display: contents; }
  .site-header .masthead .header-search { grid-column: 1 / -1; grid-row: 2; min-width: 0; max-width: none; }
  .site-header .header-actions .header-sell { grid-column: 4; grid-row: 1; align-self: center; margin: 0; }
  .site-header .header-actions .account-link {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    min-height: 44px;
    white-space: nowrap;
  }
  .site-header .masthead .brand-name {
    min-width: 0;
    width: clamp(88px, 24vw, 158px);
    flex-shrink: 1;
  }
  .site-header .brand-monogram { width: clamp(36px, 8vw, 44px); }
}
@media (min-width: 861px) {
  .site-header .masthead .brand-monogram { display: none; }
  .site-header .masthead .brand-name { width: clamp(175px, 21vw, 275px); }
}
@media (max-width: 860px) {
  .site-header .masthead .brand-name { display: none; }
}
@media (max-width: 500px) {
  .site-header .masthead > .wordmark {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: start;
    min-height: 48px;
  }
  .site-header .masthead .brand-monogram { width: clamp(43px, 12vw, 52px); }
  .site-header .header-actions .account-link { grid-column: 1; }
}
@media (max-width: 390px) {
  .site-header .masthead { width: calc(100% - 24px); gap: 8px; }
  .site-header .header-search-submit { width: 44px; }
  .site-header .header-search input { font-size: .9rem; }
  .site-header .masthead .header-sell { padding-inline: 7px; }
}

@media (max-width: 350px) {
  .site-header .masthead { column-gap: 4px; }
  .site-header .masthead .header-sell { padding-inline: 5px; font-size: .78rem; }
}

/* The storefront account link moves from the header to the rail on narrow screens. */
.market-nav .rail-account-link { display: none; }
@media (max-width: 860px) {
  .site-header .header-actions .account-link { display: none; }
  .market-nav .rail-account-link { display: flex; }
}

.account-portal {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  min-height: min(730px, 78vh);
  margin-block: clamp(16px, 3vw, 44px);
  border: 1px solid #deddd8;
  border-radius: 20px;
  background: #fff;
}
.account-portal-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 620px;
  gap: 16px;
  padding: clamp(28px, 4.8vw, 72px);
  border-radius: 19px 0 0 19px;
  background:
    linear-gradient(180deg, #0a0a0bd9 0%, #0a0a0b99 34%, transparent 72%),
    #161816 url('/assets/account-sneaker-studio.jpg') center bottom / cover no-repeat;
  color: #f6f5ef;
}
.account-portal-intro p { margin: 0; max-width: 34ch; line-height: 1.6; }
.account-portal-intro p:first-child { font-size: .76rem; font-weight: 800; letter-spacing: .18em; }
.account-portal-intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.account-portal-access {
  display: grid;
  align-content: center;
  justify-content: center;
  grid-template-columns: minmax(0, 400px);
  padding: clamp(22px, 4vw, 64px);
  color: #171917;
}
.account-portal-form { display: grid; gap: 14px; margin: 0; }
.account-portal-form h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.account-portal-form .note { margin: 0; }
.account-password-toggle {
  justify-self: end;
  border: 0;
  padding: 6px 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .84rem;
  text-decoration: underline;
  cursor: pointer;
}
.account-portal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 20px;
  color: #595a54;
  font-size: .84rem;
}
.account-portal-divider::before, .account-portal-divider::after {
  flex: 1;
  height: 1px;
  background: #deddd8;
  content: "";
}
.account-portal-access #account-capsule { display: grid; justify-items: center; }
.account-portal-access #account-capsule .latch-capsule-root {
  grid-template-columns: minmax(0, 1fr);
}
.account-portal-access #account-capsule .latch-account-panel {
  min-width: 0;
  max-width: 100%;
  justify-self: center;
}
@media (max-width: 760px) {
  .account-portal { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .account-portal-intro {
    gap: 12px;
    min-height: 355px;
    padding-bottom: 145px;
    border-radius: 19px 19px 0 0;
    background-position: center, center 74%;
  }
}

/* Match the graphite capsules on both storefront sign-in surfaces. */
@media (forced-colors: none) {
  :is(#header-capsule, #account-capsule) .latch-account-panel {
    color-scheme: dark;
    background: linear-gradient(160deg, #353537, #222224 54%, #151516);
    border-color: #565658;
    color: #f5f5f5;
    box-shadow: 0 12px 28px #10101138;
    overflow-wrap: anywhere;
  }
  :is(#header-capsule, #account-capsule) .latch-panel-brand img {
    filter: brightness(0) invert(1);
  }
  :is(#header-capsule, #account-capsule) .latch-account-panel :is(h2, .latch-panel-name, .latch-panel-footer a) {
    color: #f5f5f5;
  }
  :is(#header-capsule, #account-capsule) .latch-account-panel :is(.latch-panel-copy, .latch-panel-status, .latch-panel-flow-status, .latch-panel-footer) {
    color: #d5d5d7;
  }
  :is(#header-capsule, #account-capsule) .latch-account-panel .latch-panel-footer {
    border-color: #656567;
  }
  :is(#header-capsule, #account-capsule) .latch-panel-footer a {
    font-size: .8125rem;
  }
  :is(#header-capsule, #account-capsule) .latch-account-panel :is(.latch-panel-primary, .latch-panel-close, .latch-panel-cancel) {
    background: #444446;
    border-color: #838386;
    color: #fff;
  }
  :is(#header-capsule, #account-capsule) .latch-account-panel :is(.latch-panel-primary, .latch-panel-close, .latch-panel-cancel):hover:not(:disabled) {
    background: #535355;
  }
  :is(#header-capsule, #account-capsule) .latch-account-panel :focus-visible {
    outline-color: #f5f5f5;
  }
}
:is(#header-capsule, #account-capsule) .latch-panel-close {
  flex: 0 0 44px;
}

.order-status-card { max-width: 720px; }
.order-status-heading { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.order-status-heading h2 { margin: 8px 0 14px; }
.order-status-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.order-reference { display: inline-block; font: 600 clamp(.65rem, 2.8vw, .83rem)/1.5 ui-monospace, monospace; white-space: nowrap; }
.order-status-card .buyer-order-timeline ol { list-style: none; padding: 0; margin: 12px 0 0; gap: 0; }
.order-status-card .buyer-order-timeline li { position: relative; padding: 10px 12px 10px 30px; border: 0; }
.order-status-card .buyer-order-timeline li::before { content: ''; position: absolute; top: 15px; left: 10px; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.order-status-card .buyer-order-timeline li:is([data-step-state="complete"],[data-step-state="current"])::before { background: currentColor; }
.order-status-card .buyer-order-timeline li:not(:last-child)::after { content: ''; position: absolute; top: 25px; bottom: -14px; left: 14px; width: 1px; background: var(--line); }
.admin-orders-list { border: 1px solid #444855; border-radius: 12px; background: #151721; color: #f4f5f8; }
.admin-order + .admin-order { border-top: 1px solid #444855; }
.admin-order summary { cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 16px; }
.admin-order summary:focus-visible { outline: 2px solid #b7d3ff; outline-offset: 2px; }
.admin-order summary .order-reference { display: block; color: #b7c2db; margin-top: 4px; }
.admin-order .status-label { background: #2f3a50; color: #f4f5f8; }
.admin-order-detail { border-top: 1px solid #444855; padding: 16px; overflow-wrap: anywhere; }
.admin-order-detail .note, .admin-order-detail a { color: #b7c2db; }
.admin-order-detail .button-outline { color: #f4f5f8; border-color: #b7c2db; }
.admin-order-pagination { display: flex; align-items: center; gap: 12px; margin-block: 20px; }
@media (max-width: 500px) {
  .admin-order summary { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-order summary > :first-child { grid-column: 1 / -1; }
}

.admin-orders { max-width: 1280px; }
.admin-order-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 20px 0; }
.admin-order-filters label { display: grid; gap: 5px; font-size: .9rem; font-weight: 650; }
.admin-order-filters label:first-child { flex: 1 1 270px; }
.admin-order-filters input, .admin-order-filters select { min-height: 44px; width: 100%; }
.admin-order-filters .button { min-height: 44px; }
.admin-order summary { grid-template-columns: minmax(0, 1fr) auto auto auto 14px; gap: 16px; }
.admin-order summary time { color: #b7c2db; font-size: .82rem; }
.admin-order-chevron { width: 9px; height: 9px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.admin-order[open] .admin-order-chevron { transform: rotate(225deg); }
.admin-order-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.admin-order-grid h3 { margin: 0 0 8px; }
.admin-order-grid .summary-list { --line: #444855; }
.admin-order-grid .summary-list dt { color: #b7c2db; }
.admin-refund-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; }
.admin-refund-actions p:empty { display: none; }
.admin-orders-empty { padding: clamp(24px, 5vw, 56px); text-align: center; }
.admin-orders-empty h2 { margin: 0 0 8px; color: inherit; }
.admin-orders-empty p { margin: 0; color: #b7c2db; }
@media (max-width: 760px) {
  .admin-order-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-order summary { grid-template-columns: minmax(0, 1fr) auto 14px; gap: 8px 12px; }
  .admin-order-identity { grid-column: 1 / -1; }
  .admin-order summary time { grid-column: 1 / -1; }
}

/* Shared empty states for discovery and search. */
.catalog-empty {
  grid-column: 1 / -1;
  padding: clamp(18px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.catalog-empty h3 { margin: 0 0 6px; }
.catalog-empty p { color: var(--muted); margin: 0 0 14px; }
.catalog-empty p:last-child { margin-bottom: 0; }

/* Order and support workspaces */
.ops-status-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr));
  gap: 8px;
  margin-block: 18px;
}
.ops-status-nav :is(a, button) {
  display: grid;
  gap: 4px;
  box-sizing: border-box;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: .8rem;
}
.ops-status-nav :is(a, button) strong { font-size: 1.1rem; }
.ops-status-nav a[aria-current="page"] { background: #151721; color: #fff; border-color: #151721; }
.ops-status-nav button { text-align: left; font-family: inherit; cursor: pointer; }
[data-ops-queue] { scroll-margin-top: var(--header-height, 112px); }
.support-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr);
  align-items: start;
  gap: 18px;
}
.support-sidebar { display: grid; gap: 16px; min-width: 0; }
.support-sidebar h2, #support-ticket-form h2 { margin-block: 0 12px; }
.support-history { list-style: none; padding: 0; margin: 0; }
.support-history li { display: grid; gap: 4px; padding: 12px 0; overflow-wrap: anywhere; }
.support-history li + li { border-top: 1px solid var(--line); }
.support-history li > div, .support-ticket-card > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.support-history code { font-size: .74rem; }
.support-history small { color: var(--muted); }
.support-ticket-card { overflow-wrap: anywhere; }
.support-ticket-card h2 { margin-block: 6px 12px; }
.support-ticket-message { white-space: pre-wrap; }
.admin-refund-actions [hidden] { display: none; }
.admin-refund-actions [data-refund-message] { flex-basis: 100%; }
@media (max-width: 700px) {
  .support-workspace-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Seller out-of-stock queue, listing facts, and publishing progress. */
.seller-listing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.seller-listing-head h2, .seller-listing-head h3, .seller-listing-head h4 { margin: 0; }
.seller-listing-head .note { margin: 4px 0 0; }
.seller-listing-queues, .seller-listing-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr));
  gap: 8px;
  margin: 12px 0;
}
.seller-listing-queues button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  text-align: start;
  padding: 8px 10px;
  font: inherit;
  cursor: pointer;
}
.seller-listing-queues button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.seller-listing-meta > div {
  border-block-start: 1px solid var(--line);
  padding-block-start: 7px;
}
.seller-listing-meta dt { font-size: .85rem; color: var(--muted); }
.seller-listing-meta dd { margin: 4px 0 0; font-weight: 700; }
.dashboard-listing[data-listing-state="sold-out"] [data-seller-listing-status] {
  background: #fdf0cf;
  color: #663b06;
}
.seller-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
  margin: 0 0 16px;
  list-style: none;
  counter-reset: seller-step;
}
.seller-steps li {
  padding: 6px 4px;
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
  overflow-wrap: anywhere;
  counter-increment: seller-step;
}
.seller-steps li::before { content: counter(seller-step) ". "; }
.seller-steps li[aria-current="step"], .seller-steps .seller-step-complete {
  border-color: var(--cobalt);
  color: var(--ink);
}
.seller-steps li[aria-current="step"] { font-weight: 700; }
.seller-fulfillment-tools { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.seller-fulfillment-tools label { flex: 0 1 22rem; }
.seller-sale-reference { overflow-wrap: anywhere; }

/* Product identity and sourcing. */
.product-release-code { color: var(--muted); font-size: .88rem; margin: 7px 0; }
.product-release-code strong { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.product-source-panel {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: clamp(14px, 2.5vw, 20px);
  margin-block: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}
.product-source-panel h2, .product-source-panel p { margin: 0; }
.product-source-panel h2 { font-size: 1.25rem; }
.product-source-panel details { border-top: 1px solid var(--line); padding-top: 10px; width: 100%; }
.product-source-panel summary { cursor: pointer; font-weight: 700; }
.product-size-alert { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.product-size-alert label, .product-size-alert .note { grid-column: 1 / -1; }
.product-size-alert select { min-width: 0; }
@media (max-width: 480px) {
  .product-size-alert { grid-template-columns: minmax(0, 1fr); }
}
.seller-review-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 10px; }
.seller-review-photos img {
  display: block;
  width: min(116px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.listing-photos { margin-block: 0 20px; }
.listing-photos h2 { font-size: 1rem; margin: 0 0 8px; }
.listing-photo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.listing-photo-pick { position: relative; min-height: 44px; overflow: hidden; cursor: pointer; }
.listing-photo-pick:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.listing-photo-pick:has(input:disabled) { opacity: .55; cursor: wait; }
.listing-photo-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: inherit; }
.listing-photo-previews { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 86px), 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.listing-photo-previews li { min-width: 0; }
.listing-photo-previews img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.listing-photo-previews button { min-height: 44px; width: 100%; padding-inline: 4px; }
@media (max-width: 420px) {
  .listing-photo-actions > label { flex: 1 1 120px; justify-content: center; }
}
