
.collection-modal {
  top: 0;
  right: 0;
  left: 0;
  bottom:0;
  position: fixed;
  background: #cccccc;
  background-color: white; 
  
  .main-header-container {
    height: 10vh;
    
    .main-header {
      background: #f6f6f6;
      padding: 0;
      max-height: 10vh;
      overflow: hidden;
      h1 {
        margin-top: $gutter/2;
        margin-left: $gutter/2;
        margin-right: 0;
        margin-botton: 0;
      }
    }
  }
  .main-image {
    margin: 0 auto;
    height: 70vh;
    margin-top: $gutter;
    width: 90%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    @include transition(height 0.5s ease-in-out);
  }
  
  .buttons {
    margin-top: 30px;
  }
  .products {
    height: 0;
    display: none;  
    box-shadow: 0 -1px 8px $colorBorder;
    overflow:auto;
    position: relative;
    @include transition(height 0.5s ease-in-out);
    
    .product {
      .product-image {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 20vh;
        margin: 2vh 5%;
      }
    }
  }
  
  .prev {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
  }
  
  .next {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
  }
  .hide-products-btn {
    right: 0;
    top: 0;
    position: absolute;
    z-index: 501; // slick arrows have 500
    border: none;
  }
  
  &.show-products {
    .main-image {
      height: 46vh;
      margin: 2vh auto;
    }
    .buttons {
      display: none;
    }
    .products {
      display: block;
      height: 40vh;
      
      .h3 {
        padding: $gutter/2;
      }
    }
  }
}