body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  margin: 0;
  background-color: #ebebeb;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #111;
}

a {
  text-decoration: none;
}

body img {
  max-width: 100%;
  height: auto;
}

#hero {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 60px;
}

.page-header__logo-container {
  width: 100px;
}

.container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow-x: hidden;
}

.hero-container {
  max-width: 1920px;
  background-image: url('./images/Billboard.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 40px;
  height: 104vw;
  box-sizing: border-box;
  margin: 0 auto;
}

#app {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 5;
}

#product-slider {
  position: relative;
  margin-bottom: 40px;
}

#slide-overlay {
  width: 260px;
  height: 340px;
  border-radius: 18px;
  z-index: 5;
  background-color: rgba(0,0,0,0.08);
}

.slides {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 400%;
  height: 360px;
  position: relative;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: -360px;
  z-index: 6;
}

.slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 200px;
  height: 320px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 12px;
  z-index: 6;
  cursor: pointer;
}

.slide-image {
  margin-bottom: 5px;
}

.product-slide-image-container {
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.product-slide-image-container.first {
  margin-bottom: -17px;
}

.product-slide-image-container.second {
  margin-bottom: -33px;
}

.product-slide-image-container.third {
  margin-bottom: -13px;
}

.product-slide-image-container.fourth {
  margin-bottom: -25px;
}

.slide-name {
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  margin-bottom: 25px;
  width: 100%;
}

.slide-product-options {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  height: 32px;
}

.shops-title {
  font-size: 8px;
  margin-top: 5px;
  margin-bottom: 14px;
  text-align: center;
  color: #555;
}

#shops {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 103%;
  margin-left: -1.5%;
  margin-right: -1.5px;
  margin-top: 5px;
}

.shop-link {
  width: 30.25%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 6px;
  margin: 0 1.5% 10px 1.5%;
  transition: all 0.18s ease-in;
}

.shop-link:hover {
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.24);
}

.shop-logo {
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 3px;
}

.shop-price {
  background-color: #da1b22;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  padding: 5px 0;
  border-radius: 6px;
  margin-top: -7px;
}

.translucent {
  opacity: 0.3;
}

.product-section {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-direction: column;
  box-sizing: border-box;
}

.product-section.second {
  flex-direction: column-reverse;
}

.product-section-image {
  width: 100%;
  border-radius: 24px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 380px;
}

.first .product-section-image {
  background-image: url('./images/Pixma_Cartridge_featured.jpg');
}

.second .product-section-image {
  background-image: url('./images/Pixma_Megatank_featured.jpg');
}

.third .product-section-image {
  background-image: url('./images/MAXIFY_featured.jpg');
}

.product-section-info {
  width: 100%;
  margin-bottom: 30px;
}

.product-section-title {
  font-size: 36px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.product-section-subtitle {
  margin-bottom: 28px;
  line-height: 1.5;
}

.learn-more {
  background-color: #da1b22;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  padding: 6px 18px;
  cursor: pointer;
  transition: all 0.18s ease-in;
}

.learn-more:focus,
.learn-more:hover {
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,0.24);
}

.footer-title {
  padding: 15px;
  background-color: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0;
}

.footer-content {
  font-size: 11px;
  text-align: center;
  color: #888;
  padding: 0 20px 60px;
  box-sizing: border-box;
}

.terms-content {
  font-size: 14px;
  color: #555;
  margin-top: 35px;
  margin-bottom: 40px;
}

.models {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: -40px;
  margin-bottom: 50px;
  box-sizing: border-box;
  padding-top: 40px;
  opacity: 0;
}

.variation {
  width: 48%;
  background-color: rgba(0,0,0,0.07);
  padding: 0 15px 6px 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  margin-bottom: 18px;
  position: relative;
}

.variation-img {
  padding-top: 30px;
  padding-bottom: 12px;
}

.variation-options {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.variation-option {
  width: 25%;
  padding: 0;
}

.variation-title {
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 0;
  margin-top: 9px;
}

.variation-description {
  font-size: 12px;
  color: #555;
}

.main-content {
  padding-left: 15px;
  padding-right: 15px;
}

.models {
  display: none;
}

.flex {
  display: flex;
}

.cashback {
  position: absolute;
  right: 10px;
  top: 10px;
  with: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #da1b22;
  color: #fff;
  padding: 6px;
  border-radius: 99px;
}

.cashback-amount {
  font-weight: 600;
  font-size: 9px;
  margin: 0 0 1px 0;
  line-height: 1;
}

.cashback-text {
  font-size: 7px;
  margin: 0;
  line-height: 1;
}

/* - - - - - - - - MEDIA QUERIES - - - - - - - - */


@media only screen and (min-width: 768px) {
  
  .page-header__logo-container {
    width: 150px;
  }

  #hero {
/*    min-height: 460px;*/
    height: 600px;
  }

  .product-section {
    justify-content: space-between;
    margin-bottom: 90px;
    flex-direction: row;
    padding-left: 0;
    padding-right: 0;
  }

  .product-section.second {
    flex-direction: row;
  }

  .product-section-image {
    width: 50%;
  }

  .product-section-info {
    width: 42%;
  }

  .product-section-title {
    font-size: 44px;
    margin-bottom: 30px;
  }
  
  .product-section-subtitle {
    margin-bottom: 40px;
  }

  .footer-content {
    padding: 0 20px 60px;
  }

  .variations-container {
    padding-top: 40px;
  }

  .models {
    justify-content: flex-start;
    margin-left: -1%;
    margin-right: -1%;
    padding-top: 0;
  }

  .variation {
    width: 23%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 22px;
  }

}


@media only screen and (min-width: 1127px) {

  .container {
    /* width: 820px;*/
    width: 1230px;
    overflow-x: visible;
  }

  .footer-content.container {
    width: 600px;
  }
  
  .page-header__logo-container {
    width: 190px;
  }

  #hero {
    margin-bottom: 80px;
}

  .hero-container {
    background-size: contain;
  }

  #product-slider {
    width: 75%;
    flex-wrap: nowrap;
  }

  .slide {
    width: 25%;
    height: 320px;
    padding: 20px;
  }

  .product-slide-image-container.first img {
    margin-bottom: 6px;
  }

  .slide-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 25px;
    width: 100%;
  }

  .slide-product-options {
    height: 62px;
  }

  .main-content {
    padding-left: 0;
    padding-right: 0;
  }

  .variations-container {
    padding-top: 0;
  }

  .variation {
    margin-bottom: 28px;
  }

  .product-section-info {
    width: 45%;
  }

  .product-section-image {
    min-height: 480px;
  }

  .learn-more {
    font-size: 15px;
    padding: 8px 21px;
  }

  .product-section-title {
    font-size: 52px;
  }

  .variation-title {
    font-size: 14px;
  }

  .variation-description {
    font-size: 14px;
  }

  .shops-title {
    font-size: 10px;
  }

  .shop-price {
    font-size: 10px;
    padding: 6px 2px;
  }

}