.shop-page {
  min-height: 100%;
  background:
    linear-gradient(90deg, transparent calc(50% - 700px), rgba(255,255,255,.08) calc(50% - 700px), rgba(255,255,255,.08) calc(50% - 699px), transparent calc(50% - 699px)),
    linear-gradient(90deg, transparent calc(50% + 699px), rgba(255,255,255,.08) calc(50% + 699px), rgba(255,255,255,.08) calc(50% + 700px), transparent calc(50% + 700px)),
    #030303;
}

.shop-page .primary-nav a[aria-current="page"] {
  color: #fff;
}

.shop-main {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 76px 0 0;
  border-inline: 1px solid var(--line);
}

.shop-hero,
.shop-viewer-section,
.shop-note,
.shop-footer {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.shop-hero {
  min-height: 720px;
  display: grid;
  align-content: end;
  padding: 130px 0 94px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 12.5% 100%,
    linear-gradient(180deg, transparent 72%, rgba(255,255,255,.035));
}

.shop-hero h1 {
  margin: 0;
  max-width: 100%;
  font: 600 clamp(88px, 15vw, 212px)/.72 var(--display);
  letter-spacing: -.07em;
}

.shop-hero h1 em,
.shop-viewer-heading h2 em,
.shop-note h2 em {
  color: #747478;
  font-style: normal;
}

.shop-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.shop-hero-copy p {
  max-width: 54ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.shop-hero-copy > span {
  font: 500 10px/1 var(--mono);
  letter-spacing: .12em;
}

.shop-viewer-section {
  padding: 116px 0 132px;
}

.shop-viewer-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 54px;
}

.shop-viewer-heading .eyebrow {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
}

.shop-viewer-heading h2,
.shop-note h2 {
  margin: 0;
  font: 500 clamp(42px, 5.4vw, 78px)/.92 var(--display);
  letter-spacing: -.05em;
}

.shop-viewer-heading p,
.shop-note p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.rize-shop3d {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background:
    radial-gradient(circle at 39% 42%, rgba(255,255,255,.11), transparent 27%),
    linear-gradient(180deg, #090909, #020202);
  isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.rize-shop3d::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

.rize-shop3d-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: grab;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity .6s ease;
}

.rize-shop3d-stage:active {
  cursor: grabbing;
}

.rize-shop3d.is-loaded .rize-shop3d-stage {
  opacity: 1;
}

.rize-shop3d-stage canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.rize-shop3d-overlay,
.rize-shop3d-controls,
.rize-shop3d-hud {
  position: absolute;
  z-index: 3;
}

.rize-shop3d-overlay {
  inset: 0;
  pointer-events: none;
}

.rize-shop3d-frame {
  position: absolute;
  inset: 20px;
  border-inline: 1px solid rgba(255,255,255,.15);
}

.rize-shop3d-frame::before,
.rize-shop3d-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
}

.rize-shop3d-frame::before { top: 0; }
.rize-shop3d-frame::after { bottom: 0; }

.rize-shop3d-status {
  position: absolute;
  top: 38px;
  left: 42px;
  display: grid;
  gap: 7px;
  font: 500 8px/1 var(--mono);
  letter-spacing: .12em;
  color: var(--dim);
}

.rize-shop3d-status strong {
  color: #f4f4f4;
  font-weight: 500;
}

.rize-shop3d-readout {
  position: absolute;
  bottom: 38px;
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,.34);
  font: 500 8px/1 var(--mono);
  letter-spacing: .08em;
}

.rize-shop3d-readout--left { left: 42px; }
.rize-shop3d-readout--right { right: 42px; text-align: right; }

.rize-shop3d-comingsoon {
  position: absolute;
  top: 0;
  right: 72px;
  width: 46px;
  height: 210px;
  display: grid;
  place-items: center;
  border-inline: 1px solid rgba(255,255,255,.18);
  background: #f3f3f3;
  color: #050505;
}

.rize-shop3d-comingsoon span {
  width: max-content;
  transform: rotate(90deg);
  font: 600 10px/1 var(--mono);
  letter-spacing: .18em;
}

.rize-shop3d-controls {
  z-index: 5;
  left: 42px;
  bottom: 110px;
  display: flex;
  gap: 8px;
}

.shop-control {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.74);
  color: #eee;
  font: 500 9px/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.shop-control:hover,
.shop-control--primary {
  background: #f3f3f3;
  color: #050505;
}

.shop-control:active {
  transform: translateY(1px);
}

.rize-shop3d-hud {
  top: 50%;
  right: 42px;
  width: min(370px, 31vw);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(4,4,4,.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transform: translateY(-46%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease, transform .42s var(--ease-out);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.rize-shop3d.is-selected .rize-shop3d-hud {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.rize-shop3d-hud .eyebrow {
  margin-bottom: 23px;
}

.rize-shop3d-hud h3 {
  margin: 0;
  font: 600 clamp(28px, 3vw, 42px)/.95 var(--display);
  letter-spacing: -.045em;
}

.rize-shop3d-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  padding-block: 15px;
  border-block: 1px solid var(--line);
  color: var(--dim);
  font: 500 9px/1 var(--mono);
}

.rize-shop3d-meta strong {
  color: #fff;
  font-weight: 500;
}

.rize-shop3d-hud p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.rize-shop3d-materials {
  margin-top: 18px;
  color: #c9c9cc;
  font-size: 11px;
  line-height: 1.55;
}

.rize-shop3d-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.rize-shop3d-tags span {
  padding: 7px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 500 8px/1 var(--mono);
  letter-spacing: .06em;
}

.shop-checkout {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding: 15px;
  background: #f3f3f3;
  color: #050505;
  font: 600 9px/1 var(--mono);
  letter-spacing: .12em;
}

.rize-shop3d.is-unavailable::after {
  content: "APPAREL PREVIEW UNAVAILABLE";
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #050505;
  color: var(--muted);
  font: 500 9px/1 var(--mono);
  letter-spacing: .12em;
}

.shop-note {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 62px;
  align-items: start;
  padding: 112px 0 130px;
  border-top: 1px solid var(--line);
}

.shop-note > span {
  font: 500 9px/1 var(--mono);
  letter-spacing: .12em;
  color: var(--dim);
}

.shop-note h2,
.shop-note p,
.shop-note a {
  grid-column: 2;
}

.shop-note a {
  justify-self: start;
  margin-top: 22px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  color: #fff;
  text-decoration: none;
  font: 500 10px/1 var(--mono);
  letter-spacing: .09em;
}

.shop-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .shop-viewer-heading,
  .shop-note {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .shop-note h2,
  .shop-note p,
  .shop-note a {
    grid-column: 1;
  }

  .rize-shop3d {
    min-height: 800px;
  }

  .rize-shop3d-hud {
    top: auto;
    left: 22px;
    right: 22px;
    bottom: 22px;
    width: auto;
    transform: translateY(18px);
  }

  .rize-shop3d.is-selected .rize-shop3d-hud {
    transform: none;
  }

  .rize-shop3d-controls {
    left: 22px;
    bottom: 390px;
  }

  .rize-shop3d-readout {
    display: none;
  }
}

@media (max-width: 760px) {
  .shop-main {
    padding-top: 66px;
    border-inline: 0;
  }

  .shop-hero,
  .shop-viewer-section,
  .shop-note,
  .shop-footer {
    width: calc(100% - 32px);
  }

  .shop-hero {
    min-height: 620px;
    padding: 90px 0 64px;
  }

  .shop-hero h1 {
    font-size: clamp(72px, 25vw, 106px);
  }

  .shop-hero-copy {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 44px;
  }

  .shop-viewer-section {
    padding: 84px 0 94px;
  }

  .shop-viewer-heading {
    margin-bottom: 38px;
  }

  .shop-viewer-heading h2,
  .shop-note h2 {
    font-size: 39px;
  }

  .rize-shop3d {
    min-height: 820px;
  }

  .rize-shop3d-frame {
    inset: 10px;
  }

  .rize-shop3d-status {
    top: 27px;
    left: 24px;
  }

  .rize-shop3d-comingsoon {
    right: 26px;
    height: 170px;
  }

  .rize-shop3d-controls {
    left: 18px;
    right: 18px;
    bottom: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .rize-shop3d [data-shop-open],
  .rize-shop3d [data-shop-close] {
    display: none;
  }

  .rize-shop3d-hud {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 21px;
  }

  .rize-shop3d-hud h3 {
    font-size: 29px;
  }

  .rize-shop3d-hud p {
    font-size: 12px;
  }

  .shop-note {
    padding: 84px 0 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rize-shop3d-stage,
  .rize-shop3d-hud,
  .shop-control {
    transition: none;
  }
}
