/* =========================================================
   MCP HOME SEARCH
   ========================================================= */

.mcp-home-search {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   Search Tabs
   --------------------------------------------------------- */

.mcp-home-tabs {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.mcp-home-tab {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
}

.mcp-home-tab:hover,
.mcp-home-tab:focus {
    color: #fff;
    text-decoration: none;
}

.mcp-home-tab.active {
    border-bottom-color: #fff;
}


/* ---------------------------------------------------------
   Keyword Search
   --------------------------------------------------------- */

.mcp-home-search-row {
    width: 100%;
    margin-bottom: 20px;
}

.mcp-home-search-box {
    position: relative;
    width: 100%;
}

.mcp-home-search-box input {
    width: 100%;
    height: 55px;
    padding: 0 65px 0 20px;
    margin: 0;
    border: 1px solid #d5d5d5;
    border-radius: 0;
    background: #fff;
    box-sizing: border-box;
    font-size: 16px;
    outline: none;
}

.mcp-home-search-box input:focus {
    border-color: #999;
}

.mcp-home-search-box input::placeholder {
    color: #999;
}


/* ---------------------------------------------------------
   Search Button
   --------------------------------------------------------- */

#mcp-home-search-button {
    position: absolute;
    top: 0;
    right: 0;

    width: 60px;
    height: 45px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;
    
    color: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

#mcp-home-search-button:hover {
    background: #222;
}

#mcp-home-search-button .icon-search {
    font-size: 20px;
    line-height: 1;
}


/* ---------------------------------------------------------
   Filters
   --------------------------------------------------------- */

.mcp-home-filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}

.mcp-home-filters select {
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 40px 0 15px;

    border: 1px solid #d5d5d5;
    border-radius: 0;

    background-color: #fff;

    font-size: 15px;
    color: #333;

    box-sizing: border-box;
    cursor: pointer;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .mcp-home-search {
        padding: 20px;
    }

    .mcp-home-filters {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .mcp-home-search {
        padding: 15px;
    }

    .mcp-home-tabs {
        gap: 20px;
        margin-bottom: 15px;
    }

    .mcp-home-tab {
        font-size: 14px;
    }

    .mcp-home-search-box input {
        height: 50px;
        padding-left: 15px;
        padding-right: 55px;
    }

    #mcp-home-search-button {
        width: 50px;
        height: 50px;
    }

    .mcp-home-filters {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mcp-home-filters select {
        height: 48px;
    }

}