/* Carrinho de Compras no Header */
/* My account text*/
.header-cart {
  /*background-color: #c1c1c1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  height: 40px;*/
}

.header-cart .bi-bag-check, .header-cart .bi-bag-heart {
  color: var(--bs-gray-dark);
  transition: 0.5s;
}

.header-cart .bi-bag-check:hover {
  color: var(--bs-primary);
  transition: 0.3s;
}

.header-cart .bi-cart3 {
  color: var(--bs-gray-dark);
  transition: 0.5s;
}

.header-cart .bi-cart3:hover {
  color: var(--bs-primary);
  transition: 0.3s;
}

.header-cart .checkout-icon:hover {
  fill: var(--bs-red);
  background-color: var(--bs-gray);
  color: #fff;
}

.header-cart .account-text {
  font-size: 0.9rem;
  padding: 10px;
}

.header-cart .account-btn {
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
}

.header-cart .account-btn:focus {
  outline: none;
}

.header-cart .shopping-cart {
  margin-left: 5px;
  font-size: 1.7rem;
}

.header-cart .shopping-cart .sum-prices {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#sum-prices {
  color: var(--bs-orange);
  padding-left: 5px;
}

.header-cart .sum-prices h6, .header-cart .sum-prices .h6 {
  font-size: 0.9rem;
}

.header-cart .shoppingCartButton {
  cursor: pointer;
}

.header-cart .shoppingCartButton:hover,
.account:hover * {
  color: var(--bs-green);
}

/* Janela com os produtos adicionados ao carrinho */
.productsOnCart {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;
  overflow: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  background-color: #fbfbfb;
  width: 300px;
  height: 500px;
  color: #333;
  z-index: 999;
  position: fixed;
  top: 70px;
  right: -450px;
  opacity: 0;
  text-align: center;
  animation: fade 2s;
  /*transition: right .3s;*/
  transition: all 0.3s;
}

.productsOnCart::-webkit-scrollbar {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

/*@keyframes fade {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: none;
    }
}*/
.productsOnCart::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.move {
  /*display: none;*/
  /*visibility: none;
  opacity: 0;
  transition: all 0.30s ease-in-out;*/
  right: 0;
  opacity: 1;
  animation: fade 1s;
  /*transition: right .3s;*/
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

.productsOnCart ul.product-list {
  text-align: left;
  /*display: flex;*/
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  height: 350px;
  /*border: 1px solid #ccc;*/
}

/*Customizando o ScrollBar*/
/* width */
.productsOnCart > ::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.productsOnCart > ::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.productsOnCart > ::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

/* Handle on hover */
.productsOnCart > ::-webkit-scrollbar-thumb:hover {
  background: #5f5f5f;
}

.productsOnCart .buyItem {
  border-bottom: #e3e3e3 1px solid;
  width: 98%;
  margin-top: 5px;
  padding: 10px;
  display: flex;
  transition: all 0.15s ease-in-out;
}

.productsOnCart .buyItem:hover {
  background-color: #f3f3f3;
  transition: all 0.15s ease-in-out;
}

.productsOnCart img {
  width: 25%;
  height: 100%;
  border-radius: 5px;
}

.productsOnCart .top {
  display: flex;
  background-color: #f3f3f3;
  text-align: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  width: 100%;
}

.top button {
  background: transparent;
  border: none;
  color: #c24c37 !important;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 0px;
  padding-top: 5px;  
}

.top button:hover {
  color: #e40505;
}

.top h3, .top .h3 {
  color: #333;
  font-size: 1.2rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
}

.productsOnCart > .checkout {
  font-size: 0.9rem;
  margin: 10px auto;
  border: none;
  background-color: #ff8e1a;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  padding: .5rem 1rem .5rem 1rem;  
}

.productsOnCart > .checkout:hover {
  background-color: #57a9ff;
}

.overlay {
  visibility: hidden;
  opacity: 0;
  transition: all 0.15s ease-in-out;
}

.move > .overlay { /* desativado com os comentarios */
  /*visibility: visible;*/
  /* opacity: 100%;*/
  overflow: hidden;
  display: inline-block;
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease-in-out;
}

.stopScrolling {
  height: 100vh;
  overflow: hidden;
}

.buyItem .product-name {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.buyItem .product-price {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.buyItem button {
  /*background: transparent;
  color: #fff;*/
  cursor: pointer;
  font-weight: 900;
  font-size: 1.2rem;
  padding: 0 6px;
  border: none;
}

.buyItem button .button-minus, .buyItem button .btn-outline-danger{
  color: #dc3545 !important; 
}

.buyItem button .button-minus:hover, .buyItem button .btn-outline-danger:hover{
  color: #fff !important;
}

.buyItem button:active {
  color: #96c8cc;
}

.buyItem > div {
  padding: 0 10px;
}

.productsOnCart .empty {
  font-size: 1rem;
  color: #ccc;
}

.hidden {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.65;
  filter: alpha(opacity=65);
  box-shadow: none;
}

.productsOnCart .buyItem .btn-outline-secondary {
  color: #0d6efd !important;
  border-color: #0d6efd !important;
  background-color: none !important;
}

.productsOnCart .buyItem .btn-outline-secondary:hover {
  color: #fff !important;
  border-color: #0b5ed7 !important;
  background-color: #0a58ca !important;
}