.search-panel{
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

/* Overlay */
.search-panel-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    transition: opacity .3s ease;
}

/* Panel */
.search-panel-content{
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 500px;
    height: 100%;
    background: rgba(255,255,255,.95);
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 2rem;
    color: #000;
}

/* Activo */
.search-panel.active{
    pointer-events: auto;
}

.search-panel.active .search-panel-overlay{
    opacity: 1;
}

.search-panel.active .search-panel-content{
    transform: translateX(0);
}

/* Botón cerrar */
.search-close{
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Títulos */
.search-title{
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: black;
}

.search-input{
    position: relative;
    width: 100%;
}

/* Input */
.search-input input{
    width: 100%;
    padding: .9rem 3.2rem .9rem 1rem;
    font-size: 1.1rem;
    border: 1px solid gray;
    outline: none;
}

.search-input input:focus{
    border: 1px solid black;
}

.search-btn{
    position: absolute;
    top: 50%;
    right: .4rem;
    transform: translateY(-50%);
    height: calc(100% - .8rem);
    aspect-ratio: 1;
    border: none;
    background: whitesmoke;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover{
    opacity: .85;
}

.search-input{
    position: relative;
    width: 100%;
}

.search-input i{
    position: absolute;
    top: 50%;
    right: 30%;
    transform: translateY(-50%);
    color: black;
    pointer-events: none; /* decorativo */
}

/* Shortcuts */
.search-shortcuts{
    margin-top: 2rem;
}

.shortcuts-title{
    font-size: .9rem;
    color: black;
    margin-bottom: .8rem;
    font-weight: bold;
}

.shortcuts-list{
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.shortcuts-list a{
    padding: .5rem 1rem;
    border: 1px solid #e7e7e7;
    background: #e7e7e7;
    border-radius: 20px;
    text-decoration: none;
    color: black;
    font-size: .9rem;
    transition: background .2s;
    font-weight: bold;
}

.shortcuts-list a:hover{
    background: gray;
    color: black;
}


/* Mobile ajuste */
@media (max-width: 768px){
    .search-panel-content{
        width: 100%;
        max-width: none;
    }

    .search-btn{
        height: 42px;
    }

    .menu-mobile .main-menu-m .label1::after{
        margin-right: 67%;
    }
}




