body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

html {
    height: -webkit-fill-available;
}

#buscador {
    position: relative;
    z-index: 999;
    width: 100%;
}

@media (max-device-width: 991px) {
    #buscador {
        position: inherit;
        z-index: 999;
    }
}

#buscador .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #999 !important;
    font-size: 11px;
    background: none;
    border: none;
    transform: rotate(45deg);
    font-size: 24px;
    cursor: pointer;
}

@media (max-device-width: 991px) {
    #buscador .close-btn {
        position: fixed;
        top: 123px;
    }
}

#buscador .wrapper-list {
    position: absolute;
    display: flex !important;
    flex-direction: row;
    right: 0;
    width: 50vw;
    background-color: white;
    padding: 15px;
    box-shadow: 2px 2px 8px 0 rgb(0 0 0 / 10%);
    z-index: 1;
    top: 35px;
    visibility: hidden;
}

@media (max-device-width: 991px) {
    #buscador .wrapper-list {
        position: fixed;
        flex-direction: column;
        top: 123px;
        left: 0px;
        width: 100%;
        height: calc(100vh - 123px);
        padding-bottom: 56px;
        overflow-y: scroll;
        overflow-x: hidden;
    }
}

#buscador .list a {
    padding-left: 0px !important;
    margin-bottom: 5px;
}

.list.familias {
    border-right: 1px solid #ececec;
    min-width: 50%;
    margin-right: 10px;
    padding-right: 10px;
}

@media (max-device-width: 991px) {
    .list.familias {
        max-width: none;
        margin-right: 0;
        padding-right: 0;
        border: 0;
    }
}

.wrapper-list p {
    font-weight: bold;
    font-size: 12px;
}

@media (max-device-width: 991px) {
    .wrapper-list p {
        margin-bottom: 5px;
    }
}

.form-search {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.form-search .icon-search {
    color: #000;
    width: 24px;
    margin-left: 10px;
}

.form-search .search-icon {
    cursor: pointer;
    font-size: 20px;
    color: #000;
    top: 0px;
    padding-top: 2px;
}

.form-search .input-search {
    position: absolute;
    right: 25px;
    z-index: 0;
    border: 0px;
    width: 100%;
}


.form-search input {
    font-size: 12px;
    background: white;
    border: 1px solid #606060;
    padding: 5px;
    z-index: 0;
    border-radius: 5px;
    outline: none;
    height: 30px;
    width: 100%;
}
.active{
    display: flex !important;
    visibility: visible !important;
}
@media (max-device-width: 991px) {
    .form-search input {
        /* border: 1px solid #030303; */
        width: 100%;
    }

    .form-search .input-search {
        position: fixed;
        /* background-color: #010101; */
        top: 73px;
        right: 0;
        left: 0;
        padding: 10px;
        width: 100%;
        display: none;
    }
}

#buscador .loading {
    animation: rotate 2s infinite linear;
    transform-origin: center center;
    width: 24px;
    height: 24px;
    color: #010101;
    z-index: 1;
    position: absolute;
    right: 34px;
    font-size: 24px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-device-width: 991px) {
    #buscador .loading {
        position: fixed;
        top: 85px;
        right: 15px;
        z-index: 2;
    }
}

.product-buscador {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s all linear;
    text-decoration: none;
}

.product-buscador:hover {
    background-color: #ececec;
    text-decoration: none;
}

.product-buscador .name {
    color: #333;
    font-size: 14px;
}

@media (max-device-width: 991px) {
    .product-buscador .name {
        font-size: 12px;
    }
}

.product-buscador img {
    width: 60px;
    height: 60px;
    border: 1px solid #ececec;
    object-fit: cover;
    margin-right: 10px;
}

#buscador .link-all {
    font-size: 14px;
    font-weight: bold;
    color: #010101;
}