.bg-full-modal{
    display: none;
    background: #0005;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 999999999;
}
.bg-full-modal-open{
    display: block;
}
.modal{
    width: 95%;
    height: fit-content;
    max-height: 95%;
    max-width: 1200px;
    position: fixed;
    display: none;
    flex-direction: column;
    top:50%;
    left:50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: #f1f1f1;
    border-radius: 0.4rem;
    padding: 1.5rem;
    z-index: 9999999999;
}
.product-modal-list{
    display: flex;
    gap: 1rem;
    padding: 0;
    flex-wrap: wrap;
    list-style: none;
    overflow-y: auto;
}
.product-modal-list li{
    flex-basis: calc(50% - 1rem);
}
.product-modal-list li a{
    color: #2196DC;
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 0.6rem;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.4rem;
}
.close-modal{
    position: absolute;
    top: 1rem;
    right: 1rem;
    border:none;
    outline: none;
    background: transparent;
}
.close-modal i{
    font-size: 1.8rem;
    color: #27BDAE;
}
.product-modal-title{
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
}

.open-modal{
    border-radius: 40px;
    text-transform: capitalize;
}
div[modal-key="search-modal"]{
    gap: 1rem;
}
div[modal-key="search-modal"] h3{
    font-weight: 500;
    text-align: center;
}
div[modal-key="search-modal"] #search-input{
    border: 1px solid #2196DC;
    height: 3rem;
    border-radius: 1000px;
    padding: 0 1rem;
    outline: none;
    box-shadow: 0px 0px 4rem #e0e0e0;
    margin-top: 1rem;
}
div[modal-key="search-modal"] #search-result-list{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0.5rem;
}
div[modal-key="search-modal"] #search-result-list li{
    flex-basis: 100%;
}
div[modal-key="search-modal"] #search-result-list li a{
    /* text-transform: capitalize; */
    color: #fff;
    display: block;
    width: 100%;
    height: 100%;
    background: #3A919C;
    padding: 0.6rem;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.6rem;
}
@media screen and (max-width:992px){
    .product-modal-list li{
        flex-basis: calc(50% - 1rem);
    }
}

@media screen and (max-width:520px){
    .product-modal-list li{
        flex-basis: calc(100% - 1rem);
    }
}