#nav-cart {
  width: 25px;
  height: 70px;
  margin-top: 35px;
  margin-left: 25px;
}

#nav-cart-icon {
  width: 25px;
  height: 25px;
  margin-top: 7px;
  cursor: pointer;
}

#nav-cart-icon-quantity {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: darkred;
  display: none;
  position: absolute;
  text-align: center;
  padding-right: 1px;
  margin: -15px 12px;
  color: #f8f8ff;
}

.show {
  display: block;
}

.empty {
  display: none;
}

#nav-cart:hover #nav-cart-cont {
  display: block;
}

#nav-cart-cont {
  padding: 20px;
  margin-top: 10px;
  right: 5%;
  position: absolute;
  display: none;
  background-color: #f8f8ff;
  border-radius: 5px;
  z-index: 2;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.3);
  color: black;
}

#nav-cart-table-wrapper {
  max-height: 345px;
  overflow-y: auto;
}

table {
  border-collapse: collapse;
}

.nav-cart-image img {
  padding-top: 2px;
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

.nav-cart-text-cont {
  padding: 0 20px;
}

.nav-cart-text {
  font-size: 15px;
  color: black;
  margin: 0;
}

.empty {
  display: none;
}

tr {
  border-bottom: solid 0.5px lightgray;
}

td {
  padding: 5px 0;
}

#nav-cart-msg {
  text-align: center;
}

#nav-cart-total {
  margin-top: 16px;
  margin-left: 21px;
  font-weight: bold;
}

#nav-cart-cont a{
  text-decoration: none;
}

#nav-btn {
  width: 100%;
  margin-top: 10px;
  display: none;
  
}

@media screen and (min-width: 1000px) {

  #nav-cart-cont {
    right: 15%;
  }
}