.hcm-search-filter{
    --hcm-navy:#0b2a4a;
    --hcm-gold:#d9ad38;
    --hcm-border:#e2e7ee;
    --hcm-text:#112c4d;
    --hcm-muted:#6c7787;
    width:100%;
    font-family:inherit;
    direction:rtl;
}
.hcm-search-filter *,
.hcm-search-filter *::before,
.hcm-search-filter *::after{box-sizing:border-box}

.hcm-search-filter__form{
    display:grid;
    grid-template-columns:repeat(4,minmax(150px,1fr)) minmax(190px,.9fr);
    gap:12px;
    align-items:end;
    width:100%;
    padding:22px;
    background:#fff;
    border-radius:22px;
    box-shadow:0 18px 45px rgba(18,38,63,.08);
}

.hcm-search-filter__field,
.hcm-search-filter__submit-wrap{min-width:0}

.hcm-search-filter__field label{
    display:block;
    margin:0 5px 8px;
    color:var(--hcm-text);
    font-size:14px;
    line-height:1.5;
    font-weight:800;
}

.hcm-search-filter__control{
    position:relative;
    min-width:0;
}

.hcm-search-filter__control select{
    width:100%;
    height:64px;
    margin:0;
    padding:0 17px 0 44px;
    border:1px solid var(--hcm-border);
    border-radius:14px;
    outline:0;
    appearance:none;
    -webkit-appearance:none;
    background:#fff;
    color:var(--hcm-text);
    font:inherit;
    font-size:15px;
    cursor:pointer;
    transition:border-color .2s ease,box-shadow .2s ease;
}

.hcm-search-filter__control--location select{
    padding-right:43px;
}

.hcm-search-filter__control select:focus{
    border-color:var(--hcm-gold);
    box-shadow:0 0 0 3px rgba(217,173,56,.13);
}

.hcm-search-filter__icon{
    position:absolute;
    right:14px;
    top:50%;
    width:19px;
    height:19px;
    transform:translateY(-50%);
    color:var(--hcm-gold);
    pointer-events:none;
}

.hcm-search-filter__icon svg{
    display:block;
    width:100%;
    height:100%;
}

.hcm-search-filter__submit{
    width:100%;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin:0;
    padding:0 18px;
    border:0;
    border-radius:14px;
    background:var(--hcm-gold);
    color:var(--hcm-navy);
    font:inherit;
    font-size:17px;
    font-weight:900;
    cursor:pointer;
    transition:transform .2s ease,filter .2s ease;
}

.hcm-search-filter__submit svg{
    width:20px;
    height:20px;
    flex:0 0 auto;
}

@media (hover:hover) and (pointer:fine){
    .hcm-search-filter__submit:hover{
        filter:brightness(.96);
        transform:translateY(-1px);
    }
}

.hcm-search-filter__submit:focus-visible{
    outline:3px solid rgba(11,42,74,.2);
    outline-offset:3px;
}

@media(max-width:1180px){
    .hcm-search-filter__form{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .hcm-search-filter__submit-wrap{
        grid-column:span 2;
    }
}

@media(max-width:640px){
    .hcm-search-filter__form{
        grid-template-columns:1fr;
        padding:15px;
        border-radius:18px;
        gap:12px;
    }

    .hcm-search-filter__submit-wrap{
        grid-column:auto;
    }

    .hcm-search-filter__control select,
    .hcm-search-filter__submit{
        height:57px;
        font-size:15px;
    }

    .hcm-search-filter__field label{
        font-size:13px;
        margin-bottom:6px;
    }
}

/* Polylang bilingual shortcode labels */
.ar,.en{display:inline}
html[lang^="en"] .hcm-search-filter{direction:ltr!important}
