.no-capitalize {
  text-transform: none !important; /* Disable capitalization */
}
label.error {
  color: red; /* Set the error text color to red */
  font-size: 0.875rem; /* Adjust the font size */
  margin-top: 5px; /* Add spacing above the error message */
  display: block; /* Ensure the error message appears below the input */
}
input.error,
select.error,
textarea.error {
  border-color: red !important; /* Highlight the input with a red border */
}
.error {
  color: red !important; /* Set the error text color to red */
  font-size: 0.875rem !important; /* Adjust the font size */
  margin-top: 5px !important; /* Add spacing above the error message */
  display: block !important; /* Ensure the error message appears below the input */
  border-color: red !important;
}
.header-cart .cart-list {
  position: relative;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: inset 0 -10px 10px -10px rgba(0, 0, 0, 0.1); /* Shadow at the bottom */
}

/* Optional: Customize the scrollbar for WebKit browsers (Chrome, Safari, etc.) */
.header-cart .cart-list::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

.header-cart .cart-list::-webkit-scrollbar-thumb {
  background-color: #ccc; /* Color of the scrollbar thumb */
  border-radius: 4px; /* Rounded corners for the scrollbar thumb */
}

.header-cart .cart-list::-webkit-scrollbar-thumb:hover {
  background-color: #aaa; /* Darker color on hover */
}

.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.toast-notification p {
  margin: 0 0 10px;
  font-size: 16px;
}

.toast-actions .btn {
  margin: 5px;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 5px;
}

.toast-actions .btn-primary {
  background-color: #0da487;
  color: #fff;
}

.toast-actions .btn-secondary {
  background-color: #ccc;
  color: #000;
}
.product-detail .name a {
    display: block;
    max-width: 220px;      /* Set as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-detail .name a {
    display: block;
    max-width: 220px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;       /* About 2 lines */
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}
.cart-products-button-group.cart-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}
.cart-products-button-group.cart-button ul {
    margin-bottom: 0;
}