html,
body {
  background: var(--white);
}

.product-page {
  min-height: 100vh;

  background: var(--white);
  color: var(--black);
}

.product-logo {
  width: min(88vw, 1180px);

  margin: 34px auto 0;

  display: flex;
  justify-content: center;

  position: relative;
  z-index: 2;
}

.product-logo img {
  width: min(420px, 82vw);
  height: auto;
  display: block;
}

.product-view {
  min-height: auto;

  display: flex;
  justify-content: center;

  padding: 24px 0 72px;
}

.product-wrap {
  width: min(88vw, 1180px);

  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.product-media {
  display: flex;
  flex-direction: column;
  transform: translateY(-100px);
}

.product-image {
  width: 100%;
  aspect-ratio: 3 / 4;

  background: var(--white);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;
}

.product-note,
.product-links,
.product-details {
  min-height: 42px;

  display: flex;
  align-items: flex-start;

  font-size: 0.66rem;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-note {
  margin-top: -7rem;
  min-height: auto;
  max-width: 420px;
  opacity: 0.48;
}

.product-links {
  gap: 1.4rem;
  margin-top: 0.95rem;
}

.product-more {
  font-size: 0.58rem;
  opacity: 0.48;
}

.product-more:hover,
.product-links > a:first-child:hover {
  opacity: 1;
}

.product-details {
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
  padding-top: 200px;
  padding-left: 150px;
}

.product-heading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-heading h1 {
  max-width: 640px;

  font-size: clamp(1.4rem, 2.8vw, 3.2rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}

.product-heading p {
  color: rgba(3, 3, 3, 0.48);
  font-size: 1rem;
}

.product-cart-control {
  width: fit-content;
  margin-top: 11.2rem;

  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  column-gap: 0.45rem;
}

.product-cart,
.product-cart-step {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;

  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
}

.product-cart-step {
  opacity: 0;
  pointer-events: none;
  font-size: 1.4rem;
  line-height: 1;
  transition: opacity 0.25s ease;
}

.product-cart-control:hover .product-cart-step {
  opacity: 0.45;
  pointer-events: auto;
}

.product-cart:hover,
.product-cart-step:hover {
  opacity: 0.45;
}

.product-page .shop-navigation {
  min-height: 55vh;
}

@media (max-width: 900px) {
  .product-view {
    padding: 24px 0 84px;
  }

  .product-wrap {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .product-media {
    transform: none;
  }

  .product-details {
    padding-top: 0;
    padding-left: 0;
  }

  .product-cart-control {
    margin-top: 1.8rem;
  }

  .product-cart-step {
    opacity: 0.45;
    pointer-events: auto;
  }

  .product-note,
  .product-links,
  .product-details {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .product-note,
  .product-links,
  .product-details {
    flex-direction: column;
    gap: 0.55rem;
  }
}

@media (max-width: 620px) {
  .product-logo {
    margin-top: 26px;
  }

  .product-view {
    padding: 30px 0 64px;
  }

  .product-wrap {
    width: min(86vw, 1180px);
    gap: 16px;
  }

  .product-note {
    margin-top: 0.9rem;
    max-width: none;
  }

  .product-note,
  .product-links,
  .product-details {
    font-size: 0.6rem;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }

  .product-links {
    gap: 0.7rem;
  }

  .product-details {
    gap: 0.75rem;
  }

  .product-heading {
    gap: 0.55rem;
  }

  .product-heading h1 {
    max-width: 100%;

    font-size: 1.2rem;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .product-heading p {
    font-size: 0.84rem;
  }

  .product-cart-control {
    margin-top: 0.85rem;
  }

  .product-cart-step {
    font-size: 1.25rem;
  }

  .product-page .shop-navigation {
    min-height: calc(55vh + 120px);
  }
}
