.page {
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .content-wrapper {
    padding-bottom: 2.5rem;
  }

  .scroll-container {
    height: 300vh;
    padding: 10rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    perspective: 1000px;
    transform-style: preserve-3d;
  }

  .hero-section {
    max-width: 1024px;
    position: relative;
    margin: 0 auto;
    padding: 5rem 1rem;
    width: 100%;
    left: 0;
    top: 0;
  }

  .title {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(229, 229, 229);
  }

  @media (min-width: 768px) {
    .title {
      font-size: 4.5rem;
    }
  }

  .description {
    max-width: 42rem;
    font-size: 1rem;
    margin-top: 2rem;
    color: rgb(212, 212, 212);
  }

  @media (min-width: 768px) {
    .description {
      font-size: 1.25rem;
    }
  }

  @media (min-width: 768px) {
    .hero-section {
      padding: 10rem 1rem;
    }
  }

  .product-grid {
    transition: transform 300ms ease-out, opacity 300ms ease-out;
    will-change: transform;
    transform: perspective(1000px) rotateX(15deg) rotateZ(20deg) translateY(-700px);
    opacity: 0.2;
  }

  .product-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 5rem;
    gap: 5rem;
    justify-content: center;
  }

  .product-row.reverse {
    flex-direction: row-reverse;
  }

  @media (min-width: 640px) {
    .header-container {
      padding-top: 6rem;
      padding-bottom: 3rem;
    }
  }

  .page {
    overflow: visible;
  }

  .scroll-container {
    height: auto;
    padding: 0 0 4rem;
  }

  .product-grid {
    transform: none;
    opacity: 1;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .product-row,
  .product-row.reverse {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    justify-content: initial;
  }

  .product-row.reverse {
    direction: rtl;
  }

  .product-row.reverse .product-card {
    direction: ltr;
  }

  .product-card {
    width: 100%;
    height: 14rem;
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .overlay {
    opacity: 0;
  }

  .product-title {
    opacity: 0;
  }

  .product-card:hover,
  .product-card:focus-visible {
    transform: translateY(-20px);
  }

  .product-card:hover .overlay,
  .product-card:focus-visible .overlay {
    opacity: 0.8;
  }

  .product-card:hover .product-title,
  .product-card:focus-visible .product-title {
    opacity: 1;
  }

  .product-card:focus-visible {
    outline: 1px solid rgb(229, 229, 229);
    outline-offset: 4px;
  }

  @media (max-width: 1000px) {
    .product-row,
    .product-row.reverse {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .product-row,
    .product-row.reverse {
      grid-template-columns: 1fr;
      direction: ltr;
    }

    .hero-section {
      padding-top: 0;
    }
  }
.product-card {
    height: 20rem;
    width: 35rem;
    flex-shrink: 0;
    position: relative;
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
  }

  .image-wrapper {
    display: block;
    transition: box-shadow 300ms;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    height: 100%;
    width: 100%;
  }

  .product-card:hover .image-wrapper {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }

  .product-image {
    object-fit: cover;
    object-position: left top;
    position: absolute;
    height: 100%;
    width: 100%;
    inset: 0;
    border-radius: var(--radius-lg);
  }

  .overlay {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background: black;
    pointer-events: none;
    transition: opacity 300ms;
    border-radius: var(--radius-lg);
  }

  .product-title {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    transition: opacity 300ms;
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
    opacity: 0;
  }

  .page {
    overflow: visible;
  }

  .scroll-container {
    height: auto;
    padding: 0 0 4rem;
  }

  .hero-section {
    width: 95%;
    max-width: 1024px;
    padding: 0 0 2.5rem;
  }

  .title {
    font-size: 2.25rem;
    line-height: 1.12;
    color: var(--color-text-primary);
  }

  .description {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--color-text-secondary);
  }

  .product-grid {
    transform: none;
    opacity: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 95%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;
  }

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

  @media (max-width: 640px) {
    .product-grid {
      grid-template-columns: 1fr;
    }
  }

  .product-card {
    width: 100%;
    height: 14rem;
    display: block;
    color: inherit;
    text-decoration: none;
  }

  .overlay {
    opacity: 0;
  }

  .product-card:hover,
  .product-card:focus-visible {
    transform: translateY(-20px);
  }

  .product-card:hover .overlay,
  .product-card:focus-visible .overlay {
    opacity: 0.8;
  }

  .product-card:hover .product-title,
  .product-card:focus-visible .product-title {
    opacity: 1;
  }

  .product-card:focus-visible {
    outline: 1px solid rgb(229, 229, 229);
    outline-offset: 4px;
  }

  @media (max-width: 1000px) {
    .product-row,
    .product-row.reverse {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .product-row,
    .product-row.reverse {
      grid-template-columns: 1fr;
      direction: ltr;
    }

    .hero-section {
      padding-top: 0;
    }
  }

  @media (min-width: 640px) {
    .title {
      font-size: 3rem;
    }
  }
