/*
I wanted to go with a mobile first approach, but it actually lead to more verbose CSS in this case, so I've gone web first. Can't always force things...

Side note: I know that this style of nesting in SASS doesn't result in the most performance efficient CSS code... but on the OCD/organizational side, I like it. So for CodePen purposes, CSS selector performance be damned.
*/
/* Global settings */
/* Global "table" column settings */
.product-image {
  float: left;
  width: 20%;
}

.product-details {
  float: left;
  width: 37%;
}

.product-price {
  float: left;
  width: 12%;
}

.product-quantity {
  float: left;
  width: 10%;
}

.product-removal {
  float: left;
  width: 9%;
}

.product-line-price {
  float: left;
  width: 12%;
  text-align: right;
}

/* This is used as the traditional .clearfix class */
.group:before, .shopping-cart:before, .column-labels:before, .product:before, .totals-item:before,
.group:after,
.shopping-cart:after,
.column-labels:after,
.product:after,
.totals-item:after {
  content: '';
  display: table;
}

.group:after, .shopping-cart:after, .column-labels:after, .product:after, .totals-item:after {
  clear: both;
}

.group, .shopping-cart, .column-labels, .product, .totals-item {
  zoom: 1;
}

/* Apply clearfix in a few places */
/* Apply dollar signs */
.product .product-price:before, .product .product-line-price:before, .totals-value:before {
  content: '';
}


h1 {
  font-weight: 100;
}

label {
  color: black;
}

.shopping-cart {
  margin-top: -45px;
}

/* Column headers */
.column-labels label {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.column-labels .product-image, .column-labels .product-details, .column-labels .product-removal {
  /*text-indent: -9999px;*/
}
.bg_dark label {
    padding-top: 15px;
    background: #e9e3c5 !important;
}
/* Product entries */
.product {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 5px solid #eee;
}
.product .product-image {
  text-align: center;
}
.product .product-image img {
  width: 100px;
}
.product .product-details .product-title {
  margin-right: 20px;
  /*font-family: "HelveticaNeue-Medium", "Helvetica Neue Medium";*/
}
.product .product-details .product-description {
  margin: 5px 20px 5px 0;
  line-height: 1.4em;
}
.product .product-quantity input {
  width: 40px;
}
.product .remove-product {
  border: 0;
  padding: 4px 8px;
  background-color: #c66;
  color: #fff;
  font-family: "HelveticaNeue-Medium", "Helvetica Neue Medium";
  font-size: 12px;
  border-radius: 3px;
}
.product .remove-product:hover {
  background-color: #a44;
}

/* Totals section */
.totals .totals-item {
  float: right;
  clear: both;
  width: 100%;
  margin-bottom: 10px;
}
.totals .totals-item label {
  float: left;
  clear: both;
  width: 79%;
  text-align: right;
}
.totals .totals-item .totals-value {
  float: right;
  width: 21%;
  text-align: right;
}
.totals .totals-item-total {
  font-family: "HelveticaNeue-Medium", "Helvetica Neue Medium";
}

.checkout {
  float: right;
  border: 0;
  margin-top: 20px;
  padding: 6px 25px;
  background-color: #6b6;
  color: #fff;
  font-size: 25px;
  border-radius: 3px;
}
.set_common {
    display: flex;
    align-items: center;
    min-height: 100px;
    justify-content: center;
}

.set_common2 {
    display: flex;
    align-items: center;
    min-height: 30px;
    justify-content: center;
}
.checkout:hover {
  background-color: #494;
}
.shopping-cart .product-details{
    position:relative;
}
.shopping-cart .product-details .product-title.cont {
    padding: 0px 7px;
    position:absolute;
    left:-30px;
    top:0px;
    line-height: 20px;
    display: inline-flex;
    text-align: center;
    border-radius: 50%;
    font-size: 10px;
    color: black;
    border: 1px solid #fff;
    font-weight: 600;
    background-color: #D10024;
    background-image: linear-gradient(230deg, #f1eeda, #c2ac5e);
    box-shadow: 0 2px 5px rgb(0 0 0 / 30%);
}
/* Make adjustments for tablet */
@media screen and (max-width: 650px) {
    .product-quantity1:before {
        content: 'Price';
    }

  .shopping-cart {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
  }

  .column-labels {
    display: none;
  }

  .product-image {
    float: right;
    width: auto;
    height:20px;
    
  }
  .product-image img {
    margin: 0 0 1px 10px;
    
  }

  .product-details {
    float: none;
    margin-bottom: 10px;
    width: auto;
  }

    .product-price {
        content: 'price';
        width: 70px;
    }
    .product-price {
        content: 'price';
        width: 70px;
    }
  .product-quantity {
     
    width: 100px;
  }
  .product-quantity input {
    margin-left: 20px;
  }

    .product-quantity:before {
      
        content: 'Quantity';
        color: black;
    }

  .product-removal {
    width: auto;
  }

  .product-line-price {
    float: right;
    width: 70px;
  }
    .product .product-line-price:before {
        
        content: 'Total: ';
        color:black;
        
    }
}
/* Make more adjustments for phone */
@media screen and (max-width: 350px) {
  .product-removal {
    float: right;
  }

  .product-line-price {
    float: right;
    clear: left;
    width: auto;
    margin-top: 10px;
  }

  .product .product-line-price:before {
    content: ' Total: ';
  }

  .totals .totals-item label {
    width: 60%;
  }
  .totals .totals-item .totals-value {
    width: 40%;
  }

 

}
#content-desktop {
    display: block;
    content: 'price';
}

#content-mobile {
    display: none;
    content: 'price';
}

@media screen and (max-width:786px) {
    .set_common {
        display: block !important;
        align-items: center;
        min-height: 0px;
        justify-content: center;
        margin-top: 40px !important;
    }
    
    #content-desktop {
        display: none;
        content: 'price';
    }

    #content-mobile {
        display: block;
        content: 'price';
    }
}
.labcolorb{
    color:black;

}
.shopping-cart .product-details p {
    font-family: "Poppins", Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}
