/* Collection-only layout; the shared navigation and other sections stay intact. */
.clothingPage { background: var(--white); }
.clothingHero {
  min-height: min(680px, calc(100svh - 160px));
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--ink);
}
.clothingHeroPhoto { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.clothingHeroPhoto img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.clothingHero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,25,27,.65), rgba(17,25,27,.24) 38%, transparent 68%); }
.clothingCopy { width: 100%; padding: 64px var(--site-gutter) 88px; }
.clothingCopy h1 { max-width: 660px; margin: 0 0 26px; font-size: 76px; line-height: 1.06; letter-spacing: 0; }
.clothingCopy h1 span { display: block; }
.clothingCopy > p { max-width: 390px; margin: 0; color: #edf1f1; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.clothingActions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.clothingActions .button { min-height: 50px; padding-inline: 24px; }
.clothingStoreLink { min-height: 48px; display: inline-flex; align-items: center; color: var(--white); font-size: 14px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.clothingHeroNote { position: absolute; left: var(--site-gutter); bottom: 24px; margin: 0; color: #edf1f1; font-size: 13px; }
.clothingHero :focus-visible,.clothingPurchase :focus-visible { outline-color: var(--yellow); }
.clothingCollection { padding: 64px var(--site-gutter) 76px; }
.clothingPage #collection { scroll-margin-top: 16px; }
.clothingCollectionIntro { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.clothingCollectionIntro h2,.clothingPurchase h2 { margin: 0; font: 700 44px/1.15 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.clothingCollectionIntro > p { max-width: 350px; margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.clothingProductGrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.clothingProduct { min-width: 0; margin: 0; }
.clothingProduct img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--white); }
.clothingProduct figcaption { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.clothingProduct h3 { margin: 0; font: 600 18px/1.4 "Segoe UI",Arial,sans-serif; }
.clothingProduct p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.clothingCollection[data-rack-state="ready"],html[data-workshop-rack-pending] .clothingCollection { background: var(--warm-white); }
html[data-workshop-rack-pending] .clothingProductGrid { display: none; }
html[data-workshop-rack-pending] .workshopRack[hidden] { display: block !important; }
html[data-workshop-rack-pending] .rackLoading { display: grid; }
html[data-workshop-rack-pending] :is(.rackSelection,.rackChoices,.rackDetailButton) { visibility: hidden; }
.rackLoading { position: absolute; inset: 0; display: none; place-content: center; color: var(--muted); font-size: 14px; }
.workshopRack { margin-inline: calc(-1 * var(--site-gutter)); padding: 0 var(--site-gutter) 24px; background: var(--warm-white); }
.rackToolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rackBrand { color: var(--ink); font: 700 20px/1.2 "Segoe UI",Arial,sans-serif; }
.rackBack { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0 8px 12px; border: 0; color: var(--ink); background: transparent; font: 600 14px/1.4 "Segoe UI",Arial,sans-serif; cursor: pointer; }
.rackStage { height: 440px; margin-inline: calc(-1 * var(--site-gutter)); position: relative; overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; }
.rackCanvas { display: block; width: 100%; height: 100%; touch-action: pan-y pinch-zoom; transition: opacity 260ms var(--ease-out); }
.rackFocus { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 260ms; pointer-events: none; }
.rackFocus img { width: min(420px,60%); height: 100%; object-fit: contain; }
.isFocused .rackCanvas { opacity: .45; filter: blur(4px); }
.isFocused .rackFocus { opacity: 1; visibility: visible; transform: scale(1); }
.rackSelection { max-width: 640px; min-height: 86px; margin: 0 auto; display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 20px; align-items: center; }
.rackIconButton { width: 44px; height: 44px; padding: 10px; display: grid; place-items: center; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.rackIconButton:hover,.rackIconButton:active { background: var(--white); }
.rackCaption { min-height: 70px; padding-block: 8px; text-align: center; }
.rackCaption h3 { margin: 0 0 7px; font: 600 20px/1.35 "Segoe UI",Arial,sans-serif; }
.rackCaption p { margin: 0; display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.rackCounter { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rackChoices { position: relative; min-height: 72px; max-width: 1100px; margin: 12px auto 22px; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.rackChoices button { min-width: 0; min-height: 66px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); text-align: left; font: 500 13px/1.35 "Segoe UI",Arial,sans-serif; cursor: pointer; }
.rackChoices span { overflow-wrap: anywhere; }
.rackChoices button[aria-pressed="true"] { border-color: var(--bronze); background: var(--white); }
.rackChoices img { flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; }
.rackDetailButton { min-height: 44px; margin: 0 auto; padding: 10px 18px; display: flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); font: 600 14px/1.4 "Segoe UI",Arial,sans-serif; cursor: pointer; }
.rackInstant .rackFocus,.rackInstant .rackCanvas { transition: none; }
@media (max-width: 700px) {
  .rackStage { height: 320px; }
  .rackToolbar { align-items: center; }
  .rackBrand { font-size: 17px; }
  .rackBack { max-width: 180px; font-size: 13px; }
  .rackFocus img { width: min(340px,86%); }
  .rackSelection { gap: 12px; }
  .rackCaption h3 { font-size: 17px; }
  .rackChoices { display: flex; min-height: 130px; overflow-x: auto; gap: 8px; padding: 6px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; }
  .rackChoices button { flex: 0 0 98px; min-height: 104px; padding: 8px 6px; flex-direction: column; gap: 5px; text-align: center; font-size: 12px; scroll-snap-align: center; }
  .rackChoices img { flex-basis: 38px; width: 38px; height: 38px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .rackChoices { min-height: 120px; }
  .rackChoices button { flex-direction: column; gap: 5px; padding: 8px 6px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rackFocus,.rackCanvas { transition: none; }
  .rackFocus { transform: none; }
}
.clothingCollectionFooter { display: flex; align-items: start; justify-content: space-between; gap: 32px; margin-top: 40px; }
.clothingCollectionFooter p { max-width: 510px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.clothingInlineLink { color: var(--green); font-size: 14px; font-weight: 600; text-underline-offset: 6px; }
.clothingPurchase { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 100px; padding: 72px var(--site-gutter) 80px; color: var(--white); background: var(--green); }
.clothingPurchaseIntro > p { max-width: 420px; margin: 20px 0 26px; color: #edf1f1; font-size: 16px; line-height: 1.65; }
.clothingPurchaseIntro .button { min-height: 48px; padding-inline: 24px; }
.clothingPurchaseDetails { display: grid; gap: 26px; }
.clothingPurchaseDetails > div { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.35); }
.clothingPurchaseDetails h3 { margin: 0; font: 600 18px/1.5 "Segoe UI",Arial,sans-serif; }
.clothingPurchaseDetails p { max-width: 480px; margin: 8px 0 0; color: #edf1f1; font-size: 15px; line-height: 1.65; }
@media (min-width: 1800px) {
  .clothingHeroPhoto img { position: absolute; right: 0; width: auto; max-width: none; object-fit: contain; mask-image: linear-gradient(90deg,transparent,#000 26%); }
}
@media (max-width: 1100px) {
  .clothingCopy h1 { font-size: 64px; }
  .clothingProductGrid { gap: 24px; }
  .clothingPurchase { gap: 56px; }
}
@media (max-width: 900px) {
  .clothingCollectionIntro { display: block; }
  .clothingCollectionIntro > p { max-width: none; margin: 14px 0 0; }
  .clothingCopy h1 { font-size: 58px; }
  .clothingCopy > p { max-width: 350px; font-size: 17px; }
  .clothingProductGrid { gap: 20px; }
  .clothingProduct h3 { font-size: 16px; }
}
@media (max-width: 700px) {
  .clothingHero { min-height: min(730px, calc(100svh - 148px)); align-items: flex-start; }
  .clothingHeroPhoto img { object-position: center bottom; }
  .clothingHero::before { background: linear-gradient(180deg,rgba(17,25,27,.25),rgba(17,25,27,.12) 44%,transparent 66%); }
  .clothingCopy { padding-top: 40px; padding-bottom: 310px; }
  .clothingCopy h1 { margin-bottom: 18px; font-size: 46px; }
  .clothingCopy > p { max-width: 330px; font-size: 16px; line-height: 1.6; }
  .clothingActions { gap: 12px 22px; margin-top: 20px; }
  .clothingActions .button { width: auto; min-height: 48px; padding-inline: 18px; }
  .clothingHeroNote { right: var(--site-gutter); left: auto; bottom: 18px; }
  .clothingCollection { padding-top: 40px; padding-bottom: 48px; }
  .clothingCollectionIntro h2,.clothingPurchase h2 { font-size: 36px; }
  .clothingProductGrid { grid-template-columns: 1fr; gap: 40px; }
  .clothingProduct img { max-height: 430px; }
  .clothingProduct h3 { font-size: 18px; }
  .clothingCollectionFooter { flex-direction: column; gap: 20px; margin-top: 30px; }
  .clothingPurchase { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 54px; }
  .clothingPurchaseIntro .button { width: auto; }
}
@media (max-width: 360px) {
  .clothingCopy h1 { font-size: 36px; }
  .clothingActions { gap: 8px 16px; }
  .clothingActions .button { padding-inline: 12px; font-size: 13px; }
  .clothingStoreLink { font-size: 13px; }
  .clothingCollectionIntro h2,.clothingPurchase h2 { font-size: 32px; }
}
