﻿/*==========================================================
    KIRAA PROPERTY MODULE
    Premium Real Estate UI
==========================================================*/

/*==========================================================
    ROOT
==========================================================*/

:root {
    /* Brand */

    --kp-primary: #35a7b1;
    --kp-primary-dark: #2a8b93;
    --kp-primary-light: #67c3cb;
    /* Colors */

    --kp-success: #17b26a;
    --kp-warning: #f79009;
    --kp-danger: #f04438;
    --kp-white: #ffffff;
    --kp-black: #111827;
    --kp-text: #374151;
    --kp-text-light: #6b7280;
    --kp-border: #e5e7eb;
    --kp-bg: #f7f9fb;
    /* Radius */

    --kp-radius-sm: 10px;
    --kp-radius: 18px;
    --kp-radius-lg: 28px;
    /* Shadow */

    --kp-shadow-sm: 0 4px 12px rgba(0,0,0,.05);
    --kp-shadow: 0 10px 30px rgba(0,0,0,.08);
    --kp-shadow-lg: 0 20px 50px rgba(0,0,0,.15);
    /* Animation */

    --kp-speed: .35s;
}


/*==========================================================
    BODY
==========================================================*/

.property-page {
    background: var(--kp-bg);
    color: var(--kp-text);
    overflow-x: hidden;
}


/*==========================================================
    SECTION
==========================================================*/

.property-section {
    padding: 90px 0;
    position: relative;
}

.property-section-sm {
    padding: 60px 0;
}


/*==========================================================
    CONTAINER
==========================================================*/

.property-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 0 25px;
}


/*==========================================================
    TITLES
==========================================================*/

.property-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--kp-black);
    margin-bottom: 15px;
}

.property-subtitle {
    font-size: 18px;
    color: var(--kp-text-light);
}


/*==========================================================
    ANIMATION
==========================================================*/

.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all .8s ease;
}

    .fade-up.show {
        opacity: 1;
        transform: none;
    }


/*==========================================================
    HERO
==========================================================*/

.kp-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 80px;
    background: linear-gradient(135deg,#35a7b1 0%,#0f5f79 100%);
    color: #fff;
}

.kp-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 45%);
}

.kp-hero .container {
    position: relative;
    z-index: 2;
}

.kp-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 15px;
}

    .kp-breadcrumb a {
        color: #fff;
        opacity: .9;
    }

        .kp-breadcrumb a:hover {
            opacity: 1;
            text-decoration: none;
        }

    .kp-breadcrumb span {
        opacity: .6;
    }

.kp-page-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}

.kp-page-desc {
    font-size: 19px;
    line-height: 1.8;
    max-width: 700px;
    opacity: .92;
}

/*==========================================================
SEARCH
==========================================================*/

.kp-search-box {
    background: #fff;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 15px 45px rgba(0,0,0,.08);
    margin-top: -70px;
    position: relative;
    z-index: 20;
}

.kp-search-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.kp-control {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: .3s;
}

    .kp-control:focus {
        border-color: #35a7b1;
        box-shadow: 0 0 0 .15rem rgba(53,167,177,.15);
    }

.kp-btn-primary {
    background: #35a7b1;
    color: #fff;
    border: none;
    border-radius: 12px;
    height: 52px;
    padding: 0 30px;
}

    .kp-btn-primary:hover {
        background: #2d9199;
        color: #fff;
    }

.kp-btn-light {
    background: #f5f7fa;
    border: none;
    height: 52px;
    border-radius: 12px;
    margin-right: 10px;
    padding: 0 30px;
}

#lblResultCount {
    font-weight: 600;
    color: #666;
}

/*==========================================================
    KIRAA PROPERTY
    PART 1
==========================================================*/

/*=========================================
    ROOT
=========================================*/

:root {
    --ko-primary: #35a7b1;
    --ko-primary-dark: #25838b;
    --ko-primary-light: #e8f8fa;
    --ko-success: #2ecc71;
    --ko-danger: #e74c3c;
    --ko-warning: #f39c12;
    --ko-text: #202124;
    --ko-text-light: #6c757d;
    --ko-bg: #f6f8fb;
    --ko-white: #ffffff;
    --ko-border: #e8edf2;
    --ko-radius: 18px;
    --ko-radius-sm: 12px;
    --ko-shadow-sm: 0 6px 20px rgba(0,0,0,.05);
    --ko-shadow: 0 18px 45px rgba(0,0,0,.08);
    --ko-shadow-lg: 0 30px 70px rgba(0,0,0,.15);
    --ko-transition: .35s ease;
}


/*=========================================
    PAGE
=========================================*/

.ko-page {
    background: #f7f9fc;
    min-height: 100vh;
    padding-bottom: 80px;
}


.property-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}


/*=========================================
    SECTION
=========================================*/

.ko-page section {
    position: relative;
}

.ko-section {
    padding: 80px 0;
}

.ko-section-sm {
    padding: 50px 0;
}


/*=========================================
    PAGE HEADER
=========================================*/

.ko-page-header {
    padding: 70px 0 40px;
    background: linear-gradient(135deg, #35a7b1, #14738a);
    color: #fff;
    overflow: hidden;
}

    .ko-page-header::before {
        content: "";
        position: absolute;
        width: 650px;
        height: 650px;
        right: -250px;
        top: -250px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

    .ko-page-header::after {
        content: "";
        position: absolute;
        width: 450px;
        height: 450px;
        left: -170px;
        bottom: -220px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
    }

.ko-page-title {
    font-size: 46px;
    font-weight: 700;
    margin: 15px 0;
    color: #fff;
}

.ko-page-subtitle {
    font-size: 18px;
    opacity: .9;
    line-height: 1.9;
    max-width: 700px;
}


/*=========================================
    BREADCRUMB
=========================================*/

.ko-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 15px;
}

    .ko-breadcrumb a {
        color: #fff;
        opacity: .85;
    }

        .ko-breadcrumb a:hover {
            opacity: 1;
            text-decoration: none;
        }

    .ko-breadcrumb strong {
        color: #fff;
    }

    .ko-breadcrumb span {
        opacity: .55;
    }


/*=========================================
    SEARCH
=========================================*/

.ko-search-section {
    margin-top: -40px;
    z-index: 20;
}

.ko-search-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--ko-shadow);
    padding: 35px;
    position: relative;
}

.ko-search-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ko-text);
    margin-bottom: 10px;
}


/*=========================================
    CONTROLS
=========================================*/

.ko-control {
    height: 54px;
    border-radius: 14px;
    border: 1px solid var(--ko-border);
    transition: var(--ko-transition);
    box-shadow: none;
}

    .ko-control:focus {
        border-color: var(--ko-primary);
        box-shadow: 0 0 0 .2rem rgba(53,167,177,.12);
    }


/*=========================================
    BUTTONS
=========================================*/

.ko-btn-primary {
    height: 54px;
    padding: 0 30px;
    border: none;
    border-radius: 14px;
    background: var(--ko-primary);
    color: #fff;
    transition: var(--ko-transition);
    font-weight: 600;
}

    .ko-btn-primary:hover {
        background: var(--ko-primary-dark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(53,167,177,.25);
    }

.ko-btn-light {
    height: 54px;
    padding: 0 30px;
    border: none;
    border-radius: 14px;
    background: #eef3f7;
    color: #333;
    margin-right: 10px;
    transition: var(--ko-transition);
}

    .ko-btn-light:hover {
        background: #dde6ec;
    }


/*=========================================
    RESULT COUNT
=========================================*/

.ko-result-counter {
    font-size: 16px;
    color: var(--ko-text-light);
}

    .ko-result-counter span {
        font-size: 28px;
        font-weight: 700;
        color: var(--ko-primary);
    }

/*==========================================================
    KIRAA PROPERTY
    PART 2
==========================================================*/


/*=========================================
    QUICK FILTERS
=========================================*/

.ko-filter-section {
    padding: 40px 0 25px;
}

.ko-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ko-filter {
    border: none;
    background: #fff;
    padding: 12px 22px;
    border-radius: 40px;
    color: #555;
    font-weight: 600;
    transition: var(--ko-transition);
    box-shadow: var(--ko-shadow-sm);
    cursor: pointer;
}

    .ko-filter:hover {
        transform: translateY(-3px);
        box-shadow: var(--ko-shadow);
    }

    .ko-filter.active {
        background: var(--ko-primary);
        color: #fff;
    }



/*=========================================
    PROJECT SLIDER
=========================================*/

.ko-project-slider-section {
    padding: 25px 0 60px;
}

.ko-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

    .ko-section-header h2 {
        font-size: 32px;
        font-weight: 700;
        color: var(--ko-text);
    }

.ko-project-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

    .ko-project-slider::-webkit-scrollbar {
        display: none;
    }

.ko-project-card {
    flex: 0 0 180px;
    height: 120px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ko-transition);
    box-shadow: var(--ko-shadow-sm);
    border: 2px solid transparent;
}

    .ko-project-card:hover {
        transform: translateY(-6px);
        border-color: var(--ko-primary);
        box-shadow: var(--ko-shadow);
    }

    .ko-project-card.active {
        border-color: var(--ko-primary);
    }

    .ko-project-card img {
        max-width: 120px;
        max-height: 70px;
        transition: .35s;
    }

    .ko-project-card:hover img {
        transform: scale(1.08);
    }



/*=========================================
    RESULTS HEADER
=========================================*/

.ko-results-header {
    padding: 25px 0;
}

.ko-results-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--ko-text);
}

.ko-results-count {
    color: var(--ko-text-light);
    font-size: 16px;
}

.ko-results-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}



/*=========================================
    VIEW SWITCH
=========================================*/

.ko-view-switch {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--ko-shadow-sm);
}

.ko-view-btn {
    width: 56px;
    height: 56px;
    border: none;
    background: #fff;
    color: #666;
    transition: var(--ko-transition);
    cursor: pointer;
}

    .ko-view-btn:hover {
        background: #f3f8fa;
    }

    .ko-view-btn.active {
        background: var(--ko-primary);
        color: #fff;
    }



/*=========================================
    SORT
=========================================*/

.ko-sort {
    width: 220px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid var(--ko-border);
}



/*=========================================
    RESULTS AREA
=========================================*/

.ko-results-section {
    padding: 20px 0 60px;
}



/*=========================================
    LOADING
=========================================*/

.ko-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.ko-spinner {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 5px solid #eee;
    border-top-color: var(--ko-primary);
    animation: koSpin 1s linear infinite;
}

@keyframes koSpin {

    to {
        transform: rotate(360deg);
    }
}

/*==========================================================
    KIRAA PROPERTY
    PART 3
==========================================================*/



/*==================================================
            KIRAA PROPERTY CARD V3
==================================================*/

.ko-property-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 560px;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: all .35s ease;
}

    .ko-property-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,.14);
    }

/*========================================
                IMAGE
========================================*/

.ko-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

    .ko-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .45s;
    }

.ko-property-card:hover .ko-card-image img {
    transform: scale(1.08);
}

.ko-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.38), rgba(0,0,0,.08), transparent);
}

/*========================================
                BADGES
========================================*/

.ko-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #B68A39;
    color: #fff;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
}

.ko-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 16px;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
}

    .ko-status.available {
        background: #28b64b;
    }

    .ko-status.reserved {
        background: #ff9800;
    }

    .ko-status.sold {
        background: #e53935;
    }

    .ko-status.rented {
        background: #1976d2;
    }

/* Featured */

.ko-featured-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: #ff9800;
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
}

/* New */

.ko-new-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background: #28b64b;
    color: #fff;
    padding: 6px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
}

/*========================================
                BODY
========================================*/

.ko-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

/*========================================
                HEADER
========================================*/

.ko-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.ko-title {
    flex: 1;
    margin: 0;
    color: #1d2735;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.ko-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 6px;
    color: var(--ko-primary);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

    .ko-price span {
        display: inline;
        margin: 0;
        font-size: 12px;
        font-weight: 600;
        color: #7b8794;
    }
    

/*========================================
                CODE
========================================*/

.ko-code {
    color: #8d97a7;
    font-size: 13px;
    margin-bottom: 2px;
}

.ko-project {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5b6677;
    font-size: 13px;
    margin-bottom: 4px;
}

    .ko-project i {
        color: var(--ko-primary);
    }

.ko-type {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #2b3442;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

    .ko-type i {
        color: var(--ko-primary);
    }

/*========================================
                FEATURES
========================================*/

.ko-features {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 8px;
    margin: 14px 0;
    padding: 14px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.ko-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

    .ko-feature i {
        font-size: 17px;
        color: var(--ko-primary);
    }

    .ko-feature span {
        font-size: 14px;
        font-weight: 700;
        color: #263238;
        line-height: 1;
    }

    .ko-feature small {
        font-size: 11px;
        color: #8b96a5;
        line-height: 1;
    }

/*========================================
                LOCATION
========================================*/

.ko-location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 14px;
}

.ko-location {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    color: #5f6c7b;
    font-size: 13px;
    overflow: hidden;
}

    .ko-location span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .ko-location i {
        color: var(--ko-primary);
        font-size: 14px;
    }

.ko-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 30px;
    background: #f4fbfc;
    border: 1px solid rgba(0,150,170,.18);
    color: var(--ko-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .25s;
}

    .ko-map:hover {
        background: var(--ko-primary);
        color: #fff;
        text-decoration: none;
    }

/*========================================
                FOOTER
========================================*/

.ko-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ko-btn-details {
    flex: 1;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 12px;
    background: var(--ko-primary);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: .3s;
}

    .ko-btn-details:hover {
        background: #208c96;
        color: #fff !important;
    }

.ko-right-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ko-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e8edf3;
    color: #5f6c7b;
    text-decoration: none;
    transition: .3s;
    cursor: pointer;
}

    .ko-icon-btn i {
        font-size: 16px;
    }

    .ko-icon-btn:hover {
        background: var(--ko-primary);
        color: #fff;
        border-color: var(--ko-primary);
        text-decoration: none;
    }

/*========================================
                MOBILE
========================================*/

@media(max-width:991px) {

    .ko-property-card {
        min-height: 520px;
    }

    .ko-card-image {
        height: 200px;
    }
}

@media(max-width:767px) {

    .ko-property-card {
        min-height: auto;
    }

    .ko-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .ko-price {
        text-align: left;
    }

    .ko-features {
        grid-template-columns: repeat(3,1fr);
    }

    .ko-location-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .ko-footer {
        flex-direction: column;
    }

    .ko-btn-details {
        width: 100%;
    }

    .ko-right-actions {
        width: 100%;
        justify-content: center;
    }
}


/* نوع العقار على الصورة */

.ko-property-type-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,.95);
    color: #222;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    z-index: 20;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

    .ko-property-type-badge i {
        color: var(--ko-primary);
        font-size: 13px;
    }






/* =========================================================
   KIRAA - LATEST OFFERS PREMIUM TABLE
   FINAL VERSION
========================================================= */

.ko-list-section {
    width: 100%;
    max-width: 1200px;
    margin: 35px auto 60px;
    padding: 0;
}

.ko-table-wrapper {
    width: 100%;
    overflow: visible;
}


/* =========================================================
   TABLE RESET
========================================================= */

.ko-property-table {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    table-layout: fixed !important;
    background: transparent !important;
}


    /* مهم جدًا */
    .ko-property-table thead,
    .ko-property-table tbody {
        width: 100%;
    }


        /* =========================================================
   HEADER
========================================================= */

        .ko-property-table thead th {
            height: 54px !important;
            padding: 0 16px !important;
            background: #2ca9b7 !important;
            color: #ffffff !important;
            border: 0 !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            text-align: left !important;
            vertical-align: middle !important;
            white-space: nowrap !important;
            line-height: normal !important;
        }

           /* .ko-property-table thead th:first-child {
                border-radius: 12px 0 0 12px !important;
            }

            .ko-property-table thead th:last-child {
                border-radius: 0 12px 12px 0 !important;
            }*/

            .ko-property-table thead th i {
                margin-right: 6px;
                color: #ffffff;
                font-size: 11px;
            }


    /* =========================================================
   COLUMNS
========================================================= */

    .ko-property-table th:nth-child(1),
    .ko-property-table td:nth-child(1) {
        width: 26% !important;
    }

    .ko-property-table th:nth-child(2),
    .ko-property-table td:nth-child(2) {
        width: 12% !important;
    }

    .ko-property-table th:nth-child(3),
    .ko-property-table td:nth-child(3) {
        width: 12% !important;
    }

    .ko-property-table th:nth-child(4),
    .ko-property-table td:nth-child(4) {
        width: 11% !important;
    }

    .ko-property-table th:nth-child(5),
    .ko-property-table td:nth-child(5) {
        width: 21% !important;
    }

    .ko-property-table th:nth-child(6),
    .ko-property-table td:nth-child(6) {
        width: 9% !important;
    }

    .ko-property-table th:nth-child(7),
    .ko-property-table td:nth-child(7) {
        width: 9% !important;
    }


    /* =========================================================
   ROW
========================================================= */

    .ko-property-table tbody tr {
        height: auto !important;
        min-height: 0 !important;
        display: table-row !important;
        background: transparent !important;
        transform: none;
        box-shadow: none !important;
    }


    /* =========================================================
   CELLS
========================================================= */

    .ko-property-table tbody td {
        height: 100px !important;
        min-height: 0 !important;
        padding: 14px 16px !important;
        background: #ffffff !important;
        border-top: 1px solid #e8eef1 !important;
        border-bottom: 1px solid #e8eef1 !important;
        vertical-align: middle !important;
        text-align: left !important;
        overflow: hidden !important;
        line-height: normal !important;
        display: table-cell !important;
    }


        /* First cell */

        .ko-property-table tbody td:first-child {
            border-left: 1px solid #e8eef1 !important;
        }

        .ko-property-table tbody td:last-child {
            border-right: 1px solid #e8eef1 !important;
        }


    /* =========================================================
   ROW HOVER
========================================================= */

    .ko-property-table tbody tr td {
        transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
    }

    .ko-property-table tbody tr:hover td {
        background: #ffffff !important;
        border-top-color: #dce8ec !important;
        border-bottom-color: #dce8ec !important;
        box-shadow: 0 8px 25px rgba(20, 60, 75, .08);
    }

        .ko-property-table tbody tr:hover td:first-child {
            border-left-color: #dce8ec !important;
        }

        .ko-property-table tbody tr:hover td:last-child {
            border-right-color: #dce8ec !important;
        }


/* =========================================================
   PROPERTY
========================================================= */

.ko-table-property {
    width: 100%;
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    min-width: 0;
}


.ko-table-property-image {
    position: relative;
    width: 78px;
    height: 64px;
    flex: 0 0 78px;
    overflow: hidden;
    border-radius: 11px;
    background: #f1f5f7;
}


    .ko-table-property-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .25s ease;
    }


.ko-property-table tbody tr:hover
.ko-table-property-image img {
    transform: scale(1.05);
}


.ko-table-new-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 4px 6px;
    border-radius: 5px;
    background: #16b77a;
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
}


.ko-table-property-info {
    min-width: 0;
    overflow: hidden;
}


    .ko-table-property-info h4 {
        margin: 0 0 5px !important;
        padding: 0 !important;
        color: #132536 !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


.ko-table-code {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 5px;
    background: #f4f7f9;
    color: #7b8b98;
    font-size: 9px;
    line-height: 1.2;
}


.ko-table-project {
    margin-top: 5px;
    color: #83919c;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   LOCATION
========================================================= */

.ko-table-location strong {
    display: block;
    margin: 0 0 5px;
    color: #1a2b3b;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


    .ko-table-location strong i {
        color: #2ca9b7;
        margin-right: 4px;
    }


.ko-table-location small {
    display: block;
    color: #91a0aa;
    font-size: 10px;
}


/* =========================================================
   TYPE
========================================================= */

.ko-table-badges {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center;
    gap: 5px;
}


.ko-table-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}


    .ko-table-badge.property-type {
        color: #138d9d;
        background: #eef9fb;
        border: 1px solid #d7edf1;
    }


    .ko-table-badge.offer-type {
        color: #56697a;
        background: #f5f7f9;
        border: 1px solid #e5eaee;
    }


    .ko-table-badge.featured {
        color: #b47c00;
        background: #fff7df;
        border: 1px solid #f5e3a7;
    }


    .ko-table-badge.new {
        color: #07976c;
        background: #ecfaf4;
        border: 1px solid #ccefe0;
    }


/* =========================================================
   PRICE
========================================================= */

.ko-table-price strong {
    display: block;
    margin: 0;
    color: #101f2e;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1.2;
}


.ko-table-price small {
    display: block;
    margin-top: 5px;
    color: #8997a3;
    font-size: 9px;
    white-space: nowrap;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.ko-table-specs {
    width: 100%;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 5px;
    overflow: hidden;
}


.ko-table-spec {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 7px;
    min-height: 30px;
    border-radius: 7px;
    background: #f7f9fa;
    border: 1px solid #e5ecef;
    color: #687987;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}


    .ko-table-spec i {
        color: #2ca9b7;
        font-size: 10px;
    }


    .ko-table-spec strong {
        color: #263746;
        font-size: 10px;
    }


    .ko-table-spec.area {
        background: #eef9fb;
        border-color: #cde9ee;
    }


        .ko-table-spec.area strong {
            color: #168c9c;
        }


/* =========================================================
   STATUS
========================================================= */

.ko-table-status {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 11px;
    border-radius: 30px;
    background: #ecfaf3;
    color: #159765;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(21, 151, 101, .07);
}


    .ko-table-status .status-dot {
        width: 6px;
        height: 6px;
        flex: 0 0 6px;
        border-radius: 50%;
        background: #16ad74;
    }


/* =========================================================
   ACTIONS
========================================================= */

.ko-table-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px;
    width: 100%;
}


.ko-table-action {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    border: 1px solid #e0e8ec !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #617483 !important;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1 !important;
}


    .ko-table-action:hover {
        color: #2ca9b7 !important;
        border-color: #2ca9b7 !important;
        background: #f2fbfc !important;
        transform: translateY(-2px);
    }


    .ko-table-action.whatsapp:hover {
        color: #ffffff !important;
        background: #20c76a !important;
        border-color: #20c76a !important;
    }


    .ko-table-action.map:hover {
        color: #ffffff !important;
        background: #e74c3c !important;
        border-color: #e74c3c !important;
    }


/* =========================================================
   EMPTY
========================================================= */

.ko-table-empty {
    height: 160px !important;
    text-align: center !important;
    color: #8997a3 !important;
    font-size: 14px !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .ko-list-section {
        max-width: calc(100% - 30px);
    }
}


@media (max-width: 991px) {

    .ko-table-wrapper {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .ko-property-table {
        min-width: 1100px !important;
    }
}




/* =========================================================
   KIRAA LATEST OFFERS TABLE - FINAL WIDTH FIX
========================================================= */

/* نفس عرض محتوى الصفحة */
.ko-list-section {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 35px auto 60px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}


/* Wrapper */
.ko-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}


/* =========================================================
   TABLE WIDTH
========================================================= */

.ko-property-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    margin: 0 !important;
}


    /* =========================================================
   COLUMNS
========================================================= */

    /* Property */
    .ko-property-table th:nth-child(1),
    .ko-property-table td:nth-child(1) {
        width: 24% !important;
    }

    /* Location */
    .ko-property-table th:nth-child(2),
    .ko-property-table td:nth-child(2) {
        width: 12% !important;
    }

    /* Type */
    .ko-property-table th:nth-child(3),
    .ko-property-table td:nth-child(3) {
        width: 12% !important;
    }

    /* Price */
    .ko-property-table th:nth-child(4),
    .ko-property-table td:nth-child(4) {
        width: 10% !important;
    }

    /* Specifications */
    .ko-property-table th:nth-child(5),
    .ko-property-table td:nth-child(5) {
        width: 20% !important;
    }

    /* Status */
    .ko-property-table th:nth-child(6),
    .ko-property-table td:nth-child(6) {
        width: 9% !important;
    }

    /* Actions */
    .ko-property-table th:nth-child(7),
    .ko-property-table td:nth-child(7) {
        width: 13% !important;
    }


/* =========================================================
   ACTIONS
========================================================= */

.ko-table-actions {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow: visible !important;
}


/* Buttons */
.ko-table-action {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    flex: 0 0 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 8px !important;
    border: 1px solid #dfe7eb !important;
    background: #ffffff !important;
    color: #607684 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
    overflow: visible !important;
}


    /* ICONS */
    .ko-table-action i {
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 1 !important;
        color: inherit !important;
    }


    /* Hover */
    .ko-table-action:hover {
        transform: translateY(-2px) !important;
        background: #f0fafb !important;
        border-color: #35a7b1 !important;
        color: #35a7b1 !important;
        box-shadow: 0 5px 14px rgba(53,167,177,.15) !important;
    }


    /* WhatsApp */
    .ko-table-action.whatsapp {
        color: #16a765 !important;
    }


        .ko-table-action.whatsapp:hover {
            background: #20c76a !important;
            border-color: #20c76a !important;
            color: #ffffff !important;
            box-shadow: 0 5px 14px rgba(32,199,106,.22) !important;
        }


    /* Map */
    .ko-table-action.map {
        color: #e55345 !important;
    }


        .ko-table-action.map:hover {
            background: #e55345 !important;
            border-color: #e55345 !important;
            color: #ffffff !important;
        }


    /* Share */
    .ko-table-action.btnShare:hover {
        background: #35a7b1 !important;
        border-color: #35a7b1 !important;
        color: #ffffff !important;
    }


    /* Details */
    .ko-table-action:first-child:hover {
        background: #35a7b1 !important;
        border-color: #35a7b1 !important;
        color: #ffffff !important;
    }


/* =========================================================
   TABLE CELLS
========================================================= */

.ko-property-table tbody td {
    overflow: visible !important;
    box-sizing: border-box !important;
}


/* Specifications don't escape */
.ko-table-specs {
    max-width: 100% !important;
    overflow: hidden !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {

    .ko-list-section {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}


@media (max-width: 1100px) {

    .ko-table-wrapper {
        overflow-x: auto !important;
    }

    .ko-property-table {
        min-width: 1100px !important;
    }
}

/* =====================================================
   REAL ESTATE PAGE DIRECTION
===================================================== */


/* =========================
   ENGLISH
========================= */

.ko-page.ko-en {
    direction: ltr;
    text-align: left;
}


/* =========================
   ARABIC
========================= */

.ko-page.ko-ar {
    direction: rtl;
    text-align: right;
}


    /* =====================================================
   HERO
===================================================== */

    .ko-page.ko-ar .ko-page-header {
        direction: rtl;
        text-align: right;
    }

.ko-page.ko-en .ko-page-header {
    direction: ltr;
    text-align: left;
}


/* Hero content */

.ko-page.ko-ar .ko-page-header .property-container {
    direction: rtl;
}

.ko-page.ko-en .ko-page-header .property-container {
    direction: ltr;
}


/* =====================================================
   BREADCRUMB
===================================================== */

.ko-page.ko-ar .ko-breadcrumb {
    direction: rtl;
    justify-content: flex-start;
}

.ko-page.ko-en .ko-breadcrumb {
    direction: ltr;
    justify-content: flex-start;
}


/* =====================================================
   SEARCH SECTION
===================================================== */

.ko-page.ko-ar .ko-search-section {
    direction: rtl;
    text-align: right;
}

.ko-page.ko-en .ko-search-section {
    direction: ltr;
    text-align: left;
}


/* Search container */

.ko-page.ko-ar .ko-search-section .property-container {
    direction: rtl;
}


/* Search card */

.ko-page.ko-ar .ko-search-card {
    direction: rtl;
    text-align: right;
}

.ko-page.ko-en .ko-search-card {
    direction: ltr;
    text-align: left;
}


/* =====================================================
   SEARCH TITLE
===================================================== */

.ko-page.ko-ar .ko-search-title {
    direction: rtl;
    text-align: right;
}

.ko-page.ko-en .ko-search-title {
    direction: ltr;
    text-align: left;
}


/* =====================================================
   FORM CONTROLS
===================================================== */

.ko-page.ko-ar .ko-control,
.ko-page.ko-ar input,
.ko-page.ko-ar select {
    direction: rtl;
    text-align: right;
}

.ko-page.ko-en .ko-control,
.ko-page.ko-en input,
.ko-page.ko-en select {
    direction: ltr;
    text-align: left;
}


/* =====================================================
   SEARCH RESULT COUNT
===================================================== */

.ko-page.ko-ar .property-count {
    direction: rtl;
    text-align: right;
}


/* =====================================================
   SEARCH ACTIONS
===================================================== */

.ko-page.ko-ar .search-actions {
    direction: rtl;
}

.ko-page.ko-en .search-actions {
    direction: ltr;
}


/* =========================================================
   ARABIC TABLE
   RTL - OUTER CORNERS ONLY
========================================================= */

/* =========================
   ARABIC HEADER
========================= */

.ko-page.ko-ar .ko-property-table thead th {
    direction: rtl !important;
    text-align: right !important;
}

    /* أول عمود = يمين الجدول */
    .ko-page.ko-ar .ko-property-table thead th:first-child {
        border-top-right-radius: 18px !important;
    }

    /* آخر عمود = شمال الجدول */
    .ko-page.ko-ar .ko-property-table thead th:last-child {
        border-top-left-radius: 18px !important;
    }


/* =========================
   ARABIC BODY
========================= */

/* إزالة أي Radius من الأعمدة الداخلية */

.ko-page.ko-ar .ko-property-table tbody td {
    border-radius: 0 !important;
}


/* أول عمود = الحافة اليمين */

.ko-page.ko-ar .ko-property-table tbody tr td:first-child {
    border-top-right-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
}


/* آخر عمود = الحافة الشمال */

.ko-page.ko-ar .ko-property-table tbody tr td:last-child {
    border-top-left-radius: 18px !important;
    border-bottom-left-radius: 18px !important;
}

.ko-project-link {
    color: inherit;
    text-decoration: none;
    transition: 0.25s ease;
}

    .ko-project-link:hover {
        color: #35a7b1;
        text-decoration: none;
    }




