/* =====================================
   TP Luxury Search
   ===================================== */

.tp-search-form{
    width:100%;
    margin:0;
}

.tp-search-box{
    display:flex;
    align-items:center;
    width:100%;
    max-width:100%;
    background:#fff;
    border:1px solid #eadfce;
    border-radius:25px;
    padding:6px 12px !important;
    min-height:42px;
    box-sizing:border-box;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}

.tp-search-box:hover{
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.tp-search-box:focus-within{
    border-color:#b28a5c;
    box-shadow:0 0 0 4px rgba(178,138,92,.12);
}

.tp-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#8c8c8c;
}

.tp-icon svg{
    width:20px;
    height:20px;
    stroke-width:2;
}

.tp-search-input{
    flex:1;
    border:none !important;
    outline:none !important;
    background:transparent !important;
    box-shadow:none !important;
    padding:0 !important;
    margin:0 !important;
    font-size:14px !important;
    font-weight:400;
    color:#222;
    min-height:auto !important;
}

.tp-search-input::placeholder{
    color:#9a9a9a;
}

.tp-mic-btn{
    width:42px;
    height:42px;
    min-width:42px;
    border:none;
    outline:none;
    cursor:pointer;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        #c9a06a,
        #9b7448
    );
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .25s ease;
}

.tp-mic-btn:hover{
    transform:translateY(-2px);
}

.tp-mic-btn svg{
    width:18px;
    height:18px;
    stroke:#ffffff;
    stroke-width:2.2;
}

.tp-mic-btn.listening{
    animation:tpPulse 1.2s infinite;
}

@keyframes tpPulse{

    0%{
        box-shadow:0 0 0 0 rgba(155,116,72,.5);
    }

    70%{
        box-shadow:0 0 0 12px rgba(155,116,72,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(155,116,72,0);
    }

}

/* WooCommerce Theme Fixes */

.tp-search-form input[type="search"]{
    background:transparent !important;
    border:none !important;
}

/* Mobile */

@media(max-width:768px){

    .tp-search-box{
        padding:10px 15px;
        gap:10px;
        border-radius:50px;
    }

    .tp-search-input{
        font-size:13px !important;
    }

    .tp-mic-btn{
        width:38px;
        height:38px;
        min-width:38px;
    }

}

/* Small Phones */

@media(max-width:480px){

    .tp-search-box{
        padding:9px 14px;
    }

    .tp-search-input{
        font-size:12px !important;
    }

}

.tp-search-form p{
    margin:0 !important;
    padding:0 !important;
    display:inline !important;
}

.tp-search-box > p{
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
}