.recipe-search-wrap{
    max-width:750px;
    margin:20px auto;
    position:relative;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.recipe-category{
    width:110px;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    outline:none;
    height:48px;
}

.recipe-search-input{
    flex:1;
    padding:12px 15px;
    border:1px solid #ddd;
    border-radius:8px;
    outline:none;
    height:48px;
}

.recipe-search-results{
    position:absolute;
    top:58px;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #eee;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.12);
    z-index:99999;
}

.recipe-item{
    border-bottom:1px solid #f1f1f1;
}

.recipe-item:last-child{
    border-bottom:none;
}

.recipe-link{
    display:flex;
    gap:15px;
    padding:15px;
    text-decoration:none;
    transition:0.2s;
}

.recipe-link:hover{
    background:#fafafa;
}

.recipe-thumb img{
    width:85px;
    height:85px;
    object-fit:cover;
    border-radius:10px;
}

.recipe-content{
    flex:1;
}

.recipe-title{
    font-size:17px;
    font-weight:700;
    color:#222;
    margin-bottom:6px;
    line-height:1.4;
    text-align: left;
}

.recipe-meta{
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:8px;
    font-size:13px;
    color:#777;
    flex-wrap:wrap;
}

.recipe-category {
    background: #ffffff;
    padding: 4px 10px 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    border: 0px;
    border-right: 1px !important;
    border-right-color: #999 !important;
    border-right: solid !important;
    width: 145px;
}

.recipe-date{
    font-size:12px;
}

.recipe-excerpt{
    font-size:14px;
    color:#666;
    line-height:1.5;
}

.recipe-loader{
    padding:30px;
    text-align:center;
}

.recipe-spinner{
    width:35px;
    height:35px;
    border:4px solid #f1f1f1;
    border-top:4px solid #ff6b35;
    border-radius:50%;
    margin:0 auto 10px;
    animation:recipeSpin 0.8s linear infinite;
}

.recipe-loading-text{
    font-size:14px;
    color:#777;
}

.recipe-no-results{
    padding:20px;
    text-align:center;
    color:#777;
}

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

@media(max-width:768px){

    .recipe-search-wrap{
        flex-direction:column;
    }

    .recipe-category{
        width:100%;
    }

    .recipe-search-results{
        top:110px;
    }

    .recipe-thumb img{
        width:70px;
        height:70px;
    }
}