* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

#alert-btn {
    cursor: pointer;
}

div[id^="product-alert-"] {
    width: 350px;
    position: fixed;
    bottom: 140px;
    right: 10px;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    align-items: flex-start;
    gap: 0.5em;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1000;
    border: 2px solid rgba(0, 0, 0, 0.20);

}

div[id^="product-alert-"] {
    transition: all 2s ease;
    opacity: 0; /* make divs initially invisible */
    transform: translateX(0px); /* divs initially start from this position */
}

div[id^="product-alert-"].active {
    transition: all 3s ease;
    opacity: 1; /* make divs fully visible when 'active' class is added */
    transform: translateX(0px); /* divs initially start from this position */
}

div[id^="product-alert-"].fly-out,#product-pop.fly-out {
    transition: all 3s ease;
    opacity: 0;
    transform: translateX(100vw); /* when 'fly-out' class is added, divs move towards the right */
}


.product-info {
    display: flex;
}

a.product-link {
    color: #4b7dfc !important;
    text-decoration: underline;
}

.product-info img {
    width: 110px;
    height: 110px;
    margin-right: 5px;
    opacity: 0.7;
}

.message {
    font-size: 16px;
}

.time {
    font-size: 12px;
    margin-top: 16px;
    color: #a0a0a0;
}


.button_close  {
    position: absolute;
    top: -40px;
    right: -3px;
    /* padding: 5px; */
    border: 2px solid RGBA(0, 0, 0, 0.20);
    background: #fff;
}
@media screen AND (max-width: 768px) {
    div[id^="product-alert-"] {
        display: none !important;
        opacity: 0 !important;
    }

}