.collection-module {
  width: 100%;
  background-color: var(--light-grey);
  margin: 1rem 0;
  border-radius: var(--module-border-radius);
  position: relative;

  .collection-module-description {
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    h2 {
      grid-column: span 7;
    }

    p {
      grid-column: span 5;
      font-weight: 500;
    }
  }

  .collection-module-products {
    //margin-top: 2rem;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: end;
    overflow: auto;
    position: relative;

    .collection-module-product {
      width: 180px;
      height: min-content;
      flex: 0 0 auto;

      &:hover {
        .collection-module-product-title {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .collection-module-product-title {
        transform: translateY(0.75rem);
        margin-bottom: 1rem;
        opacity: 0;
        transition: 0.3s;
      }

      .product-image {
        width: 100%;
        display: block;
        object-fit: contain;
        line-height: 0;

        img {
          width: 100%;
          box-shadow: var(--product-shadow);
        }
      }
    }
  }

  .spotlight-content {
    display: grid;
    padding: 3rem;
    grid-template-columns: repeat(12, 1fr);

    .product-image {
      width: 100%;
      height: auto;
      object-fit: contain;
      grid-column: 10/13;

      img {
        width: 100%;
        box-shadow: var(--product-shadow);
      }
    }

    .spotlight-quote {
      grid-column: 1/8;
      display: flex;
      flex-direction: column;
      gap: 4rem;
      justify-content: space-between;
      height: 100%;
    }
  }

  .next-button, .previous-button {
    position: absolute;
    right: 2rem;
    bottom: 50%;
    width: 3rem;
    height: 3rem;
    background-color: white;
    border-radius: var(--module-border-radius);
    display: grid;
    place-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    img.arrow {
      height: 1.5rem;
    }
  }

  .previous-button {
    left: 2rem;
    right: auto;

    img.arrow {
      transform: rotate(180deg);
    }
  }
}

@media (max-width: 600px) {
  .collection-wrapper {
    padding: 1.5rem;
    background-color: var(--light-grey);
  }

  .collection-module {
    border-radius: 0;

    .collection-module-description {
      padding: 4rem 0 0 0;
      gap: 2rem;

      h2, p {
        grid-column: span 12;
      }
    }

    .collection-module-products {
      padding: 0;
      margin-top: 2rem;

      .collection-module-product {
        .collection-module-product-title {
          transform: translateY(0);
          opacity: 1;
        }
      }
    }

    .next-button, .previous-button {
      display: none;
    }

    .spotlight-content {
      gap: 2rem;

      .spotlight-quote, .product-image {
        grid-column: span 12;
      }

      .product-image {
        padding: 2rem;
      }
    }
  }

}