.studio-catalog.wrap .catalog-mast {
  isolation: isolate; position: relative; overflow: hidden; display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr);
  min-height: clamp(180px,15vw,240px); border: 0; border-radius: var(--ms-card-radius);
  background: var(--object-bg); color: #24252b;
}
.studio-catalog.wrap .catalog-mast.mast-collection { background: var(--ms-sage) }
.studio-catalog.wrap .catalog-mast .catalog-intro { align-self: center; padding: clamp(18px,2.3vw,34px) clamp(20px,3vw,46px); z-index: 1 }
.studio-catalog.wrap .catalog-mast h1 { max-width: 16ch; font: 800 clamp(2.4rem,4.5vw,4.6rem)/.98 var(--display); letter-spacing: -.055em; text-wrap: balance }
.studio-catalog .catalog-mast h1::before, .studio-catalog.wrap .catalog-mast figure::before { content: none }
.studio-catalog.wrap .catalog-mast p { display: block; margin-top: 10px; color: #454650; line-height: 1.4 }
.studio-catalog .catalog-tryon {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; padding-inline: 16px;
  margin-top: 14px; border-radius: 999px; color: white; background: #202126; text-decoration: none; font-weight: 700;
}
.catalog-tryon svg { width: 17px; height: 17px }
.studio-catalog.wrap .catalog-mast .catalog-cover-art {
  position: relative; display: grid; place-items: center; align-self: stretch; justify-self: center;
  width: 100%; max-width: 430px; min-width: 0; margin: 0; padding: 0; background: transparent;
}
.studio-catalog.wrap .catalog-mast .catalog-cover-art::before {
  content: ""; position: absolute; inset: 8% 8% 7%; border: 0; border-radius: 50%;
  background: linear-gradient(155deg,#ffffff6b,#ffffff10); transform: rotate(-9deg);
}
.studio-catalog.wrap .catalog-cover-art img { position: absolute; inset: 4%; width: 92%; height: 92%; max-height: none; object-fit: contain }
.studio-catalog.wrap .catalog-look .look-hoodie { inset: 0 0 0 auto; width: 84%; height: 100%; transform: rotate(6deg) }
.studio-catalog.wrap .catalog-look .look-accessory { inset: auto auto 2% 0; width: 48%; height: 62%; transform: rotate(-13deg) }
.studio-catalog.wrap:has(.catalog-custom) .catalog-mast h1 { font-size: clamp(2rem,3.6vw,4rem) }

.studio-catalog .catalog-browse .browse-toolbar { display: grid; grid-template-columns: minmax(160px,1.55fr) minmax(160px,.95fr) max-content max-content; gap: 8px; align-items: start }
.studio-catalog .browse-toolbar > .catalog-search { min-height: 46px; padding-inline: 14px; margin: 0; background: #f2f4f3; color: #202126; border: 0; border-radius: 14px }
.studio-catalog .catalog-search:focus-within { outline: 2px solid var(--ms-focus); outline-offset: 2px }
.studio-catalog .catalog-search input:focus { outline: 0 }
.studio-catalog .browse-toolbar :is(.catalog-switch details,.browse-filter-toggle,.catalog-compare,.density-filter select) {
  border: 0; border-radius: 14px; background: #f2f4f3; color: #202126;
}
.studio-catalog .catalog-switch summary::after, .studio-catalog .catalog-compare summary::after { content: none }
.studio-catalog .catalog-switch summary > svg, .studio-catalog .catalog-compare summary > svg { flex: none; width: 16px; height: 16px }
.studio-catalog details[open] > summary > svg { transform: rotate(180deg) }
.studio-catalog .catalog-compare summary { justify-content: flex-start; gap: .28em }
.studio-catalog .catalog-compare summary > svg { margin-inline-start: auto }
.studio-catalog .catalog-compare[open] { grid-column: 1/-1 }
.studio-catalog .browse-toolbar .catalog-switch:has(details[open]) { grid-column: 1/-1; grid-row: 2 }
.studio-catalog .browse-toolbar .catalog-switch:has(details[open]) ~ .filter-panel { grid-column: 2 }
.studio-catalog .browse-toolbar .catalog-switch:has(details[open]) ~ .catalog-compare:not([open]) { grid-column: 3/-1 }
.studio-catalog .catalog-nav-photo { display: grid; flex: none; overflow: hidden; border-radius: 10px; background: var(--object-bg) }
.studio-catalog .category-menu .catalog-nav-photo img { background: transparent }
/* The complete assortment is reachable before the model grid. */
.studio-catalog .catalog-shortcuts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(95px,1fr); gap: 6px; overflow-x: auto; padding: 3px; margin: 9px -3px 14px; scrollbar-width: thin; scroll-snap-type: x proximity }
.catalog-shortcuts a { display: grid; align-content: start; justify-items: center; gap: 4px; padding: 5px 6px 8px; background: var(--object-bg); border-radius: 14px; color: var(--ms-text); text-decoration: none; text-align: center; scroll-snap-align: start }
.catalog-shortcuts img { display: block; width: 100%; height: clamp(43px,4.5vw,67px); object-fit: contain }
.catalog-shortcuts strong { font: 650 clamp(.74rem,.9vw,.9rem)/1.13 var(--body); overflow-wrap: anywhere }
.studio-catalog:has(#catalog-search:not(:placeholder-shown)) .catalog-shortcuts { display: none }
.studio-catalog .catalog-browse .result-head { margin: 15px 0 9px; padding: 0; border: 0 }
.studio-catalog .result-head h2 { font-size: clamp(1.4rem,3vw,2.35rem); font-weight: 800; letter-spacing: -.05em }
.studio-catalog .product-grid { gap: clamp(10px,1.4vw,22px) }
.studio-catalog .product-grid .product-card {
  background: color-mix(in srgb,var(--object-bg) 74%,white); color: #202126;
  border: 0; overflow: hidden; border-radius: var(--ms-card-radius);
}
.studio-catalog .product-grid .model-visual { overflow: hidden }
.studio-catalog .product-grid .product-photo { background: transparent; border-radius: 0; aspect-ratio: 4/5 }
.studio-catalog .product-grid .product-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center }
.studio-catalog .product-grid .model-visual[data-photo-view=worn] img { object-fit: contain; object-position: center bottom; padding: 7px 3px 0 }
.studio-catalog .product-grid .model-caption {
  --ms-text: #202126; --ms-muted: #4b4b50;
  border: 0; padding: clamp(10px,1vw,16px); background: transparent; color: var(--ms-text);
}
.studio-catalog .product-grid .model-caption h3 { letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere }
.studio-catalog .product-grid .model-caption .model-material { order: 1; margin: 4px 0 0 }
.studio-catalog .product-grid .model-caption .model-purchase { border: 0; margin-top: 3px; padding-block: 4px 0 }
.studio-catalog .product-grid .model-bag, .studio-catalog .product-grid .model-design { border: 0; border-radius: 50% }
.studio-catalog .product-grid .model-design { background: white; color: #202126 }
.studio-catalog .product-grid .model-bag { background: #202126; color: white }
.studio-catalog .catalog-custom { padding: 0 clamp(0px,1vw,12px); border: 0; border-radius: 0; background: white }
.studio-catalog .catalog-custom .variant-options label { min-width: 0; padding: 7px 5px; border: 0; border-radius: 14px; background: var(--ms-panel); box-shadow: none }
.studio-catalog .catalog-custom .variant-options label:has(input:checked) { background: var(--ms-selection) }
.studio-catalog .catalog-custom .variant-options:has([data-variant-photo]) { grid-template-columns: repeat(3,minmax(0,1fr)) }
.studio-catalog .catalog-custom .variant-options input { accent-color: var(--ms-text) }
.studio-catalog .catalog-custom .variant-options img { height: clamp(64px,7vw,100px); object-fit: contain }
.studio-catalog .catalog-custom .variant-credit { margin: -5px 0 4px; font-size: .78rem }
.studio-catalog .catalog-custom .method-choice { margin: 0; min-width: 0; font-size: .88rem }
.studio-catalog .catalog-custom .garment-order-fields :is(input,select) { width: 100%; max-width: none; padding: 8px 10px; min-height: 44px; border: 0; border-radius: 11px; background: var(--ms-panel) }
.studio-catalog .catalog-custom .button { margin: 2px 0 0; border-radius: 999px; justify-content: center }
.studio-catalog > .catalog-switch details { border: 0; border-radius: 16px; background: var(--ms-panel) }
.studio-catalog .category-menu, .studio-catalog .category-index, .studio-catalog .category-column h3 { border: 0 }
.studio-catalog .category-menu a[aria-current] { background: var(--ms-selection) }
.studio-catalog .category-menu a[aria-current]::after { background: transparent; color: var(--ms-text) }

.studio-product.wrap { grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); column-gap: clamp(20px,4vw,60px) }
.studio-product.wrap .detail-gallery { display: grid; grid-template-columns: clamp(60px,6vw,88px) minmax(0,1fr); gap: 9px 12px; align-items: start }
.studio-product.wrap .detail-gallery .main-photo {
  position: relative; grid-column: 2; grid-row: 1; overflow: hidden; aspect-ratio: .91; max-height: 68svh;
  border-radius: var(--ms-card-radius); background: color-mix(in srgb,var(--object-bg) 65%,white);
}
.studio-product.wrap .main-photo #model-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 100%; object-fit: contain; object-position: center }
.studio-product.wrap .detail-gallery:has([data-gallery-view=flat][aria-pressed=true]) #model-photo { object-fit: cover }
.studio-product.wrap .detail-gallery .thumbs { grid-column: 1; grid-row: 1; position: static; display: grid; gap: 6px; width: 100%; margin: 0; padding: 0; border: 0; background: transparent }
.studio-product.wrap .detail-gallery .thumbs button { display: grid; justify-items: center; gap: 4px; min-width: 0; min-height: 44px; padding: 5px; border: 0; border-radius: 13px; background: transparent; color: var(--ms-text); font: 600 .74rem/1.15 var(--body) }
.studio-product.wrap .detail-gallery .thumbs button[aria-pressed=true] { color: var(--ms-text); background: var(--ms-selection); box-shadow: none }
.studio-product.wrap .detail-gallery .thumbs img { width: 100%; height: auto; max-width: 55px; aspect-ratio: 1; object-fit: contain }
.studio-product .detail-gallery .gallery-caption { grid-column: 2; line-height: 1.4; margin: 0 }
.studio-product.wrap .detail-copy { min-width: 0; padding: 6px 0 0 }
.studio-product.wrap .detail-copy h1 { font: 810 clamp(2.15rem,4.75vw,5rem)/.98 var(--display); letter-spacing: -.055em; overflow-wrap: anywhere }
.garment-category { display: inline-flex; align-items: center; min-height: 32px; color: var(--ms-muted); font-weight: 650; text-underline-offset: 3px }
.studio-product .garment-spec { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 }
.studio-product .garment-spec span { padding: 0; border: 0; background: transparent; color: var(--ms-muted); font-size: .84rem }
.studio-product .garment-spec span + span::before { content: "·"; margin-inline-end: 6px }
.studio-product.wrap .garment-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-block: 10px 16px }
.studio-product.wrap .garment-price .price-ref-full { width: auto; margin: 0; padding: 0; border: 0 }
.studio-product .garment-price .order-jump { display: none }
.studio-product.wrap .garment-price .detail-designer { min-height: 46px; gap: 7px; padding: 10px 16px; margin: 0; border-radius: 999px }
.studio-product .garment-price .detail-designer svg { flex: none; width: 18px; height: 18px }
.studio-product.wrap .detail-order { padding: clamp(16px,2vw,28px); border: 0; border-radius: var(--ms-card-radius); background: var(--ms-panel); color: var(--ms-text); scroll-margin-block-start: max(12px,var(--safe-top,0px)) }
.garment-order-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(78px,.28fr); align-items: end; gap: 10px }
.studio-product .garment-order-fields .method-choice { margin: 0; font-size: .85rem }
.garment-order-fields :is(select,input) { min-height: 44px; min-width: 0; width: 100%; padding: 8px 10px; border: 0; border-radius: 11px; color: #202126; background: white; font: inherit }
.studio-product.wrap .detail-order .order-row { margin: 14px 0 0; display: block }
.studio-product.wrap .detail-order .order-row .button { justify-content: center; width: 100%; min-height: 46px; padding: 10px; margin: 0; border: 0; border-radius: 999px }
.studio-product.wrap .detail-order .button.ink:not([data-added]) { background: #202126; color: white }
.studio-product .detail-order .budget-box { margin: 17px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ms-text) }
.studio-product .budget-box [data-budget-output] { padding: 3px 0; border: 0 }
.studio-product .budget-presets button { border: 0; background: white; box-shadow: none }
.studio-product .budget-presets button[aria-pressed=true] { background: var(--ms-selection); color: var(--ms-text); box-shadow: none }
.studio-product .garment-compare { margin-top: 6px }

@media (min-width:761px) {
  .studio-catalog:has(.mast-category) .catalog-browse .product-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,215px),1fr)) }
  .studio-catalog:has(.mast-category) .product-grid .product-photo { aspect-ratio: auto; height: clamp(215px,22vw,310px) }
}
@media (min-width:761px) and (max-width:920px) {
  .studio-catalog .catalog-browse .browse-toolbar { grid-template-columns: minmax(140px,1fr) minmax(140px,1fr) auto }
  .studio-catalog .browse-toolbar .catalog-compare:not([open]) { grid-column: 1/-1; justify-self: end }
}
@media (max-width:760px) {
  .studio-catalog.wrap .catalog-mast { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); min-height: 150px }
  .studio-catalog.wrap .catalog-mast .catalog-intro { padding: 15px 0 15px 14px }
  .studio-catalog.wrap .catalog-mast h1, .studio-catalog.wrap:has(.catalog-custom) .catalog-mast h1 { font-size: clamp(1.65rem,7vw,3rem) }
  .studio-catalog.wrap .catalog-mast p { font-size: .82rem; margin-top: 8px }
  .studio-catalog .catalog-tryon { margin-top: 8px; padding-inline: 10px; font-size: .76rem }
  .studio-catalog .catalog-browse .browse-toolbar { grid-template-columns: minmax(0,1.35fr) auto auto; gap: 6px }
  .studio-catalog .browse-toolbar > .catalog-search { grid-column: 1/-1 }
  .studio-catalog .browse-toolbar .catalog-compare:not([open]) { grid-column: auto; justify-self: stretch }
  .studio-catalog .browse-toolbar .catalog-compare summary { justify-content: center; min-height: 44px; padding: 6px; }
  .studio-catalog .browse-toolbar .catalog-compare:not([open]) .compare-context, .studio-catalog .browse-toolbar .catalog-compare:not([open]) summary > svg { display: none }
  .studio-catalog .browse-toolbar .catalog-switch summary { padding-inline: 7px }
  .studio-catalog .browse-toolbar .catalog-switch:has(details[open]), .studio-catalog .browse-toolbar .catalog-switch:has(details[open]) ~ .browse-filter-toggle,
  .studio-catalog .browse-toolbar .catalog-switch:has(details[open]) ~ .filter-panel, .studio-catalog .browse-toolbar .filter-panel:not([hidden]),
  .studio-catalog .browse-toolbar .catalog-switch:has(details[open]) ~ .catalog-compare:not([open]) { grid-row: auto; grid-column: 1/-1 }
  .studio-catalog .catalog-shortcuts { grid-auto-columns: clamp(82px,24vw,115px); margin-bottom: 9px }
  .studio-catalog .catalog-browse .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px }
  .studio-catalog .product-grid .model-purchase { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 3px }
  .studio-catalog .product-grid .model-cost { display: block }
  .studio-product.wrap { grid-template-columns: minmax(0,1fr); row-gap: 9px }
  .studio-product.wrap .detail-gallery { order: 1; grid-template-columns: minmax(0,1fr); column-gap: 0 }
  .studio-product.wrap .detail-gallery .main-photo { grid-column: 1; aspect-ratio: 1; max-height: min(47svh,440px) }
  .studio-product.wrap .detail-gallery .thumbs { grid-column: 1; grid-row: 2; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr) }
  .studio-product.wrap .detail-gallery .thumbs button { align-content: start; gap: 3px; padding-inline: 3px }
  .studio-product.wrap .detail-gallery .thumbs img { height: 27px; aspect-ratio: auto }
  .studio-product .detail-gallery .gallery-caption { grid-column: 1 }
  .studio-product .garment-category { display: none }
  .studio-product.wrap .detail-copy { display: contents }
  .studio-product.wrap .detail-copy > * { order: 3 }
  .studio-product.wrap .detail-copy h1 { order: 0; margin: 2px 0 4px; font-size: clamp(1.85rem,8vw,3.55rem) }
  .studio-product.wrap .garment-price { order: 2; margin: 3px 0; gap: 7px }
  .studio-product.wrap .garment-price .detail-designer { padding-inline: 12px; font-size: .83rem }
  .studio-product.wrap .garment-price .order-jump { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 14px; border-radius: 999px; background: #202126; color: white; font-size: .85rem; font-weight: 650 }
}
@media (max-width:360px) {
  .studio-catalog .browse-toolbar .catalog-switch summary { grid-template-columns: minmax(0,1fr) auto; gap: 3px }
  .studio-catalog .browse-toolbar .category-trigger { display: block; font-size: .8rem }
  .studio-catalog .browse-toolbar .category-trigger svg, .studio-catalog .browse-toolbar .category-current { display: none }
  .studio-catalog .browse-toolbar .browse-filter-toggle { font-size: .8rem; gap: 3px }
  .studio-catalog .product-grid .model-purchase { grid-template-columns: 1fr }
  .studio-catalog .product-grid .model-bag { justify-self: end }
  .studio-product.wrap .detail-gallery .thumbs img { display: none }
}

.studio-catalog .model-caption { position: relative }
.studio-catalog .model-caption h3 a::after { content: ""; position: absolute; inset: 0 }
.studio-catalog .model-caption .model-bag { position: relative; z-index: 1 }
@media (hover:hover) {
  .studio-catalog .model-caption:has(h3 a:hover) h3 { text-decoration: underline; text-underline-offset: .13em }
}
@media (prefers-reduced-motion:no-preference) and (hover:hover) {
  .catalog-shortcuts a img { transition: transform .18s ease-out }
  .catalog-shortcuts a:is(:hover,:focus-visible) img { transform: translateY(-2px) scale(1.05) }
}
@media (prefers-reduced-motion:reduce) {
  .studio-catalog .product-photo img, .studio-catalog .product-photo:hover img { transition: none; transform: none }
}

.studio-product .detail-order { container-type: inline-size }
@container (max-width: 310px) {
  .studio-product .garment-order-fields { grid-template-columns: minmax(0,1fr); gap: 8px }
  .studio-product .garment-order-fields label:has(#model-quantity) { display: grid; grid-template-columns: minmax(0,1fr) 96px; align-items: center }
}
@media (max-width:760px) {
  .studio-product.wrap .detail-gallery .main-photo { justify-self: center; width: min(100%,47svh,440px) }
}
@media (min-width:600px) and (max-width:950px) and (max-height:520px) and (orientation:landscape) {
  .studio-product.wrap { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 14px }
  .studio-product.wrap .detail-gallery { order: 0; display: grid; grid-template-columns: minmax(0,1fr) }
  .studio-product.wrap .detail-gallery .main-photo { grid-area: 1/1; width: 100%; aspect-ratio: auto; height: clamp(172px,61svh,300px); max-height: none }
  .studio-product.wrap .detail-gallery:has([data-gallery-view=flat][aria-pressed=true]) #model-photo { object-fit: contain }
  .studio-product.wrap .detail-gallery .thumbs { grid-area: 2/1; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr) }
  .studio-product.wrap .detail-gallery .thumbs img { width: 28px; height: 28px }
  .studio-product .detail-gallery .gallery-caption { grid-column: 1 }
  .studio-product.wrap .detail-copy { display: block; order: 1; padding-top: 2px }
  .studio-product.wrap .detail-copy h1 { margin: 0 0 5px; font-size: clamp(1.7rem,4.3vw,2.5rem) }
}
