

/* Global settings */
body {
  background-color:rgba(245, 222, 179, 0.308);
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
  margin: 0;
  padding: 0;
}
h2{
  margin: 1em 10%;
  font-size: 3em;
  font-weight: bold;
  padding-bottom: 1em;
  text-align: center;

}


/* Global "table" column settings using Flexbox */
.shopping-cart {
display: flex;
flex-direction: column;
width:77.5%;
padding: 0 30px 30px 20px;
/* font-family: $font-default; */
font-weight: 100;
margin: 2em auto;
background-color: white;
flex-wrap: wrap;

color:black;
font-weight: 300px;
}

.product {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-bottom: 20px;
padding-bottom: 10px;
/* border-bottom: 1px solid $color-border; */
margin-top:5em;

.product-image {
  width: 20%;
  text-align: center;

  img {
    width: 100px;
  }
}

.product-details {
  width: 37%;
  .product-title {
    margin-right: 20px;
    /* font-family: $font-bold; */
  }
  .product-description {
    margin: 5px 20px 5px 0;
    line-height: 1.4em;
  }
}

.product-price {
  width: 12%;

  
  &:before {
    content: '$';
  }
}

.product-quantity {
  width: 10%;
  text-align: center;
  margin-left:1em ;
  input {
    width: 45px;
  }
}

.remove-product {
  border: 0;
  padding: 10px;
  background-color: #a44;
  color: #fff;
  cursor: pointer;
  /* font-family: $font-bold; */
  font-size: 12px;
  border-radius: 3px;
  text-align: center;
  border-radius: 10px;
 

  &:hover {
    background-color: #a44;
  }
}

.product-line-price {
  width: 12%  ;
  margin-right:3em;

  text-align: center;
  align-items: center;
  &:before {
    content: '$';
  }
}
}
.product-price{
  /* color: brown; */
  font-weight: bold;
  font-size: larger;
}
/* Totals section */
.totals {
.totals-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;

  label {
    width: 79%;
    text-align: right;
  }
  input{
    border-radius: 10px;
    height: 25px;
    outline: 0px;
    padding-left: 10px;
  }
  .totals-value {
    width: 21%;
    text-align: right;
  }
}

.totals-item-total {
  /* font-family: $font-bold; */
}
}

.checkout {
align-self: flex-end;
border: 0;
margin-top: 20px;
padding: 6px 25px;
background: -webkit-linear-gradient(left,  #182939, #124363, #56d8e4, #9f01ea);
transition: all 0.4s;

border-radius: 150px;
color: #fff;
font-size: 25px;
border-radius: 3px;

&:hover {
  background-color: #494;
}
}

/* Column headers */
.column-labels {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
border-bottom: 2px  solid  #182939;
border-top: 2px  solid  #182939;
 margin:3em 0px;

label {
padding: 20px;
margin-left: 5em;
}

.product-image {
  width: 30%;
}
}
.product-details{
  width: 30%;




}
.product-price{
  width: 15%;
  text-align: center;
  margin-left: 1.5em;
}

/* Body/Header styles */


h1 {
font-weight: 100;
}

label {
/* color: $color-label; */
}

.shopping-cart {
margin-top: -45px;
}

/* Adjustments for tablet */
@media screen and (max-width: 950px) {
.shopping-cart {
  /* margin: 0; */
  padding-top: 20px;
  /* border-top: 1px solid $color-border; */
}

.column-labels {
  display: none;
}
.product-price{
  color: brown;}
.product{
  display: flex;
  
  margin: 1em 0%;

  padding: 20px;
  border-radius: 10px;
  text-align: center;
  gap: 40px;
  border-bottom: 4px solid brown;
  align-items: center;
}
.product-description {
  margin: 0px !important;
}
.product-title{
  /* display: flex; */
  font-weight: bold;
  text-align: center;

}
.totals {
  .totals-item {
   
  
    label {
    width: 25%;
      text-align: left;
    }}
.product-details{
  display: block;
  margin-left: 50px;
}

.product-image {
  width: auto;
  text-align: left;
  img {
    margin: 0 0 10px 10px;
  }
}

.product-details {
  width: auto;
  
}
}
}