.discounted-price {
    color: #000000;
}

.original-price {
    text-decoration: line-through;
    color: #000000;
}

#loading-overlay, #error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  .loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  #error-overlay p {
    color: rgb(0, 0, 0);
    font-weight: semi-bold;
    text-align: center;
    line-height: 24px;
  }
  
  .loading-indicator {
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top: 3px solid #555;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    transform: translate(-50%, -50%);
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .contact-submit-btn button {
    position: relative; /* Needed to position the loading indicator within the button */
  }

  .cart-button {
    position: relative; /* Set position relative on the cart button container */
}

  .cart-notification {
    position: absolute;
    top: -3px;    /* Adjust this value to position vertically */
    right: -10px;  /* Adjust this value to position horizontally */
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    display: flex;             /* Center the text inside the badge */
    align-items: center;
    justify-content: center;
}

/* Style to make each cart item take full width */
#cartItems {
    display: flex;
    flex-direction: column; /* Aligns items vertically */
    gap: 10px; /* Adds space between each cart item */
    padding: 10px;
}

/* Ensures each cart-product spans the full width */
.cart-product {
    display: flex;
    align-items: center;
    width: 100%; /* Full width of container */
    padding: 10px;
    border-bottom: 1px solid #ddd; /* Optional separator between items */
}

/* Style adjustments for the cart item image */
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 10px; /* Space between image and description */
}

/* Container for the cart product details */
.cart-product-des-res {
    display: flex;
    flex-direction: column; /* Stack description and trash icon vertically */
    justify-content: space-between;
    flex: 1; /* Take up remaining width */
}

/* Styles for the description within the cart product */
.cart-product-desi {
    display: flex;
    flex-direction: column; /* Stack product name, price, and quantity vertically */
    gap: 8px; /* Space between each item */
    font-size: 16px;
    padding-right: 35px; /* Extra space for the trash icon */
}

.cart-product-des {
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    /* padding: 10px; */
  }
/* Styling for the trash icon */
.cart-product-trash-res {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.sidebar {
    transition: opacity 0.3s ease;
    overflow-y: auto; /* Enable vertical scrolling for the overlay */
    overflow-x: hidden;

}
