#shop-page {
  min-height: 100dvh;
  background: #000;
}

#shop-page .top-fade {
  height: 150px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.shop-wrap {
  min-height: 100dvh;
  padding: calc(var(--header-height) + 40px) var(--page-padding) 90px;
}

.shop-hero h1 {
  margin-bottom: 42px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.1;
  text-align: center;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(32px, 6vw, 100px);
  row-gap: clamp(80px, 10vw, 150px);
  width: min(100%, 1680px);
  margin: 0 auto;
}

.shop-object {
  display: block;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.shop-object-coming {
  cursor: default;
}

.shop-object-stage {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  place-items: center;
  overflow: visible;
  isolation: isolate;
}

.shop-object-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform: scale(.96);
  transition: transform 620ms cubic-bezier(.2,.8,.2,1), opacity 240ms ease;
}

.shop-object-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform: scale(.96);
  transition: transform 620ms cubic-bezier(.2,.8,.2,1), opacity 240ms ease;
}

.shop-object:hover .shop-object-video,
.shop-object:focus-visible .shop-object-video,
.shop-object:hover .shop-object-image,
.shop-object:focus-visible .shop-object-image {
  transform: scale(1.02);
}

/* Temporary markers for products that do not yet have final render media. */
.shop-object-placeholder,
.shop-detail-placeholder {
  display: grid;
  width: clamp(86px, 10vw, 160px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: rgba(255, 255, 255, .28);
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 1.8px;
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), border-color 250ms ease, color 250ms ease, opacity 250ms ease;
  animation: shopFloat 5s ease-in-out infinite;
}

.shop-object:nth-child(2) .shop-object-placeholder {
  animation-delay: -1.7s;
}

.shop-object:hover .shop-object-placeholder,
.shop-object:focus-visible .shop-object-placeholder {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, .48);
  color: rgba(255, 255, 255, .7);
}

.shop-object-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 16px;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.shop-object-name,
.shop-object-price {
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .02em;
}

.shop-object-name {
  position: relative;
  width: max-content;
  max-width: 100%;
}

.shop-object:not(.shop-object-coming) .shop-object-name::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.shop-object:not(.shop-object-coming):hover .shop-object-name::after,
.shop-object:not(.shop-object-coming):focus-visible .shop-object-name::after {
  transform: scaleX(1);
}

.shop-object-price {
  text-align: right;
}

.shop-object-category,
.shop-object-meta {
  grid-column: 1 / -1;
  font-family: var(--font-meta);
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: 1.2px;
}

.shop-object-category {
  color: rgba(255, 255, 255, .82);
}

.shop-object-meta {
  color: rgba(255, 255, 255, .52);
}

.shop-object-info-coming .shop-object-name,
.shop-object-info-coming .shop-object-price {
  color: rgba(255, 255, 255, .5);
}

/* PRODUCT VIEW ----------------------------------------------------------- */

.shop-detail {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  visibility: hidden;
  opacity: 0;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}

.shop-detail.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 320ms ease;
}

.shop-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .92);
  cursor: default;
}

.shop-detail-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #000;
  transform: scale(.965);
  opacity: 0;
  transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 320ms ease;
}

.shop-detail.is-open .shop-detail-panel {
  transform: scale(1);
  opacity: 1;
}

.shop-detail-scroll {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}

.shop-detail-scroll::-webkit-scrollbar {
  width: 7px;
}

.shop-detail-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.shop-detail-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.22);
}

.shop-detail-close {
  position: fixed;
  top: max(28px, env(safe-area-inset-top));
  right: max(var(--page-padding), env(safe-area-inset-right));
  z-index: 8;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 1.4px;
  cursor: pointer;
}

.shop-detail-close::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.shop-detail-close:hover,
.shop-detail-close:focus-visible { color: #fff; }
.shop-detail-close:hover::after,
.shop-detail-close:focus-visible::after { transform: scaleX(1); }

.shop-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(310px, .72fr);
  width: 100%;
  min-height: 84dvh;
  padding-top: 1px;
}

.shop-detail-object {
  display: grid;
  min-width: 0;
  align-items: start;
  justify-items: center;
  padding: calc(var(--header-height) + 42px) 5vw 34px;
}

.shop-model-slot {
  position: relative;
  display: grid;
  width: min(100%, 880px);
  min-height: min(66dvh, 760px);
  place-items: center;
  isolation: isolate;
  overflow: visible;
}


.shop-detail-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  z-index: 1;
}

.shop-detail-image[hidden] {
  display: none;
}

.shop-detail-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  z-index: 1;
}

.shop-detail-video[hidden] {
  display: none;
}

.shop-detail-placeholder {
  position: relative;
  z-index: 2;
  width: clamp(230px, 34vw, 590px);
  color: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .1);
  font-size: 12px;
  animation: shopFloat 5s ease-in-out infinite;
}

.shop-model-slot.has-video .shop-detail-video {
  width: min(100%, 920px);
  height: 100%;
  transform: translateY(-1.5%);
}

.shop-model-slot.has-image .shop-detail-image {
  width: 100%;
  height: 100%;
}

.shop-model-slot.has-video .shop-detail-placeholder {
  width: clamp(300px, 40vw, 720px);
  color: transparent;
  border-color: rgba(255, 255, 255, .08);
  animation: none;
  transform: none;
}

.shop-model-hint {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-meta);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, .3);
  white-space: nowrap;
}

.shop-detail-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  gap: 26px;
  padding: calc(var(--header-height) + 70px) max(var(--page-padding), 42px) 42px 0;
}

.shop-detail-subtitle,
.shop-detail-data,
.shop-detail-description,
.shop-detail-label {
  color: rgba(255, 255, 255, .62);
}

.shop-detail-subtitle,
.shop-detail-data p,
.shop-detail-label {
  font-family: var(--font-meta);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.shop-detail-heading h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 66px);
  line-height: .98;
  font-weight: 600;
}

.shop-detail-price {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.88);
}

.shop-variant-wrap[hidden] {
  display: none;
}

.shop-variant-wrap {
  display: grid;
  gap: 10px;
}

.shop-variant-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.shop-variant-button {
  position: relative;
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: rgba(255,255,255,.42);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .05em;
  cursor: pointer;
}

.shop-variant-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.shop-variant-button:hover,
.shop-variant-button:focus-visible,
.shop-variant-button.is-active {
  color: #fff;
}

.shop-variant-button.is-active::after {
  transform: scaleX(1);
}

.shop-detail-data {
  display: grid;
  gap: 7px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.shop-detail-data p:empty {
  display: none;
}

.shop-detail-data[hidden],
.shop-gallery[hidden] {
  display: none;
}

.shop-detail-description {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.55;
}

.shop-project-link {
  position: relative;
  align-self: flex-start;
  padding: 5px 0;
  color: rgba(255,255,255,.72);
  font-family: var(--font-meta);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-decoration: none;
}

.shop-project-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.shop-project-link:hover,
.shop-project-link:focus-visible { color: #fff; }
.shop-project-link:hover::after,
.shop-project-link:focus-visible::after { transform: scaleX(1); }

.shop-cta {
  display: grid;
  gap: 10px;
  width: 100%;
}

.shop-buy {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .28);
  padding: 15px 18px;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 1.4px;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.shop-buy:hover,
.shop-buy:focus-visible {
  border-color: rgba(255, 255, 255, .64);
  color: #fff;
}

.shop-buy-secondary {
  color: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .16);
}

.shop-buy[hidden],
.shop-buy-secondary[hidden] {
  display: none;
}

body.shop-detail-open {
  overflow: hidden;
}

/* GALLERY ---------------------------------------------------------------- */

.shop-gallery {
  position: relative;
  width: 100%;
  padding: 0 0 max(70px, 8dvh);
}

.shop-gallery::before {
  content: "";
  display: block;
  width: calc(100% - (var(--page-padding) * 2));
  height: 1px;
  margin: 0 auto;
  background: rgba(255,255,255,.12);
}

.shop-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 16dvh;
  padding: 24px var(--page-padding);
}

.shop-gallery-label,
.shop-gallery-counter,
.shop-gallery-drag {
  font-family: var(--font-meta);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 1.4px;
  color: rgba(255,255,255,.55);
}

.shop-gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-gallery-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.shop-gallery-arrow:hover,
.shop-gallery-arrow:focus-visible {
  color: #fff;
}

.shop-gallery-viewport {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.shop-gallery-viewport:active {
  cursor: grabbing;
}

.shop-gallery-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.shop-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 var(--page-padding);
}

.shop-gallery-media {
  position: relative;
  display: grid;
  width: min(100%, 1700px);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.shop-gallery-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.shop-gallery-caption,
.shop-gallery-drag {
  display: none;
}

@keyframes shopFloat {
  0%, 100% { translate: 0 -4px; }
  50% { translate: 0 6px; }
}

@media (max-width: 1100px) {
  .shop-detail-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .8fr);
  }

  .shop-detail-copy {
    padding-right: var(--page-padding);
  }
}

@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-detail-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .shop-detail-object {
    min-height: 58dvh;
    padding: calc(var(--header-height) + 50px) 24px 22px;
  }

  .shop-model-slot {
    min-height: 48dvh;
  }

  .shop-detail-copy {
    padding: 20px var(--page-padding) 52px;
  }

  .shop-gallery-head {
    min-height: 110px;
  }
}

@media (max-width: 600px) {
  .shop-wrap {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 70px;
  }

  .shop-hero h1 {
    margin-bottom: 28px;
    font-size: 36px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    row-gap: 72px;
  }

  .shop-object-stage {
    aspect-ratio: 1 / .88;
  }

  .shop-object-info {
    gap: 7px 10px;
  }

  .shop-object-name,
  .shop-object-price {
    font-size: 12px;
  }

  .shop-object-price {
    max-width: 45vw;
  }

  .shop-detail-close {
    top: max(16px, env(safe-area-inset-top));
    right: 16px;
  }

  .shop-detail-object {
    min-height: 54dvh;
  }

  .shop-model-slot {
    min-height: 44dvh;
  }

  .shop-detail-video {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .shop-model-slot.has-video .shop-detail-placeholder {
    width: min(78vw, 520px);
  }

  .shop-detail-placeholder {
    width: min(70vw, 340px);
  }

  .shop-detail-heading h2 {
    font-size: clamp(36px, 13vw, 56px);
  }

  .shop-gallery::before {
    width: calc(100% - 32px);
  }

  .shop-gallery-head {
    padding-right: 16px;
    padding-left: 16px;
  }

  .shop-gallery-slide {
    padding: 0 16px;
  }

  .shop-gallery-media {
    aspect-ratio: 4 / 5;
  }

  .shop-gallery-media img {
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-object-placeholder,
  .shop-detail-placeholder {
    animation: none;
  }

  .shop-detail,
  .shop-detail-panel,
  .shop-object-placeholder,
  .shop-object-image,
  .shop-gallery-track {
    transition: none !important;
  }
}


/* CUSTOM FINISH REQUEST -------------------------------------------------- */
.shop-request {
  position: fixed;
  inset: 0;
  z-index: 3100;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.shop-request.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 260ms ease;
}

.shop-request-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
  cursor: default;
}

.shop-request-panel {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 760px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.18);
  padding: clamp(28px, 4vw, 54px);
  background: #000;
  transform: translateY(10px);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}

.shop-request.is-open .shop-request-panel {
  transform: translateY(0);
}

.shop-request-close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: rgba(255,255,255,.62);
  font-family: var(--font-meta);
  font-size: 9px;
  letter-spacing: 1.3px;
  cursor: pointer;
}

.shop-request-close:hover,
.shop-request-close:focus-visible { color: #fff; }

.shop-request-heading {
  max-width: 620px;
  margin-bottom: 36px;
}

.shop-request-heading > p:first-child {
  margin-bottom: 8px;
  color: rgba(255,255,255,.48);
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 1.3px;
}

.shop-request-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: .98;
  font-weight: 600;
}

.shop-request-intro {
  margin-top: 16px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.55;
}

.shop-request-form {
  display: grid;
  gap: 24px;
}

.shop-request-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.shop-request-field {
  display: grid;
  gap: 8px;
}

.shop-request-field > span {
  color: rgba(255,255,255,.5);
  font-family: var(--font-meta);
  font-size: 9px;
  letter-spacing: 1.3px;
}

.shop-request-field input,
.shop-request-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  border-radius: 0;
  padding: 8px 0 11px;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 180ms ease;
}

.shop-request-field input::placeholder,
.shop-request-field textarea::placeholder {
  color: rgba(255,255,255,.26);
}

.shop-request-field input:focus,
.shop-request-field textarea:focus {
  border-color: rgba(255,255,255,.8);
}

.shop-request-submit {
  width: 100%;
  border: 1px solid rgba(255,255,255,.3);
  padding: 15px 18px;
  background: transparent;
  color: rgba(255,255,255,.9);
  font-family: var(--font-meta);
  font-size: 10px;
  letter-spacing: 1.4px;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease;
}

.shop-request-submit:hover,
.shop-request-submit:focus-visible {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.shop-request-submit:disabled { opacity: .5; cursor: wait; }

.shop-request-status {
  min-height: 14px;
  color: rgba(255,255,255,.5);
  font-family: var(--font-meta);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 1px;
}

.shop-request-status.is-success { color: rgba(255,255,255,.85); }
.shop-request-status.is-error { color: rgba(255,255,255,.62); }

body.shop-request-open { overflow: hidden; }

.form-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

@media (max-width: 680px) {
  .shop-request-panel {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    padding: 54px 20px 28px;
  }

  .shop-request-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
