#carro-cart-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000; /* לוודא שהוא מעל כל האלמנטים */
}

#carro-cart-button {
    position: fixed; /* חשוב! אחרת הוא עלול להיות מוסתר */
    bottom: 20px;
    right: 20px;
    background: #ff6600;
    color: white;
    border: none;
    padding: 15px; /* הגדל מעט כדי לוודא שזה נראה טוב */
    border-radius: 50%;
    font-size: 24px; /* מוודא שהאייקון ברור */
    cursor: pointer;
    z-index: 10001 !important; /* מוודא שהוא תמיד מעל כל דבר אחר */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#carro-cart {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

#carro-cart.show {
    transform: translateX(0);
}

#carro-close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.carro-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* צבע כהה לשקיפות */
    z-index: 999;
    display: none; /* מוסתר בהתחלה */
}

/* כאשר העגלה מוצגת - להציג את הרקע */
#carro-cart.show + #carro-backdrop {
    display: block;
}
