/*=========================================
SEARCH
=========================================*/

.cyb-search-form{
    width:100%;
    position:relative;
}

.cyb-search-wrapper{

    display:flex;

    align-items:center;

    width:100%;

    height:58px;

    background:#fff;

    border:1px solid #d9dfe7;

    border-radius:12px;

    overflow:hidden;

    box-shadow:0 6px 18px rgba(0,0,0,.06);

}

.cyb-search-wrapper:focus-within{

    border-color:#0B63CE;
    box-shadow:0 0 0 4px rgba(11,99,206,.12);

}

.cyb-search-icon{

    padding:0 18px;

    font-size:18px;
    color:#777;

}

.cyb-search-input{

    flex:1;

    border:none;
    outline:none;

    height:100%;

    font-size:15px;

    background:transparent;

}

.cyb-search-input::placeholder{

    color:#999;

}

.cyb-search-clear{

    width:50px;

    height:100%;

    border:none;

    border-left:1px solid #ececec;

    background:#fff;

    color:#888;

    cursor:pointer;

    transition:.3s;

}

.cyb-search-clear:hover{

    background:#f5f5f5;

    color:#c8102e;

}

.cyb-search-button{

    height:56px;

    padding:0 20px;

    border:none;

    background:#fff;

    color:#dc2626;

    font-weight:600;

    cursor:pointer;

    border-left:1px solid #e5e7eb;

    transition:.3s;

}

.cyb-search-button:hover{

    background:#f8f8f8;

    color:#b91c1c;

}


/* =====================================
   FORCE SEARCH STYLE
===================================== */

.cyb-search-form input,
.cyb-search-form button{
    border:none !important;
    outline:none !important;
    box-shadow:none !important;
    appearance:none;
    -webkit-appearance:none;
}

.cyb-search-input{
    border:none !important;
    box-shadow:none !important;
}

.cyb-search-button{
    background:maroon !important;
}
.cyb-search-clear{
    border-left:1px solid #ececec !important;
}

.cyb-search-button,
.cyb-search-clear{
    flex-shrink:0;
}


.cyb-search-box{
    position:relative;
}

.cyb-search-box svg{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    width:18px;
    height:18px;
    fill:#DC2626;
}

.cyb-search-input{
    width:100%;
    height:56px;
    padding:0 18px 0 50px;
    border:1px solid #E5E7EB;
    border-radius:14px;
    font-size:15px;
    transition:.25s;
    background:#fff;
}

.cyb-search-input:focus{
    outline:none;
    border-color:#DC2626;
    box-shadow:0 0 0 4px rgba(220,38,38,.12);
}


/* SEARCH WRAPPER */

.cyb-search-wrapper{

    position:relative;

    display:flex;

    align-items:center;

    background:#fff;

    border:1px solid #dcdfe4;

    border-radius:14px;

    overflow:hidden;

    transition:.3s;

}

.cyb-search-wrapper:hover{

    border-color:#dc2626;

}

.cyb-search-wrapper:focus-within{

    border-color:#dc2626;

    box-shadow:0 0 0 4px rgba(220,38,38,.12);

}


/* ICON */

.cyb-search-icon{

    width:56px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#dc2626;

}

.cyb-search-icon svg{

    width:20px;

    height:20px;

}


/* INPUT */

.cyb-search-input{

    flex:1;

    border:none;

    height:56px;

    padding:0;

    font-size:15px;

    background:transparent;

}

.cyb-search-input:focus{

    outline:none;

}


/* CLEAR */

.cyb-search-clear{

    width:44px;

    height:44px;

    border:none;

    background:none;

    cursor:pointer;

    color:#888;

}


/* BUTTON */

.cyb-search-button{

    height:56px;

    padding:0 28px;

    border:none;

    background:#dc2626;

    color:#fff;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.cyb-search-button:hover{

    background:#b91c1c;

}


/* =========================================
   SEARCH BUTTON ICON
========================================= */

.cyb-search-button{

    display:flex !important;

    align-items:center !important;

    justify-content:center !important;

    background:#d40018 !important;

    color:#fff !important;

    border:none !important;

    cursor:pointer !important;

}


/* SEARCH ICON */

.cyb-search-button svg{

    width:25px !important;

    height:25px !important;

    display:block !important;

    stroke:#fff !important;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width:768px){

    .cyb-search-button{

        width:58px !important;

        min-width:58px !important;

        height:56px !important;

        padding:0 !important;

        background:#d40018 !important;

        color:#fff !important;

        border-radius:0 7px 7px 0 !important;

    }


    .cyb-search-button svg{

        width:25px !important;

        height:25px !important;

        stroke:#fff !important;

    }

}


/* =========================================
   LIVE SEARCH DROPDOWN
========================================= */

.cyb-header-search{

    position:relative !important;

}


/* SEARCH RESULTS */

#cyb-search-results{

    position:absolute !important;

    top:calc(100% + 6px) !important;

    left:0 !important;

    width:100% !important;

    max-height:420px !important;

    overflow-y:auto !important;

    background:#fff !important;

    border:1px solid #e1e1e1 !important;

    border-radius:0 0 10px 10px !important;

    box-shadow:0 12px 30px rgba(0,0,0,.15) !important;

    z-index:999999 !important;

    display:none;

}


/* EACH RESULT */

#cyb-search-results .cyb-search-item{

    display:block !important;

    width:100% !important;

    padding:13px 16px !important;

    box-sizing:border-box !important;

    background:#fff !important;

    color:#333 !important;

    text-decoration:none !important;

    border-bottom:1px solid #eeeeee !important;

}


/* HOVER */

#cyb-search-results .cyb-search-item:hover{

    background:#f7f7f7 !important;

}


/* RESULT CONTENT */

#cyb-search-results .cyb-search-content{

    display:block !important;

}


/* PRODUCT TITLE */

#cyb-search-results .cyb-search-title{

    color:#333 !important;

    font-size:15px !important;

    font-weight:600 !important;

    line-height:1.4 !important;

}


/* BRAND */

#cyb-search-results .cyb-search-brand{

    margin-top:3px !important;

    color:#888 !important;

    font-size:12px !important;

}


/* LOADING / EMPTY */

#cyb-search-results .cyb-search-loading,
#cyb-search-results .cyb-search-empty{

    padding:18px !important;

    text-align:center !important;

    color:#777 !important;

    background:#fff !important;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width:768px){

    .cyb-header-search{

        position:relative !important;

        width:100% !important;

    }


    #cyb-search-results{

        top:calc(100% + 5px) !important;

        left:0 !important;

        width:100% !important;

        max-height:350px !important;

        border-radius:0 0 8px 8px !important;

        z-index:999999 !important;

    }


    #cyb-search-results .cyb-search-item{

        padding:14px 16px !important;

    }

}



