/* Style cho WooCommerce notices thành popup */
.woocommerce-notices-wrapper {
  position: fixed;
  top: 50px;
  right: 20px;
  z-index: 9999;
  width: 400px;
  max-width: 90%;
  opacity: 0; /* Đặt opacity ban đầu là 0 */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(-20px);
  pointer-events: none;
}

.woocommerce-notices-wrapper.show-notice {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 0 0 30px 0;
  position: relative;
  color: #333;
  font-size: 14px;
}
.woocommerce-message {
  border-left: 5px solid #199744;
}

.woocommerce-error {
  border-left: 5px solid #f44336; /* Màu đỏ cho error */
}

.woocommerce-info {
  border-left: 5px solid #2196f3; /* Màu xanh dương cho info */
}

/* Style cho ul trong error (xóa bullet points) */
.woocommerce-error ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-error li {
  padding: 5px 0;
}

/* Close button (tùy chọn, dùng pseudo-element) */
.woocommerce-notice-close {
  content: "\00d7"; /* Dấu X */
  position: absolute;
  top: 5px; /* Điều chỉnh vị trí */
  right: 10px; /* Điều chỉnh vị trí */
  font-size: 24px; /* Tăng kích thước dễ click hơn */
  line-height: 1;
  cursor: pointer;
  color: #999;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.woocommerce-notice-close:hover {
  opacity: 1;
  color: #333;
}

.added_to_cart {
  display: none;
}
