body{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
}

#root{ 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; 
  width: 100vw;
  max-width: 1200px;
  margin-top: 20px;
}

#center{ 
  width: 100%;
}
 

#mobile-confirm-cart-button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 94%;
  height: 50px;
  margin-left: 3%;
  margin-top: 15px;
  background: var(--theme-color);
  color: black;
  text-decoration: none;
  border: 1px solid gray;
  box-sizing: border-box;
}



/* #mobile-button-container{
  display: flex;
  justify-content: space-between;
  align-items: center; 
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 50;  
  padding: 0 15px;
  box-sizing: border-box;
  margin-top: 20px;
  border-top: 1px solid black;
}

#mobile-button-container .arrow-icon{
  width: 15px;
  height: auto;
  transition: transform 0.3s;
  margin-top: 10px;
}

*/

.custom-button.loading{
  background-color: white !important;
  color: black !important;
}

/* #mobile-button-container .total-price-field{
  font-size: 16pt;  
  font-weight: bolder;
} */

/* #mobile-button-container .inner-modal{
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  background-color: white;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.3s;
} */

.inner-modal .mobile-price-line{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0;
}

#mobile-discount-line{
  display: none;
}


#mobile-button-container .inner-modal label{
  display: inline-block;
  min-width: 70px;
}

#mobile-button-container .inner-modal label:nth-child(2){
  text-align: right;
}

.active-mobile-button .inner-modal{
  transform: scaleY(1) !important;
}

.active-mobile-button .arrow-icon{
  transform: rotate(180deg);
}



#product-list-title{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center; 
}


#product-list-title h3{  
  width: 100%;
  padding-left: 15px;
  margin: 5px 0;
  font-size: 18pt;
}

#continue-shopping-button-desktop{
  display: none;
}

.custom-white-button{
  padding: 10px 15px;
  background-color: white;
  border: 1px solid gray;
  outline-color: gray;
  text-decoration: none;
  color: black;
}

.custom-white-button:hover{
  background-color: lightgray;

}

#product-list-container{
  width: 100%;
  padding: 0 10px;
  margin-top: -20px;
  box-sizing: border-box;
}

.single-product-container{
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%; 
  height: 200px;
  box-sizing: border-box; 
  border-bottom: 1px solid wheat;
  /* box-shadow: 0 0 8px rgba(245, 222, 179, 0.6); */
  margin-top: 10px;
}

.single-product-container:nth-last-child(1){
  border: none;
}



.single-product-container .product-picture{
  width: auto;
  height: 80%;
  border-radius: 3px;
  margin-right: 15px;
  background-color: lightslategray;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}


.single-product-container .product-code{
  display: none;
}

.single-product-container .information-field{
  flex-grow: 6;
  font-size: 14px;
}


.single-product-container .price-field{
  width: 17%;
  flex-grow: 3;
  text-align: center;
}


.single-product-container .product-name{
  position: absolute;
  left: 125px;
  top: 0px;
  font-size: 15pt;
  font-weight: bolder;
}


.single-product-container .discount-line{
  color: green;
}

.single-product-container .discount-line .discount-code{
  display: none;
  font-size: 11pt;
}


.single-product-container select{
  flex-grow: 1;
  width: 70px;
  height: 40px;
  padding-left: 10px; 
  margin: 0 30px;
  outline-color: gray;
}
 
.single-product-container .remove-button{
  position: absolute;
  bottom: 20px;
  right: 20px;
  flex-grow: 1;
  font-size: 14px;
  color: rgb(54, 54, 54);
  text-align: center; 
  cursor: pointer;
  text-decoration: underline;
}

.single-product-container .desktop-text{
  display: none;
}

.single-product-container .remove-button .button-title{
  position: absolute;
  top: 100%;
  left: -100px;
  display: none;
  width: 150px;
  height: 35px;
  line-height: 35px;
  padding: 0 5px;
  font-size: 10pt;
  font-weight: lighter;  
  opacity: 0;
  transition: opacity 0.3s;
  cursor: default;
  font-weight: bold;
}

.single-product-container .remove-button:hover span{
  opacity: 1;
}

.single-product-container .remove-button .button-title::selection, 
.single-product-container .remove-button::selection{
  background: none;
}

.section-seperator{
  width: 90%;
}

#right-side{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  box-sizing: border-box;
}

#right-side h3{
  width: 100%;
  text-align: left;
  margin: 5px 0;
}

#right-side .information-field{
  width: 100%; 
  justify-content: space-between;
  align-items: center;
  font-size: 11pt;
  margin: 5px 0;
}


#confirm-cart-button{
  display: none;
  width: 90%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  margin-top: 60px;
  color: black;
  box-sizing: border-box;
  text-decoration: none;
  background-color: wheat;
  padding: 0;
  font-size: 13pt;
  font-weight: bolder;
}

.empty-cart-field{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  margin-top: 50px;
  margin-bottom: 20px;
}
 


.discount-field{ 
  color: rgb(0, 133, 0);
}

.hide-field{
  display: none !important;
}

.discount-code-container{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 35px;
  margin-top: 10px;
}


.discount-code-container button{
  width: 40%;
  height: 100%;
  background: black;
  border: none;
  color: white;
  outline-color: gray;
}

.discount-code-container button:hover{
  background: rgb(46, 46, 46);
}

.discount-code-container button:active{
  background: rgb(58, 58, 58);
}


#discount-code-field{
  width: calc(100% - 50px);
  height: 35px;
  padding-left: 15px;
  box-sizing: border-box;
  outline-color: gray;
  border: 1px solid black;
  border-right: none;
}


.quantity-field {
  position: absolute;
  bottom: 15px;
  left: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px; 
  height: 40px;
  transform: scale(0.8);
  margin: 0 auto;    
}

.quantity-field .value-button{ 
  border: 1px solid #ddd;
  margin: 0px;
  width: 40px;
  height: 100%;   
  padding: 0;
  background: #eee; 
  outline: none;
  cursor: pointer;
}

.quantity-field .value-button:hover {
  background: rgb(230, 230, 230);
}

.quantity-field .value-button:active{
  background: rgb(210, 210, 210);
}

.quantity-field .decrease-button {
  margin-right: -4px;
  border-radius: 4px 0 0 4px;
}

.quantity-field .increase-button {
  margin-left: -4px;
  border-radius: 0 4px 4px 0;
}
 
.quantity-field .number{
  display: inline-block;
  text-align: center;
  border: none;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin: 0px;
  width: 40px;
  height: 100%;
  line-height: 40px;
  font-size: 11pt;
  box-sizing: border-box; 
  background: white;
  font-family: calibri;
}

.quantity-field .number::selection{
  background: none;
}

/*
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
*/



@media only screen and (min-width: 600px) {
  #root{ 
    flex-direction: row;
  }

  #center{
    width: calc(100% - 250px);
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  #mobile-confirm-cart-button{
    display: none;
  }

  #confirm-cart-button{
    display: initial;
  }

  #continue-shopping-button-desktop{
    display: inline-block;
  }

  #product-list-title h3{
    width: initial;
    font-size: 20pt;
    margin: 0 0 0 15px;
  }
  
  .single-product-container{
    padding-left: 15px;
  } 
    
  .single-product-container .product-code{
    display: initial;
  }

  .single-product-container .product-name{
    font-size: 17pt;
    left: 140px;
  }

  .quantity-field{
    position: initial;
    display: flex;
    transform: scale(1);
  }

  .single-product-container .remove-button{
    position: relative;
    font-size: 17pt; 
  }

  .single-product-container .remove-button .desktop-text, .single-product-container .button-title{
    display: inline-block !important;
  }

  .single-product-container .remove-button .mobile-text{
    display: none;
  }

 
  #right-side{
    width: 250px;    
    height: calc(100vh - 180px);
    border: 1px solid lightgray;
  }

  #right-side h3{
    margin: 10px 0;
    text-align: center;
  }


  #right-side .information-field{
    display: flex;
  }

  .section-seperator{
    display: none;
  }

  
  .single-product-container .discount-line .discount-code{
    display: initial;
  }
  
}