#shopping-hero{
  background-image: url(/imgs/banner/banner.png);
  height: 40vh;
  background-repeat: no-repeat;
  background-size: cover;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

#shopping-hero h1,
#shopping-hero p{
  color: #fff;
}

#cart{
  overflow-x: auto;
  width: 100%;
}

#cart table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

#cart table img {
  width: 100%;
  max-width: 70px;
  /* min-width: 40px; */
}

#cart table td:nth-child(1) {
  width: 8%;
  /* min-width: 50px; */
  text-align: center;
}
#cart table td:nth-child(1) i{
  color: #000;
}
#cart table td:nth-child(2) {
  width: 1%;
  /* min-width: 70px; */
  text-align: center;
}
#cart table td:nth-child(3) {
  width: 20%;
  /* min-width: 100px; */
  text-align: center;
}
#cart table td:nth-child(4),
#cart table td:nth-child(5),
#cart table td:nth-child(6) {
  width: 10%;
  /* min-width: 70px; */
  text-align: center;
}

#cart table td:nth-child(5) input {
  width: 90%;
  /* min-width: 45px; */
  max-width: 70px;
  padding: 1px 5px 1px 5px;
  outline: none;
  font-size: 100%;
  font-weight: 500;
}

/* Always show number input spinners */
#cart table td:nth-child(5) input::-webkit-inner-spin-button,
#cart table td:nth-child(5) input::-webkit-outer-spin-button {
  opacity: 1 !important;
  display: inline-block !important;
  visibility: visible !important;
  position: relative;
  right: 0;
}

/* For Firefox */
#cart table td:nth-child(5) input {
  -moz-appearance: textfield;
}

#cart table thead{
  border: 1px solid #e2e9e1;
  border-left: none;
  border-right: none;
}

#cart table thead td{
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 18px 0;
}

#cart table tbody tr td{
  padding-top: 15px;
  font-size: 13px;
}

/* submit section */

#cart-add{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 5px 20px;
}

#cart-add #coupon{
  width: 48%;
  margin-bottom: 30px;
  padding: 20px 30px;
}

#cart-add #coupon button{
  margin-right: auto;
  margin-top: 10px;
}

#user-details{
  display: flex;
  flex-direction: column;
}

#cart-add #coupon h4{
  margin-bottom: 10px;
}

#cart-add #coupon input{
  padding: 10px 20px;
  outline: none;
  width: 100%;
  max-width: 300px;
  margin-right: 10px;
  border: 1px solid #e2e9e1;
  margin-bottom: 5px;
}
#cart-add #coupon textarea{
  padding: 10px 20px;
  outline: none;
  width: 100%;
  max-width: 300px;
  margin-right: 10px;
  border: 1px solid #e2e9e1;
  margin-bottom: 5px;
}


#cart-add h4{
  margin-bottom: 20px;
}


#cart-add #subtotal{
  width: 48%;
  margin-bottom: 30px;
  padding: 20px 30px;
}

#cart-add #subtotal h3{
  padding-bottom: 10px;
}

#cart-add #subtotal table{
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

#cart-add #subtotal table td{
  border: 1px solid #e2e9e1;
  width: 50%;
  padding: 10px;
  font-size: 13px;
}

#prices-table-continer{
  border: 1px solid #9497a2;
  padding: 1px 5% 20px 5%;
}

#subtotal thead{
  font-weight: 500;
  text-decoration: underline;
}

#subtotal h3{
  margin-left: 20px;
}

#shopping-hero span{
  color: red;
}

#pricing-container{
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgb(52, 52, 53);
  margin-top: -10px;
  padding-top: 5px;
}

/* Responsive Media Queries */
@media(max-width: 799px){
  #cart-add {
    flex-direction: column;
  }

  #cart-add #subtotal {
    width: 100%;
  }

  #cart-add #coupon {
    width: 100%;
    padding: 20px 2px;
  }

  #cart-add #coupon input {
    padding: 10px 2px 10px 15px;
    outline: none;
    width: 100%;
    max-width: none;
    margin-right: 2px;
    border: 1px solid #e2e9e1;
    margin-bottom: 5px;
  }

  #cart-add #coupon textarea {
    padding: 10px 2px 10px 15px;
    outline: none;
    width: 100%;
    max-width: none;
    margin-right: 10px;
    border: 1px solid #e2e9e1;
    margin-bottom: 5px;
  }

  /* Make table scrollable on mobile */
  #cart {
    overflow-x: auto;
  }
  
  #cart table {
    /* min-width: 650px; */
  }
}

@media(max-width: 555px){
  #cart-add #subtotal {
    margin-bottom: 30px;
    padding: 0;
  }

  #prices-table-continer {
    border: 1px solid #9497a2;
    padding: 1px 10px 20px 10px;
  }

  #cart-add #subtotal table td {
    border: 1px solid #e2e9e1;
    width: 50%;
    padding: 5px;
    font-size: 12px;
  }
  
  /* Reduce table font size on very small screens */
  #cart table thead td,
  #cart table tbody tr td {
    font-size: 11px;
    padding: 8px 4px;
  }
}

@media(max-width: 399px){
  .section-p1 {
    padding: 10px 10px;
  }

  #cart-add {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  #cart-add #coupon {
    width: 100%;
  }

  #cart-add #subtotal {
    width: 100%;
  }

  #shopping-hero h1{
    font-size: 35px;
    margin-bottom: -15px;
  }

  #shopping-hero p {
    color: #fff;
    font-size: 14px;
    text-align: center;
  }
}