/* ================= MAIN BOX ================= */
.hsn-search-box{
    max-width:700px;
    margin:60px auto 120px;
    padding:30px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

/* ================= RADIO ================= */
.search-type{
    margin-bottom:20px;
}

/* ================= INPUT AREA ================= */
.hsn-input-wrapper{
    position:relative;
}

/* ================= INPUT ================= */
#hsn_search_input{
    width:100%;
    padding:14px 70px 14px 14px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:16px;
}

/* ================= BUTTON INSIDE INPUT ================= */
#hsn_search_btn{
    position:absolute;
    right:6px;
    top:50%;
    transform:translateY(-50%);
    padding:8px 14px;
    border:none;
    border-radius:6px;
    background:#033a6f;
    cursor:pointer;
    transition:0.3s;
    color:white ;
}

#hsn_search_btn:hover{
    background:#033a23t;
    color: white ;
}

/* ================= AUTOCOMPLETE ================= */
#hsn_results{
    position:absolute;
    top:100%;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    max-height:250px;
    overflow-y:auto;
    display:none;
    z-index:999;
}

.hsn-item{
    padding:12px;
    border-bottom:1px solid #eee;
    cursor:pointer;
}

.hsn-item:hover{
    background:#f1f1f1;
}

/* ================= FINAL RESULT ================= */
.hsn-final-wrapper{
    margin-top:60px;
}

/* RESULT CARD */
.final-card{
    margin-bottom:15px;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#f9f9f9;
}


/* ================= MOBILE FIX ================= */
@media(max-width:768px){

    .hsn-search-box{
        margin:40px 15px 120px;
        padding:20px;
    }

    #hsn_search_input{
        font-size:15px;
        padding:12px 65px 12px 12px;
    }

    #hsn_search_btn{
        padding:6px 12px;
        font-size:14px;
    }

    /* 🔥 FOOTER OVERLAP FIX */
    .hsn-final-wrapper{
        margin-top:30px;
        margin-bottom:150px;
    }

}
