/* @product-list */
.product-list {
    width: 100%;
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0;

  h3 {
    // @include poly-margin-y--large;
    
    @media screen and (min-width: $medium-screen) {
      @include poly-padding--small;
      @include poly-margin-x--small;
      margin-top: 0;
      margin-bottom: 0;
    }

  }

  &__inner {
    @media screen and (min-width: $medium-screen) {
      @include poly-margin-x;
    }
  }

  &__product-wrapper {
    @include poly-margin-bottom;

    @media screen and (min-width: $medium-screen) {
      @include poly-padding--small;
    }

    background-color: white;
  }

  &__product {
    border-top: 1px solid black;
    

    @media screen and (min-width: $medium-screen) {
      display: flex;
      flex-flow: row nowrap;
      flex: 1;
    }
    
    @include poly-padding-y--small;
  }

  &__image {
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: flex-end;
    margin-bottom: 1em;
    

    // @media screen and (max-width: #{$medium-screen - 1 }) {
    //   @include poly-padding-top--small;
    //   grid-column: 1 / span 2;
    // }

    @media screen and (min-width: $medium-screen) {
      width: 200px;
      display: block;
      @include poly-padding-right--small;
      // grid-row: 1 / span 2;
    }
    
    h4 {
      font: 900 14px/26px 'Biryani', sans-serif;
      margin-bottom: 8px;
    }

    div {
      max-height: 120px;
      width: 120px;
      overflow: hidden;

      @media screen and (min-width: $medium-screen) {
        width: 120px;
        height: 120px;
        max-height: 120px;
      }
      
      img {
        max-height: 100%;
      }
    }
  }

  &__details-container {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  &__info-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid black;


    &:last-child {
      border-bottom: none;
    }

    @media screen and (min-width: $medium-screen) {
      flex-flow: row nowrap;
      border-bottom: 1px solid black;
      min-height: 90px;

      &:last-child {
        border-bottom: 1px solid black;
      }
    }
  
    @include poly-padding-bottom--small;
    @include poly-margin-bottom--small;

    > div {
      

      @media screen and (max-width: #{$medium-screen - 1 }) {
        @include poly-padding-y--small;
      }

      @media screen and (min-width: $medium-screen) {
        @include poly-padding-x;
      }

      &.product-list__description {
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 20px;
        font-weight: 200;
        flex-basis: 34%;
      }

      &.product-list__links {
        flex-basis: 32%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;

        @media screen and (max-width: #{$medium-screen - 1 }) {
          padding-top: 0;
        }
      }
      
      &:first-child {
        padding-left: 0;

        @media screen and (max-width: #{$medium-screen - 1 }) {
          padding-top: 0;
        }
      }

      &:last-child {
        padding-right: 0;
        text-align: right;

        @media screen and (min-width: $medium-screen) {
          border-left: 1px solid black;
        }

        a {
          padding-right: 0;

          &:last-child {
            padding-bottom: 0;
          }
        }
      }
    }
  }
}
_:-ms-fullscreen, :root .ie-flex-fix {
  flex-basis: 25% !important;
}