@media screen and (max-width: 768px) {
    .mobile-slide-panel {
        display: block !important;
        position: fixed;
        top: 50%;
        right: -75%;
        transform: translateY(-50%);
        width: 75%;
        height: auto;
        max-height: 80vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 9999;
        visibility: visible;
    }

    .mobile-slide-panel.active {
        right: 0; /* Panel visible */
    }

    .panel-tab {
        position: absolute;
        left: -50px;
        top: 50%;
        transform: translateY(-50%);
        width: 50px;
        height: 100px;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px 0 0 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .panel-content {
        padding: 20px;
        height: 100%;
        overflow-y: auto;
    }

    .tab-icon {
        font-size: 24px;
        color: #333;
    }

    /* Prevenir scroll del body cuando el panel está abierto */
    body.panel-open {
        overflow: hidden;
    }
}

/* Ocultar explícitamente en pantallas grandes */
@media screen and (min-width: 769px) {
    .mobile-slide-panel {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}