@charset 'UTF-8';

@font-face {

  font-family: 'OCR B Pro';
  src: url('OCRBPro.woff2') format('woff2'),
      url('OCRBPro.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;

}

@font-face {

  font-family: 'Helvetica Neue';
  src: url('HelveticaNeue-Medium.woff2') format('woff2'),
      url('HelveticaNeue-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;

}

@font-face {

  font-family: 'Helvetica Neue';
  src: url('HelveticaNeue-Light.woff2') format('woff2'),
      url('HelveticaNeue-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;

}


* {
  box-sizing: border-box;
}


body {
  margin: 0;
  padding: 0;

  font-family: 'Helvetica Neue', sans-serif;
  font-weight: bold;
  color: #012161;

}
a {
  color: #b30e0e;
  text-decoration: underline;
}
strong {
  font-weight: 600;
}

p {
  font-size: 14px;
  line-height: 20px;
}

h1, h2, h3 {
  color: #b30e0e;
}

p + h1,
p + h2,
p + h3
{
  margin-top: 40px;
}

.highlight {
  color: #b30e0e;
}

.btn {
  display: inline-flex;
  position: relative;
  padding: 10px;
  margin-top: 6px;
  height: 50px;
  width: 290px;
  font-size: 14px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #000;
  cursor: pointer;
  align-items: center;
  justify-content: center;

  &:hover {
      background: #012161;
      color: #fff;
      border-color: #012161;
  }

}

header {

  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: center;
  position: fixed;
  top: 0;
  height: 120px;
  width: calc(100% - 40px);
  margin: 0 20px;
  max-width: calc(1920px - 40px);
  z-index: 99;

  background: #fff;

  a.logo {
    display: block;
    position: relative;
    margin: 0 auto;
    height: auto;
    width: 120px;
    img {
      display: block;
      position: relative;
      width: 100%;
      height: auto;
    }
  }

  nav {
    ul {
      display: flex;

      list-style-type: none;
      margin: 0;
      padding: 0;
      li {
        position: relative;
        margin: 0 5px;
        padding: 0 5px;

        a {
          display: inline-block;
          position: relative;
          text-decoration: none;
          text-transform: uppercase;
          font-size: 12px;
          color: #012161;

          &:hover, &.active {
            color: #b30e0e;
          }
        }
        
      }
    }
  }

}

#wrapper {

  display: flex;
  flex-direction: column;
  justify-self: center;
  align-items: center;
  justify-content: center;

  position: relative;

  margin: 0 20px;

  margin-top: 140px;
  margin-bottom: 20px;

  width: calc(100% - 40px);
  max-width: calc(1920px - 40px);

  min-height: calc(100vh - 280px);

  
  overflow-x: hidden;

}

main {

  display: block;
  position: relative;

  [style="text-align: center;"] {
    align-self: center;
  }  

}


main.home {
    
  display: flex;
  flex: 1;

  width: 100%;
  max-width: 1200px;

  min-height: 350px;
  max-height: 50vh;

  height: 100%;

  a {
    display: flex;
    position: absolute;
    align-items: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    pointer-events: none;
  
    video {

      display: flex;
      align-self: center;
      width: 100%;
      max-height: 50vh;
      height: auto;
      object-fit: contain;

      pointer-events: all;     

      &.mobile {
        display: none;
      }
      &.desktop {
        display: flex;
      }
      
  
    }

  }

}

main.shop {

  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  flex: 1;

  position: relative;

  width: 100%;
  max-width: 1200px;

  height: 100%;

  h4 {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;

    span:nth-child(1) {
      color: #b30e0e;
    }
    span:nth-child(2) {
      display: block;
    }
  }

  .collection-item {

    display: flex;
    flex: 1;
    position: relative;

    a {
      display: inline-block;
      align-self: start;
      position: relative;
      max-width: 80%;

      img {

        display: block;
        position: relative;
        width: 100%;
        height: auto;

      }

      .product-title {
          display: block;
          position: absolute;
          color: #b30e0e;
          background: #fff;
          bottom: 0;
          left: 0;
          margin: 0;
          padding: 4px;
          font-size: 30px;
          line-height: 30px;

          color: #012161;

          &:after {
            content: ".";
            color: #b30e0e;
          }

          display: none;

      }

      &:hover .product-title { 
          display: block;
      }

    }

    &:first-child {
      margin-bottom: 60px;
    }
    
    &:last-child {
      margin-top: 60px;
      align-self: end;
      justify-self: end;
      a {
        margin-left: auto;
      }
    }

  }

}


main.collection {

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  flex: 1;

  position: relative;

  width: 100%;
  max-width: 100%;

  height: 100%;
  max-width: calc(1920px - 40px);

  .product-item {

    display: flex;
    position: relative;
    flex: 1;
    margin: 10px 30px;
    height: 100%;
    max-height: 680px;

    &:first-child {
      margin-left: 0;
    }

    &:last-child {
      margin-right: 0;
    }

    img {
      display: block;
      position: relative;
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .product-title {
      display: block;
      position: absolute;
      color: #b30e0e;
      background: #fff;
      bottom: 0;
      left: 0;
      margin: 0;
      padding: 4px;
      font-size: 30px;
      line-height: 30px;

      color: #012161;

      &:after {
        content: ".";
        color: #b30e0e;
      }

      display: none;

    }

    &:hover .product-title { 
        display: block;
    }

  }

}


main.product-page {

  display: block;
  position: relative;
  width: 100%;
  max-width: 1200px;

  .product-images {
    display: block;
    position: relative;
    width: 50%;
    padding-right: 40px;
    margin-top: 10vh;

    img {
      display: block;
      position: relative;
      margin-bottom: 20px;
      width: 100%;
      height: auto;
    }

  }

  .product-content-container {

    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    min-height: 600px;
    pointer-events: none;

  }

  .product-content {

    display: block;
    position: relative;
    align-self: center;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 560px;
    width: calc(100% - 20px);
    pointer-events: all;

    img {
      display: block;
      position: relative;
      height: auto;
      width: 100%;
    }

  }

  .variant-buttons {
    display: inline-flex;
  }

.variant-button {
    display: block;
    position: relative;
    height: 50px;
    width: 50px;
    cursor: pointer;
    border: 1px solid #000;
    transition: all 0.2s ease;
    user-select: none;
    margin-right: 10px;
}

.variant-button:hover {
    border-color: #000;
}

.variant-button span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    line-height: 50px;
    text-align: center;
}

.variant-button input:checked + span,
.variant-button input:checked ~ span {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.variant-button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}  

}


main.page {

  display: block;
  position: relative;
  margin: 40px auto;
  max-width: 800px;
  width: calc(100% - 20px);

  text-align: center;

  img {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
  }

}


main.error {

  justify-content: center;
  align-items: center;
  text-align: center;

}


footer {

  display: flex;
  position: relative;
  margin: 0 20px;
  padding: 0 0 23px 10px;
  height: 120px;
  width: calc(100% - 40px);
  max-width: calc(1920px - 40px);
  align-items: end;
  justify-self: center;
  justify-content: space-between;

  p {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 14px;
    color: #012161;
  }

  ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style-type: none;

    li {
      display: block;
      margin: 0 5px;
      padding: 0 5px;
      a {
        display: block;
        position: relative;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 14px;
        color: #012161;

        &:hover, &.active {
          color: #b30e0e;
        }
      }
    }

  }

}

@media screen and ( max-width: 1100px ) {

  .home-link {
    display: none;
  }

  main.home {
    video.mobile {
      display: flex !important;
      min-height: 67vh !important;
    }
    video.desktop {
      display: none !important;
    }
  }

  main.shop {
    display: flex;
    flex-direction: column;
    height: auto;
    max-width: 640px;

    h4 {
      position: relative !important;
      margin-bottom: 20px;
    }

    .collection-item {

      &:first-of-type { order: 2 }
      &:last-of-type { order: 1 }
    
      margin: 0 0 20px 0 !important;

      a {
        width: 100%;
        max-width: 100%;
        .product-title {
          display: block;
        }
      }
    }
  }

  main.collection {

    display: block;
    height: auto;

    max-width: 640px;

    a.product-item {

      margin: 0 0 20px 0 !important;
      max-width: 100%;

      .product-title {
        display: block;
      }

    }

  }
  

  main.product-page {

    display: flex;
    flex-direction: column;

    .product-images {
      width: 100%;
      padding: 0;
      margin: 0;
      // order: 2;

      display: flex;
      height: 400px;
      width: 100%;
      overflow-y: hidden;
      overflow-x: scroll;

      img {
        display: inline-block;
        height: 100%;
        width: auto;
      }

    }

    .product-content-container {
      position: relative;
      width: 100%;
      height: auto;
      min-height: auto;
      margin-bottom: 40px;

      // order: 1;

      .product-content {
        padding: 0;
      }

    }
    
  }


  footer {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }

}


.cart-item-info {
  text-align: left;
}

.cart-item a img {
  max-width: 100px;
}
