header {
  margin-bottom: 0px;
 }
 h1, .bodyCart {
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

 }
 h1 {
  text-align: center;
  font-size: 50px;
  margin-bottom: 40px;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

 }
 h2{
  margin:  20px;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

 }

#continueToCheckoutButton, 
#buttonRequest, 
#checkoutTypeForm input[type=submit] {
  background-color: #000000;
  border: none;
  color: white;
  font-size: 1.3rem;
  border-radius: 5px;
  padding: 10px 50px;
  display: block;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;

}

#continueToCheckoutButton {
  margin-bottom: 30px;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

  font-size: 1rem;
}

#continueToCheckoutButton:hover{
  background-color: #6b0000;
  cursor: pointer;
  
}

#removeItemButton {
  font-size: 1rem;
  color: rgb(126, 126, 126);
}

#removeItemButton:hover {
  text-decoration: underline;
  color: rgb(28, 28, 28);
  cursor: pointer;
}

#continueToCheckoutButton::before, 
#buttonRequest::before, 
#checkoutTypeForm input[type=submit]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%; 
  width: 200%; 
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg); 
  transition: none; 
}

#continueToCheckoutButton:hover::before, 
#buttonRequest:hover::before, 
#checkoutTypeForm input[type=submit]:hover::before, 
#removeItemButton:hover::before {
  left: 100%; 
  transition: left 0.5s ease; 
}

 
 .textCenter{
  /* margin-top: 100px; */
  text-align: center;
 
 }
 .HomeBtn, #paymentBtn, #removeAll{
  background-color: #212529;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
 }
 .HomeBtn {
  background-color: #CF1715;
  border: none;
  color: white;
  font-size: 1.3rem;
  border-radius: 20px;
  padding: 10px 50px;
  cursor: pointer;
  position: relative;
  overflow: hidden; 
  transition: background-color 0.3s ease, transform 0.3s ease; 
}

.HomeBtn:hover {
  background-color: #530000; 
  transform: scale(1.05); 
}


.HomeBtn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%; 
  width: 200%; 
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg); 
  transition: left 0.5s ease, background 0.3s ease; 
}

.HomeBtn:hover::before {
  left: 100%; 
}

 #paymentBtn{
  background-color: #CF1715;
  float: right;
 }
 .btns{
  margin-top: 30px;
 }
 #removeAll{
  background-color: gray;
 }

 /*empty cart button*/
 #clearCartButton {
  color: #f1f1f1;
  padding: 5px 5px;
  cursor: pointer;
  margin-top: 30px;
  font-size: 0.7rem;
  background-color: #353535;
  border: none;
  border-radius: 2px;

}

#clearButton {
  grid-row: 1;
  grid-column: 1 / span 2;
  text-align: -webkit-right;
  margin-right: 2%;
}

#clearCartButton:hover { 
  background-color: #636363;
}
 
 .bodyCart{
  min-height: 230px;
  margin-left: 10%;
  margin-right: 10%;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  column-gap: 5%;
  grid-template-rows: auto;
 }
 .shoppingCartContainer {
  margin-bottom: 20px;
  grid-column: 1 /span 2;
  grid-row: 2 / span 3;
 }

 /*cart subtotal*/
 #cartSummary {
  grid-row: 2;
  grid-column: 3;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d3d3d3;
  box-shadow: 0px 0.5px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;


 }

 .message {
  margin-top: 20px;
  font-size: 1em;
  font-weight: 200;
 }

 #checkoutButtonContainer {
  margin-top: 20px;
  width: 100%;
  grid-column: 3;
  grid-row: 3;
}

 .subtotalRow {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.subtotalLabel {
  font-size: 1.5rem;
  font-weight: lighter;
  color: #333;
}

.subtotalValue {
  font-size: 25px;
  font-weight: 500;
  color: #000;
}

/*check out button*/
#checkoutButtonContainer button {
  margin-top: 20px;
  width: 100%;
}


 .bi-x-lg{
  color: red;
  font-weight: bold;
 }
 #shoppingCart{
  grid-column: 1;
  grid-row: 1;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

 }
 #shoppingCart p{
  font-size: 0.9rem;
  font-weight: 500;
 }
 #paymentColumn{
  grid-column: 2;
 grid-row: 1;
 }
 
 .cartButtons {
  display: flex;
  align-items: center;
}
 
 .cartItem{
  border: 1px solid lightgray;
  display: grid;
  grid-template-columns: 200px auto 120px;
  box-shadow: 0px 0.5px 8px rgba(0, 0, 0, 0.1);
  margin: 0 2%;
 }
 .cartItem h4 {
  display: inline;
  grid-column: 3;
  text-align: right;
  margin-right: 20px;

 }
 .cardImg{
  grid-column: 1;
  grid-row: 1;
 }
 .cardImg img {
  object-fit: scale-down;
  height: 200px;
  line-height: 200px;
 }
 .cardBody{
  grid-column: 2;
  grid-row: 1;
 }
 .details, .cartImage{
  padding: 10px;
 }
 .tittlePriceX{
  margin-top: 20px;
 }
 
 .cartButtons p, .cardBody button, .numberPicker {
   display: inline;
 }
 
 .numberPicker {
  border: solid lightgray 1px;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

  font-size: 0.90rem;
  margin-right: 20px;
 }
 .numberPicker i {
  margin: 0px 5px;
 }
 .numberPicker i:hover {
   color: gray;
   cursor: pointer;
 }
 .quantity {
   width: 15px;
   font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

 }


 /*continue shopping button*/
 div#continueShoppingButtonContainer{
  grid-column: 3;
  grid-row: 3;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
 }

 a#continueShopping{
  color: #4e4e4e;
  margin-top: 20%;
  margin-left: 15px;

 }

 a#continueShopping:hover{
  font-weight: 500;

 }

/* Arrow style */
a#continueShopping i#arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}


a#continueShopping:hover i#arrow {
  transform: translateX(5px);
}

/*breadcrumbs*/
 #breadcrumbs {
  padding: 10px 16px;
  list-style: none;
  background-color: #eee;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;

  margin-bottom: 30px;
  margin-bottom: -10px;
  text-decoration: underline;
 }
 
 #breadcrumbs li {
  display: inline;
  font-size: 18px;
 }
 
 #breadcrumbs li+li:before {
  padding: 2px;
  color: black;
  content: "/\00a0";
 }
 
 #breadcrumbs a {
  color: #CF1715;
  text-decoration: none;
 }
 
 #breadcrumbs li a:hover {
  color: red;
  text-decoration: underline;
 }
 
 /* @media screen and (max-width: 660px) {
  .lastCrumb {
      display: none !important;
  }
 } */

 @media screen and (max-width: 980px) {
  .bodyCart {
    display: block;
  }
  
 }
 
 @media screen and (max-width: 576px) {
  .cartItem {
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-rows: auto auto;
      gap: 30px;
      row-gap: 0;
      border-left: none;
      border-right: none;
      border-bottom: none;
      box-shadow: none;
  }

  .cardImg {
      grid-column: 1;
      grid-row: 1;
      text-align: center;
  }

  .cardImg img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    margin: 20px;
}

  .cardBody {
      grid-column: 2;
      grid-row: 1;
  }

  .cartItem h4 {
      grid-column: 2;
      grid-row: 2;
      text-align: left;
      margin-bottom: 10px;
  }

  #breadcrumbs {
      padding: 15px 16px 10px 16px;
  }

  .lastCrumb {
      display: none;
  }

  .bodyCart {
      display: block;
      margin: 0px 5%;
  }

  #removeItemButton {
    margin: 0 0 0 5%;
  }

  a#continueShopping{
    color: #4e4e4e;
    margin-bottom: 10%;
    margin-top: 1%;
  
   }

  .numberPicker {
  margin-right: 0px;
}


}
