@charset "UTF-8";
.coverAddToCart {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-100px); /* start từ xa */
  background: white;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.3s;
}

.showAddToCart {
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0); /* start từ xa */
  opacity: 1;
  visibility: visible;
  transition: all ease 0.3s;
}

.bgAddToCart {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.5490196078);
  opacity: 0;
  visibility: hidden;
  z-index: 11;
}

.showBgAddToCart {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  .coverAddToCart {
    min-width: 90%;
  }
}
@media screen and (min-width: 768px) {
  .coverAddToCart {
    min-width: 500px;
  }
}
.coverAddToCart {
  padding: 10px;
  border: 1px solid rgb(146, 144, 144);
  border-radius: 10px;
  box-shadow: 0px 1px 4px rgb(206, 199, 199);
  overflow-y: auto;
  z-index: 11;
}

.inputQuantity input {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  pointer-events: none; /* chặn nhập bàn phím */
  background-color: #fdfdfd;
}

.inputQuantity button {
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: background 0.2s;
}

.inputQuantity button:hover {
  background: #ddd;
}

/* nút tròn */
.showCartBottomLeft {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 10px !important;
  border: 2px solid transparent;
  padding: 5px 10px;
  box-shadow: 0px 2px 3px;
  display: flex !important;
}

.showCartBottomLeft:hover {
  transform: scale(1.05);
}

.showCartBottomLeft i {
  font-size: 22px;
  color: #000; /* đổi màu icon nếu cần */
}

i.bi {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.showQuanityCart {
  top: -16px;
  right: 0;
  line-height: 24px;
  width: 24px;
  text-align: center;
  background: #ef4c2b;
  color: white;
  border-radius: 50%;
}

/* Hiệu ứng sáng lên + phóng to */
.cart-highlight {
  animation: highlightCart 0.5s ease forwards;
}

@keyframes highlightCart {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(255, 200, 0, 0);
    border-radius: 10px;
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(216, 151, 205, 0.8);
    border-radius: 10px;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(255, 200, 0, 0);
    border-radius: 10px;
  }
}
.coverPopupCart {
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-100px); /* start từ xa */
  background: white;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.3s;
}

.showPopupCart {
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0); /* start từ xa */
  opacity: 1;
  visibility: visible;
  transition: all ease 0.3s;
}

.bgPopupCart {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.5490196078);
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.showBgPopupCart {
  opacity: 1;
  visibility: visible;
}

@media screen and (min-width: 768px) {
  .coverEachImgInCart img {
    width: 40px;
    height: 40px;
  }
}
@media screen and (max-width: 768px) {
  .coverEachImgInCart img {
    width: 30px;
    height: 30px;
  }
}
.eachCartInPopup {
  display: flex;
}

.cartInPopup {
  padding: 3px;
}

@media screen and (max-width: 768px) {
  .coverPopupCart {
    min-width: 90%;
    overflow-y: auto;
  }
}
@media screen and (min-width: 768px) {
  .coverPopupCart {
    min-width: 500px;
    width: 500px;
    overflow-y: auto;
  }
}
.removeItemInCart {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgb(233, 230, 230);
  display: flex;
  color: brown;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.inputQuantityCartPopup button {
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: background 0.2s;
}

.inputQuantityCartPopup input {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  pointer-events: none;
  background-color: #fdfdfd;
}

div#showProInCart {
  max-height: 333px;
  overflow-y: auto;
}

.coverOrder {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-100px); /* start từ xa */
  background: white;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.3s;
}

.showOrder {
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0); /* start từ xa */
  opacity: 1;
  visibility: visible;
  transition: all ease 0.3s;
}

.bgOrder {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.5490196078);
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.showBgOrder {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  .coverOrder {
    min-width: 98%;
    overflow-y: auto;
  }
  .coverform {
    padding: 10px !important;
    margin: 0 !important;
  }
  .orderForm label {
    display: none;
  }
  div#showCartInOrder {
    max-height: 150px;
    overflow-y: auto;
  }
}
@media screen and (min-width: 768px) {
  .coverOrder {
    max-width: 800px;
    overflow-y: auto;
  }
}
.loadingLine img {
  width: 100%;
  height: 5px;
  object-fit: cover;
}

.loadingLine {
  opacity: 0;
  visibility: hidden;
}

.showLoadingLine {
  opacity: 1;
  visibility: visible;
}

.popupMessage {
  opacity: 0;
  height: 0;
  width: 100%;
  visibility: hidden;
  transition: all ease 0.3s;
}

.showMessage {
  opacity: 1;
  height: auto;
  width: 100%;
  visibility: visible;
  transition: all ease 0.3s;
}

.coverSsOrder {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-100px); /* start từ xa */
  background: white;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.3s;
}

.showSsOrder {
  top: 50%;
  transform: translate(-50%, -50%) translateZ(0); /* start từ xa */
  opacity: 1;
  visibility: visible;
  transition: all ease 0.3s;
}

.bgSsOrder {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.5490196078);
  opacity: 0;
  visibility: hidden;
  z-index: 2;
}

.showBgSsOrder {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 768px) {
  .coverSsOrder {
    min-width: 98%;
    overflow-y: auto;
  }
}
@media screen and (min-width: 768px) {
  .coverSsOrder {
    max-width: 800px;
    overflow-y: auto;
  }
}

/*# sourceMappingURL=addtocart.css.map */
