/*
|--------------------------------------------------------------------------
Commercial Filters
|--------------------------------------------------------------------------
*/

.oryan-commercial-filters{

    margin:40px 0;

}

.oryan-filter-grid{

    display:grid;

    /*grid-template-columns:repeat(4,minmax(220px,1fr));
    gap:24px; */

grid-template-columns: minmax(200px, 2.58fr) minmax(200px, 1.08fr) minmax(100px, 0.58fr);
    align-items: start;
    gap: 28px 36px;
    width: 100%;
    
    
}

@media(max-width:1200px){

    .oryan-filter-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:767px){

    .oryan-filter-grid{

        grid-template-columns:1fr;

    }

}

.oryan-filter-item{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.oryan-filter-item label{

    font-weight:600;

    color:#1B2B50;

}

.oryan-filter-item select,

.oryan-filter-item input{

    width:100%;

    height:52px;

    border:1px solid #DDD;

    border-radius:8px;

    padding:0 16px;

    background:#FFF;

}

.oryan-filter-actions{

    margin-top:30px;

}

.oryan-filter-actions button{

    height:50px;

    padding:0 35px;

    border:0;

    border-radius:8px;

    cursor:pointer;

    background:#0A2342;

    color:#FFF;

}


/*
|--------------------------------------------------------------------------
Range Slider
|--------------------------------------------------------------------------
*/

.oryan-range-filter{

    padding-top:10px;

}

.oryan-slider{

    margin:18px 5px;

}

.oryan-slider-values{

    display:flex;

    justify-content:space-between;

    font-size:14px;

    color:#666;

    margin-top:12px;

}

.noUi-target{

    border:none;

    box-shadow:none;

    background:#ECECEC;

    height:6px;

}

.noUi-connect{

    background:#0A2342;

}

.noUi-handle{

    width:20px !important;

    height:20px !important;

    right:-10px !important;

    top:-7px !important;

    border-radius:50%;

    border:3px solid #0A2342;

    background:#FFF;

    box-shadow:none;

}

.noUi-handle:before,

.noUi-handle:after{

    display:none;

}


#oryan-results.loading{
    opacity:.45;
    pointer-events:none;
    transition:.25s;
}

.oryan-no-results{
    padding:60px;
    text-align:center;
    border:1px solid #eee;
    border-radius:12px;
}







/*=========================================
CATEGORY TABS
=========================================*/

.oryan-category-tabs{
display: flex;
    gap: 29px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.oryan-category-tab{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 34px;
    border: 1px solid #d9d9d9;
    border-radius: 999px;
    text-decoration: none;
    transition: .25s;
    width: 140px;
    font-family: "Onset", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #5A5A5A;
    background: #fff;
}

.oryan-category-tab:hover{
background:#0d4d36;
border-color:#0d4d36;
color:#fff;
}

.oryan-category-tab.active{
background:#0d4d36;
color:#fff;
border-color:#0d4d36;
}

/*=========================================
FILTER GRID
=========================================*/

/*.oryan-filter-grid{

display:grid;

grid-template-columns:
repeat(4,minmax(0,1fr));

gap:24px;

align-items:end;

}*/

.oryan-filter-item label{

display:block;

margin-bottom:8px;

font-size:12px;

font-weight:600;

letter-spacing:1px;

text-transform:uppercase;

color:#666;

}

.oryan-filter-item select,
.oryan-filter-item input[type=text]{
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 12px 15px;
    color: #6b6d76;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;

}

.oryan-filter-item select:focus,
.oryan-filter-item input:focus{

border-color:#0d4d36;

}

.oryan-filter-reset{
    display:flex;
    align-items:flex-end;
    align-self: end;
    padding-bottom: 4px;
}

#oryan-reset-filters{

    width: 100%;
    height: 45px;
    border: none;
    border-radius: 8px;
    background: #0d4d36;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    
    
}

#oryan-reset-filters:hover{

background:#083625;

}

.oryan-range-filter{

padding-top:10px;

}

.oryan-slider-values{

display:flex;

justify-content:space-between;

margin-top:18px;

font-size:15px;

font-weight:600;

color:#666;

}

.oryan-properties-title {
    margin: 0;
    color: #073f32;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
}
.oryan-properties-count
 {
    color: #72747a;
    font-size: 16px;
    font-weight: 400;
}
.oryan-results-count{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:991px){

.oryan-filter-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:767px){

.oryan-category-tabs{

justify-content:center;

}

.oryan-category-tab{

flex:1;

min-width:90px;

padding:0;

}

.oryan-filter-grid{

grid-template-columns:1fr;

}

}






/*======================================
TABLE
======================================*/
/*
.oryan-commercial-table-wrapper{

overflow-x:auto;

margin-top:25px;

border:1px solid #ececec;

border-radius:8px;

background:#fff;

}

.oryan-commercial-table{

width:100%;

border-collapse:collapse;

min-width:1000px;

}

.oryan-commercial-table thead{

background:#0d4d36;

}

.oryan-commercial-table th{

padding:18px 20px;

color:#fff;

font-size:14px;

font-weight:700;

text-transform:uppercase;

white-space:nowrap;

}

.oryan-commercial-table td{

padding:18px 20px;

border-bottom:1px solid #f0f0f0;

font-size:15px;

color:#555;

white-space:nowrap;

}

.oryan-commercial-table tbody tr:hover{

background:#fafafa;

}

.oryan-table-button{

display:inline-flex;

align-items:center;

justify-content:center;

padding:10px 20px;

background:#0d4d36;

color:#fff;

border-radius:8px;

font-weight:600;

text-decoration:none;

transition:.25s;

}

.oryan-table-button:hover{

background:#083625;

color:#fff;

}
*/


/*====================================================
COMMERCIAL TABLE UI
====================================================*/

.oryan-commercial-table-wrapper{

margin-top:25px;

border-radius:8px;

overflow:auto;

background:#fff;

box-shadow:0 15px 45px rgba(0,0,0,.06);

}

.oryan-commercial-table{

width:100%;

min-width:1200px;

border-collapse:collapse;

}

.oryan-commercial-table thead{

position:sticky;

top:0;

z-index:5;

background:#0d4d36;

}

.oryan-commercial-table th{

padding:10px 24px;

font-size:12px;

font-weight:600;

letter-spacing:.08em;

text-transform:uppercase;

color:#fff;

text-align:left;

white-space:nowrap;
border-bottom-width:0;

}

.oryan-commercial-table tbody tr{

transition:.25s;

}

.oryan-commercial-table tbody tr:nth-child(even){

background:#fafafa;

}

.oryan-commercial-table tbody tr:hover{

background:#eef8f3;

}

.oryan-commercial-table td{

padding:20px 24px;

font-size:15px;

border-bottom:1px solid #ececec;

white-space:nowrap;

vertical-align:middle;

color:#444;

}

.oryan-commercial-table td:first-child{

font-weight:500;

color:#111;

}

.oryan-commercial-table td:nth-child(2){

 width: 150px;
  min-width: 180px;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: anywhere;
  overflow-wrap: anywhere;

}

.oryan-commercial-table th:nth-child(2) {
  white-space: normal;
  word-break: break-word;
  min-width: auto;
  width: auto;
}

.oryan-commercial-table::-webkit-scrollbar{

height:8px;

}

.oryan-commercial-table::-webkit-scrollbar-thumb{

background:#0d4d36;

border-radius:50px;

}

.oryan-table-button{

display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    border-radius: 8px;
    background: #0d4d36;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
    border: none;
    font-size: 13px;

}

.oryan-table-button:hover{

background:#083625;

color:#fff;

transform:translateY(-2px);

}

@media(max-width:768px){

.oryan-commercial-table{

min-width:900px;

}

}



#oryan-property-drawer{

position:fixed;

top:0;

right:0;

width:100%;

height:100%;

display:none;

z-index:9999;

}

#oryan-property-drawer.active{

display:block;

}

.oryan-drawer-overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.55);

}

.oryan-drawer-content{

position:absolute;

right:0;

top:0;

width:600px;

max-width:100%;

height:100%;

background:#fff;

overflow:auto;

/*padding:15px 30px;*/

box-shadow:-10px 0 35px rgba(0,0,0,.15);
border-radius: 4px;
}

.oryan-close-drawer{

position:absolute;

right:20px;

top:20px;

border:none;

background:none;

font-size:34px;

cursor:pointer;

}



/*==============================
DRAWER
==============================*/

.oryan-drawer-title{

font-size:34px;

font-weight:700;

margin:0 0 30px;

}

.oryan-drawer-table{

width:100%;

border-collapse:collapse;

margin-bottom:35px;

}

.oryan-drawer-table th{

width:40%;

padding:15px;

background:#f7f7f7;

font-weight:700;

text-align:left;

border-bottom:1px solid #ececec;

}

.oryan-drawer-table td{

padding:15px;

border-bottom:1px solid #ececec;

}

.oryan-drawer-actions{

display:flex;

gap:15px;


}

.oryan-enquiry-button{

flex:1;

height:54px;

background:#0d4d36;

color:#fff;

border:none;

border-radius:10px;

cursor:pointer;

font-weight:700;

}

.oryan-view-full-button{

flex:1;

height:54px;

display:flex;

align-items:center;

justify-content:center;

border:2px solid #0d4d36;

border-radius:10px;

text-decoration:none;

font-weight:700;

color:#0d4d36;

}



.oryan-enquiry-form{

display:flex;

flex-direction:column;

gap:15px;

}

.oryan-enquiry-form input,
.oryan-enquiry-form textarea{

width:100%;

padding:14px;

border:1px solid #ddd;

border-radius:8px;

}

.oryan-enquiry-form textarea{

height:120px;

resize:none;

}

.oryan-submit-enquiry{

height:52px;

border:none;

background:#0d4d36;

color:#fff;

font-weight:700;

border-radius:8px;

cursor:pointer;

}



.oryan-drawer-enquiry{

    margin-top: 5px;
    padding-top: 25px;
    border-top: 1px solid #ececec;
    margin-bottom: 30px;

}

.oryan-enquiry-title{

font-size:34px;

font-weight:700;

margin-bottom:8px;

}

.oryan-enquiry-subtitle{

color:#777;

margin-bottom:25px;

}

.oryan-drawer-enquiry form{

display:flex;

flex-direction:column;

gap:18px;

}

.oryan-drawer-enquiry input,
.oryan-drawer-enquiry textarea{

width:100%;

padding:16px;

border:1px solid #ddd;

border-radius:8px;

font-size:16px;

}

.oryan-drawer-enquiry textarea{

height:140px;

resize:none;

}

.oryan-drawer-enquiry .submit-btn{

background:#0d4d36;

color:#fff;

border:none;

height:56px;

border-radius:8px;

font-weight:700;

cursor:pointer;

}




.oryan-commercial-enquiry{

margin-top:80px;

padding:60px;

background:#fff;

border-radius:18px;

}

.oryan-enquiry-btn{

display:inline-flex;

align-items:center;

justify-content:center;

padding:16px 30px;

background:#0D4D36;

color:#fff;

border-radius:8px;

font-weight:600;

text-decoration:none;

}

.oryan-enquiry-btn:hover{

color:#fff;

background:#0b3f2c;

}

.oryan-property-drawer-inner{
    
    padding: 0px 30px;
}
.oryan-property-drawer-inner img{
        height: 200px;
        object-fit: cover;
        width: 100%;
        background-position: center center;
        border-radius: 8px;
        margin-bottom: 25px;

}


.oryan-drawer-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 0 0 auto;
    min-height: 86px;
    background: #ffffff;
    border-bottom: 1px solid #e5e8e7;
    padding: 15px 30px;
    margin-bottom: 25px;
}

.oryan-drawer-header h2 {
    margin: 0;
    color: #133c31;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.oryan-drawer-close
 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 8px;
    color: #153f34;
    background: #f3f7f5;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
 }
 
 .oryan-drawer-data-grid{
     display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    margin-bottom: 20px;
 }
 .oryan-drawer-item {
    display: flex;
    flex-direction: column;
}
.oryan-drawer-label {
    font-weight: 600;
    font-size: 0.70rem;
    text-transform: uppercase;
    color: #111;
    
}

.oryan-drawer-value {
    font-size: 1rem;
    color: #0f3d2e;
}

.uiuxm-form__cntcnt_row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
}

.uiuxm-form__cntcnt_row .iti input.iti__tel-input, 
.uiuxm-form__cntcnt_row .iti input.iti__tel-input[type="tel"], 
.uiuxm-form__cntcnt_row .iti input.iti__tel-input[type="text"] {
    padding-right: 0px !important;
}




/*=====================================
MOBILE PROPERTY TABLE
=====================================*/
@media (max-width: 768px) {

    /* Hide desktop headings */
    #oryan-results thead {
        display: none;
    }
    
    
     .oryan-commercial-table, 
  table.oryan-commercial-table {
    min-width: 0;
    width: 100%;
  }
  
  .oryan-commercial-table tr, 
  .oryan-commercial-table td {
    width: 100%;
    box-sizing: border-box;
    /* Optional: Stack data below label instead of extreme right alignment */
    flex-direction: column; 
    align-items: flex-start;
  }



    /* Convert table into cards */
    #oryan-results,
    #oryan-results table,
    #oryan-results tbody,
    #oryan-results tr,
    #oryan-results td {
        display: block;
        width: 100%;
    }

    /* One property per card */
    #oryan-results tr {
        margin-bottom: 18px;
        padding: 16px;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        box-shadow: 0 3px 10px rgba(0,0,0,.06);
    }

    /* Each field */
    #oryan-results td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
        padding: 12px 0;
        border-bottom: 1px solid #f1f1f1;
        font-size: 14px;
        line-height: 1.5;
        
    }

    #oryan-results td:last-child {
        border-bottom: none;
    }

    /* Labels */
    #oryan-results td::before {

        content: attr(data-label);

        flex: 0 0 42%;

        font-size: 12px;

        font-weight: 700;

        color: #666;

        text-transform: uppercase;

        letter-spacing: .4px;

    }

    /* Values */
    #oryan-results td {

        text-align: right;

        word-break: break-word;

    }

    /* Images */
    #oryan-results td img {

        max-width: 100%;

        height: auto;

        border-radius: 8px;

    }

    /* Buttons / links */
    #oryan-results td a,
    #oryan-results td button {

        width: 100%;

        text-align: center;

    }

    /* Scroll wrapper */
    .oryan-commercial-table-wrapper {

        overflow: visible;

        max-height: none;

        padding-right: 0;

    }

}