
    .sticky-sidebar {
        position: sticky;
        top: 20px; /* Abstand vom oberen Rand */
        height: 90vh; /* Maximale Höhe der Sidebar */
        overflow-y: auto;
        background-color: #f8f9fa;
        padding: 20px;
        border-radius: 10px;
    }
    
    .cart-item {
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
    }
    
    .cart-item:last-child {
        border-bottom: none; /* Entfernt die Linie beim letzten Eintrag */
    }

    
    .sidebar-toggle {
        display: none;
    }

    @media (max-width: 768px) {

        .sidebar {
            width: 50vw; /* Die Hälfte des Viewport-Breite für Mobile */
            min-width: 280px; /* Mindestbreite damit es nicht zu schmal wird */
            max-width: 400px; /* Maximale Breite auf sehr großen mobilen Geräten */
            position: fixed;
            top: 0;
            right: 0;
            height: 100%;
            background-color: #f8f9fa;
            box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
            z-index: 1050; /* Über den Hauptinhalt legen */
            transition: transform 0.3s ease;
        }

        /* Sidebar verstecken */
        .sidebar-hidden {
            transform: translateX(100%);
        }

        /* Sidebar-Toggle-Button */
        .sidebar-toggle {
            display: block; /* Button sichtbar */
            position: fixed;
            bottom: 80px;
            right: 0px;
            background-color: #007bff;
            margin: 20px;
            color: white;
            border: none;
            border-radius: 10px;
            height: 50px;
            width: 50px;
            font-size: 20px;
            cursor: pointer;
            z-index: 1060;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }


    }

    @media (max-width: 768px) {
        .content-area {
            margin-right: 0; /* Kein Platz für die Sidebar auf mobilen Geräten */
        }
    }
        