/* Import Montserrat font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');


body {
  margin: 0px;
  background-color: white;
  font-family: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 16px;
  vertical-align: baseline;
  background: transparent;
}


/* Breadcrumbs */

.breadcrumb {
  width: 100%;
  font-size: 14px;
  font-weight: lighter;
  font-family: 'Poppins', sans-serif;
}

.breadcrumb a {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: #999;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #333;
}

.breadcrumb span {
  color: #333;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
}

/* Mobile View */
@media (max-width: 801px) {
  .breadcrumb {
    padding: 1rem 0.75rem;
    font-size: 12px;
    line-height: 1.5;
  }
}


/* Cart (and checkout?) tables */

table {
  border-collapse: collapse;
  width: 100%;
  margin: auto;
  border: none;
}

/* We want table on the left side and checkout on the right with dif options like GLA. Otherwise on mobile, the options and checkout button should go to bottom below summary. */
@media (min-width: 801px) {
  table {
    width: 70%;
  }
}

th, td {
  text-align: left;
  padding: 8px;
  border: none;
  font-size: 16px;
}

th {
  background-color: #f2f2f2;
}

td img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
}


/* Quantity Buttons */

input[type="number"] {
  width: 50px;
  opacity: 1;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}

.quantity-input {
  display: inline-flex;
}

.number-input {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  border-radius: 0;
}

.quantity-total {
  font-weight: 700;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  width: 40px;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  margin: 0;
}

.number-input input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
}

.remove-quantity {
  height: 60px;
  background-color: #e8e8e8;
  border: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 1rem;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.remove-quantity:hover {
  background-color: #cfcfcf;
}

.add-quantity {
  height: 60px;
  background-color: #e8e8e8;
  border: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  font-size: 1rem;
  margin: 0;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.add-quantity:hover {
  background-color: #cfcfcf;
}

/* Mobile View */
@media (max-width: 801px) {

}


/* Item Page (singular) */

.item-container {
  display: flex;
  flex-wrap: wrap;
  width: 66%;
  margin: auto;
}

.product-image-large-view {
  width: 100%;
  height: auto;
  margin: 10px 10px 10px 0;
}

.product-details {
  padding: 20px;
  width: 40%;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.product-price {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

.cart-button {
  padding: 10px;
  background-color: black;
  color: white;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 115px);
  font-size: 18px;
  height: 60px;
}

.cart-button:hover {
background-color: #303030;
}

.single-page-cart {
  display: inline-block;
}

.quantity-cart-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tiny-images {
  margin-top: 20px;
}

.tiny-image {
  width: 15%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  padding: 2px;
}

.product-images {
  width: 50%;
}

.selected {
  box-shadow: 0 0 1px #fff inset;
  background-image: linear-gradient(to bottom, #000000 0%, #000000 100%);
}

.product-description {
  margin-top: 20px;
  width: 100%;
}

.tabs {
  border-bottom: 2px solid #f7f7f7;
  display: flex;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}

.tab-header {
  margin-right: 3rem;
}

.tab-title {
  color: black;
  font-weight: 600;
  font-size: 20px;
  padding: 0.7rem 0;
  cursor: pointer;
}

.tab-active {
  border-bottom-width: 2px;
  border-bottom-color: black;
  border-bottom-style: solid;
}

.description-title {
  font-size: 28px;
  margin: 0.7rem 0 1.5rem;
  font-weight: 600;
}

.tab-content {
  padding: 1.5rem 0;
  display: block!important;
}

.description-product-title {
  font-weight: 600;
  font-size: 24px;
  margin: 2.2rem 0 0.7rem;
}

.description-paragarph {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.description-list {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-position: outside;
  font-size: 1rem;
}

#reviews-title {
  padding-top: 40px;
}

.options-wrapper {
  display: flex;
  margin-top: 0.7rem;
}
.option {
  padding: 5px;
  border: 2px dashed gray;
  margin-right: 6px;
  color: gray;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.option:hover {
  color: black;
}
.option-selected {
  color: black;
  border: 2px solid black;
}

/* Mobile View */
@media (max-width: 801px) {
  .item-container {
    display: block;
    width: calc(100% - 0.75rem * 2);
    margin: auto;
    padding: 0 0.75rem;
  }
  .product-images {
    width: 100%;
    max-height: 100%;
  }
  .tiny-images {
    display: flex;
    align-items: center;
  }
  .product-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .product-details {
    width: 100%;
    padding: 0;
  }
  .tab-title {
    font-size: 15px;
  }
  .tab-header {
    margin-left: auto;
    margin-right: auto;
  }
  .tabs {
    align-items: center;
  }
  .options-wrapper {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 361px){
  .tab-title {
    font-size: 14px;
  }
}


/* Reviews */

.navtop {
  background-color: #3f69a8;
  height: 60px;
  width: 100%;
  border: 0;
}
.navtop div {
  display: flex;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 10px;
  width: 100%;
  height: 100%;
}
.navtop div h1, .navtop div a {
  display: inline-flex;
  align-items: center;
}
.navtop div h1 {
  flex: 1;
  font-size: 24px;
  padding: 0;
  margin: 0;
  color: #ecf0f6;
  font-weight: normal;
}
.navtop div a {
  padding: 0 20px;
  text-decoration: none;
  color: #c5d2e5;
  font-weight: bold;
}
.navtop div a i {
  padding: 2px 8px 0 0;
}
.navtop div a:hover {
  color: #ecf0f6;
}
.content {
  max-width: 1000px;
  width: 100%;
  padding: 0 10px;
}
.content h2 {
  margin: 0;
  padding: 25px 0;
  font-size: 22px;
  border-bottom: 1px solid #ebebeb;
  color: #666666;
}

.reviews .overall_rating .num {
  font-size: 30px;
  font-weight: bold;
  color: #000000;
}
.reviews .overall_rating .stars {
  letter-spacing: 3px;
  font-size: 32px;
  color: #000000;
  padding: 0 5px 0 10px;
}
.reviews .overall_rating .total {
  color: #777777;
  font-size: 14px;
}
.reviews .write_review_btn, .reviews .write_review button {
  display: inline-block;
  background-color: #565656;
  color: #fff;
  text-decoration: none;
  margin: 10px 0 0 0;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  border: 0;
}
.reviews .write_review_btn:hover, .reviews .write_review button:hover {
  background-color: #636363;
}
.reviews .write_review {
  display: none;
  padding: 20px 0 10px 0;
}
.reviews .write_review textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  height: 150px;
  margin-top: 10px;
}
.reviews .write_review input {
  display: block;
  width: 250px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 10px;
}
.reviews .write_review button {
  cursor: pointer;
}
.reviews .review {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.reviews .review .name {
  padding: 0 0 3px 0;
  margin: 0;
  font-size: 18px;
  color: #555555;
}
.reviews .review .rating {
  letter-spacing: 2px;
  font-size: 22px;
  color: #000000;
}
.reviews .review .date {
  color: #777777;
  font-size: 14px;
}
.reviews .review .content {
  padding: 5px 0;
}
.reviews .review:last-child {
  border-bottom: 0;
}


/* out of stock button */
.out-of-stock{
  background-color: #565656;
  cursor: default;
}

.out-of-stock:hover {
  background-color: #565656;
}


/* Contact Form */

.contact-page {
  margin-left: auto;
  margin-right: auto;
  width: 66%;
}

#contact-form {
  width: 800px;
}

.contact-header {
  align-items: center;
  padding: 20px;
}

.form-container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  flex-flow: row wrap;
  justify-content: center;
  display: flex;
  margin-bottom: 1.5rem;
}

.name-input {
  width: calc(50% - 15px);
  float: left;
  margin-bottom: 15px;
  color: rgb(161, 161, 161);
  border: 2px solid black;
}

input, .name-input {
  color: black;
}

.form-name {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  position: relative;
  width: 100%;
  text-align: center;
  border: none;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: transparent;
}

.email-input {
  z-index: 35;
  width: calc(50% - 15px);
  float: right;
  margin-bottom: 15px;
  border: 2px solid black;
}

input, .email-input {
  color: black;
}

.form-email {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  position: relative;
  width: 100%;
  text-align: center;
  border: none;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: transparent;
}

.message-input {
  width: 100%;
}

textarea, .message-input {
  color: black;
}

.form-message {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  position: relative;
  padding: 8px;
  width: calc(100% - 20px);
  height: 300px;
  background-color: transparent;
  border: 2px solid black;
}

.up {
  cursor: pointer;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  color: rgb(161, 161, 161);
  padding: 1em 2em;
  transition: 0.25s;
  background-color: transparent;
  border: 2px solid black;
  margin: 10px 0 0 0;
}

.up:hover {
  background-color: #f2f2f2;
}

.contact-info {
  font-size: large;
  font-weight: 300;
  color: black;
  text-align: center;
  margin-bottom: 1.5rem;
}

.contact-info-wrapper {
  width: 100%;
}

#failure {
  border: 2px solid red;
  border-radius: 5px;
  background-color: lightsalmon;
  padding: 10px;
  display: none;
  margin: 15px 0 10px 0;
}

#success {
  border: 2px solid green;
  border-radius: 5px;
  background-color: lightgreen;
  padding: 10px;
  display: none;
  margin: 15px 0 10px 0;
}

/* Mobile View */
@media (max-width: 801px) {
  .form-container {
    width: calc(100% - 1.5rem);
    padding: 0 0.75rem;
  }
  .contact-page {
    width: 100%;
  }
  .contact-info-wrapper {
    width: calc(100% - 1.5rem);
    padding: 0 0.75rem;
  }
}