* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
}





.content-wrapper {
  width: 1050px;
  margin: 0 auto;
}


header .link-icons {
  display: flex;
  flex-grow: 1;
  flex-basis: 0;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

header .link-icons .search i {
  font-size: 18px;
  padding: 0 10px;
  cursor: pointer;
}

header .link-icons .search input {
  display: none;
  border: 0;
  border-bottom: 1px solid #EEEEEE;
  padding: 10px 0;
  width: 200px;
  outline: none;
  margin-right: 10px;
}

header .link-icons .responsive-toggle {
  display: none;
}

header .link-icons a {
  position: relative;
  text-decoration: none;
  color: #394352;
  padding: 0 10px;
}

header .link-icons a:hover {
  color: #4e5c70;
}

header .link-icons a i {
  font-size: 18px;
}

header .link-icons a span {
  display: inline-block;
  text-align: center;
  background-color: #63748e;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 12px;
  line-height: 16px;
  width: 16px;
  height: 16px;
  font-weight: bold;
  position: absolute;
  top: -4px;
  right: 2px;
}

main .featured {
  display: flex;
  flex-direction: column;
  background-image: url(imgs/featured-image.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

main .featured h2 {
  display: inline-block;
  margin: 0;
  width: 1050px;
  font-size: 68px;
  color: #FFFFFF;
  padding-bottom: 10px;
}

main .featured p {
  display: inline-block;
  margin: 0;
  width: 1050px;
  font-size: 24px;
  color: #FFFFFF;
}

main .recentlyadded h2 {
  display: block;
  font-weight: normal;
  margin: 0;
  padding: 40px 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #EEEEEE;
}

main .recentlyadded .products, main .products .products-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 0 0;
}

main .recentlyadded .products .product, main .products .products-wrapper .product {
  display: block;
  overflow: hidden;
  text-decoration: none;
  width: 25%;
  padding-bottom: 60px;
}

main .recentlyadded .products .product img, main .products .products-wrapper .product img {
  transform: scale(1);
  transition: transform 1s;
}

main .recentlyadded .products .product .name, main .products .products-wrapper .product .name {
  display: block;
  color: #555555;
  padding: 20px 0 2px 0;
}

main .recentlyadded .products .product .price, main .products .products-wrapper .product .price {
  display: block;
  color: #999999;
}

main .recentlyadded .products .product .rrp, main .products .products-wrapper .product .rrp {
  color: #BBBBBB;
  text-decoration: line-through;
}

main .recentlyadded .products .product:hover img, main .products .products-wrapper .product:hover img {
  transform: scale(1.05);
  transition: transform 1s;
}

main .recentlyadded .products .product:hover .name, main .products .products-wrapper .product:hover .name {
  text-decoration: underline;
}

main > .product {
  display: flex;
  padding: 40px 0;
}

main > .product h1 {
  font-size: 34px;
  font-weight: normal;
  margin: 0;
  padding: 20px 0 10px 0;
}

main > .product .product-small-imgs img {
  border: 1px solid #EEEEEE;
  cursor: pointer;
  margin: 20px 12px 0 0;
}

main > .product .product-small-imgs img.selected {
  border: 1px solid #c8c8c8;
}

main > .product .product-wrapper {
  padding-left: 15px;
}

main > .product .price {
  display: block;
  font-size: 22px;
  color: #999999;
}

main > .product .rrp {
  color: #BBBBBB;
  text-decoration: line-through;
  font-size: 22px;
  padding-left: 5px;
}

main > .product form {
  display: flex;
  flex-flow: column;
  margin: 40px 0;
}

main > .product form input[type="number"] {
  width: 400px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  color: #555555;
  border-radius: 5px;
}

main > .product form input[type="submit"] {
  background: #4e5c70;
  border: 0;
  color: #FFFFFF;
  width: 400px;
  padding: 12px 0;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

main > .product form input[type="submit"]:hover {
  background: #434f61;
}

main > .products h1 {
  display: block;
  font-weight: normal;
  margin: 0;
  padding: 40px 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
}

main > .products .products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
}

main > .products .products-header p {
  margin: 0;
}

main > .products .products-header .sortby select {
  width: 180px;
  padding: 5px;
  margin-left: 15px;
  border: 1px solid #ccc;
  color: #555555;
  border-radius: 5px;
}

main > .products .buttons {
  text-align: right;
  padding-bottom: 40px;
}

main > .products .buttons a {
  display: inline-block;
  text-decoration: none;
  margin-left: 5px;
  padding: 12px 20px;
  border: 0;
  background: #4e5c70;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
}

main > .products .buttons a:hover {
  background: #434f61;
}

main .cart h1 {
  display: block;
  font-weight: normal;
  margin: 0;
  padding: 40px 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
}

main .cart table {
  width: 100%;
}

main .cart table thead td {
  padding: 30px 0;
  border-bottom: 1px solid #EEEEEE;
}

main .cart table thead td:last-child {
  text-align: right;
}

main .cart table tbody td {
  padding: 20px 0;
  border-bottom: 1px solid #EEEEEE;
}

main .cart table tbody td:last-child {
  text-align: right;
}

main .cart table .img {
  width: 80px;
}

main .cart table .remove {
  color: #777777;
  font-size: 12px;
  padding-top: 3px;
}

main .cart table .remove:hover {
  text-decoration: underline;
}

main .cart table .price {
  color: #999999;
}

main .cart table a {
  text-decoration: none;
  color: #555555;
}

main .cart table input[type="number"] {
  width: 68px;
  padding: 10px;
  border: 1px solid #ccc;
  color: #555555;
  border-radius: 5px;
}

main .cart .subtotal {
  text-align: right;
  padding: 40px 0;
}

main .cart .subtotal .text {
  padding-right: 40px;
  font-size: 18px;
}

main .cart .subtotal .price {
  font-size: 18px;
  color: #999999;
}

main .cart .buttons {
  text-align: right;
  padding-bottom: 40px;
}

main .cart .buttons input[type="submit"] {
  margin: 0 0 5px 5px;
  padding: 12px 20px;
  border: 0;
  background: #4e5c70;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

main .cart .buttons input[type="submit"]:hover {
  background: #434f61;
}

main .placeorder h1 {
  display: block;
  font-weight: normal;
  margin: 0;
  padding: 40px 0;
  font-size: 24px;
  text-align: center;
  width: 100%;
}

main .placeorder p {
  text-align: center;
}



/* Responsive CSS below */
@media screen and (max-width: 1050px) {
  .rhide {
    display: none;
  }
  .content-wrapper {
    width: 100%;
    padding: 0 10px;
  }
  header {
    justify-content: space-between;
  }
  header h1 {
    font-size: 16px;
    flex-basis: auto;
  }
  header nav {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 1px);
    width: 100%;
    background-color: #FFFFFF;
  }
  header nav a {
    display: block;
    padding: 10px 10px;
    margin: 0;
    border-bottom: 1px solid #EEEEEE;
  }
  header .link-icons {
    display: inline-flex;
    width: 100px;
  }
  header .link-icons .responsive-toggle {
    display: block;
  }
  main .recentlyadded .products, main .products .products-wrapper {
    justify-content: center;
  }
  main .recentlyadded .products .product, main .products .products-wrapper .product {
    width: auto;
  }
  main .featured {
    height: 300px;
  }
  main .featured h2 {
    font-size: 48px;
    width: 100%;
    padding: 0 10px;
  }
  main .featured p {
    font-size: 22px;
    width: 100%;
    padding: 0 10px;
  }
  main > .products .products-header {
    flex-flow: column;
  }
  main > .products .products-header p {
    padding-bottom: 10px;
  }
  main > .product {
    padding: 0 10px;
    flex-flow: column;
  }
  main > .product .product-imgs {
    padding: 0 10px;
  }
  main > .product .product-imgs .product-img-large {
    width: 100%;
    height: auto;
  }
  main > .product .product-imgs .product-small-imgs .product-img-small {
    width: 50px;
    height: 50px;
  }
  main > .product form input[type="number"], main > .product form input[type="submit"] {
    width: 100%;
  }
  main > .product .product-wrapper {
    padding: 0;
  }
  main .cart table input[type="number"] {
    width: 40px;
  }
}
