/*
 Theme Name:   My Listing Child
 Theme URI:    http://mylisting.27collective.net/my-city/
 Description:  MyListing Child Theme
 Author:       27collective
 Author URI:   https://27collective.net/
 Template:     my-listing
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  my-listing-child
*/


/* ===== Ravi Font Faces ===== */

@font-face {
    font-family: 'Ravi';
    src: url('./fonts/RaviFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ravi';
    src: url('./fonts/RaviFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ravi';
    src: url('./fonts/RaviFaNum-ExtraBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ===== Elementor Global Fonts ===== */

:root {
    --e-global-typography-primary-font-family: 'Ravi';
    --e-global-typography-secondary-font-family: 'Ravi';
    --e-global-typography-text-font-family: 'Ravi';
    --e-global-typography-accent-font-family: 'Ravi';
}

/* ===== Apply Ravi To Website ===== */

body,
body *:not(i):not(.material-icons):not(.mi):not(.fa):not(.fas):not(.far):not(.fab):not(.fa-solid):not(.fa-regular):not(.fa-brands):not(.eicon):not([class^="icon-"]):not([class*=" icon-"]) {
    font-family: 'Ravi', sans-serif !important;
}

/* ===== Form Placeholders ===== */

input::placeholder,
textarea::placeholder {
    font-family: 'Ravi', sans-serif !important;
}




/* ==================================
   RAHIMI REAL ESTATE - HEADER STYLE
================================== */

.c27-main-header {
    --rahimi-navy: #102d59;
    --rahimi-gold: #c49a50;

    border-bottom: 1px solid #edf0f4 !important;
    box-shadow: 0 4px 20px rgba(15, 35, 70, 0.06) !important;
}

/* Header Background */
.c27-main-header .header-skin {
    background: #ffffff !important;
}

/* Header Container */
.c27-main-header .header-top {
    min-height: 82px;
    padding-left: 28px !important;
    padding-right: 28px !important;
    align-items: center;
}

/* Logo */
.c27-main-header .logo img {
    max-width: 210px !important;
    max-height: 68px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

/* ==================================
   MAIN NAVIGATION
================================== */

.c27-main-header #menu-main-menu > li > a {
    font-family: 'Ravi', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #243650 !important;
    letter-spacing: 0 !important;
    transition: color 0.25s ease;
}

/* Navigation Hover */
.c27-main-header #menu-main-menu > li > a:hover {
    color: #c49a50 !important;
}

/* Active Menu */
.c27-main-header #menu-main-menu > li.current-menu-item > a,
.c27-main-header #menu-main-menu > li.current-menu-ancestor > a {
    color: #b58b43 !important;
}

/* Dropdown Menu */
.c27-main-header .main-nav .sub-menu {
    background: #ffffff !important;
    border: 1px solid #edf0f4;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(15,35,70,0.10) !important;
    padding: 8px !important;
}

.c27-main-header .main-nav .sub-menu li a {
    font-family: 'Ravi', sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    border-radius: 7px;
}

/* ==================================
   BEAUTIFUL HEADER SEARCH BOX
================================== */

#c27-header-search-form {
    width: 280px !important;
    max-width: 280px;
    margin-right: 18px !important;
    direction: rtl;
}

#c27-header-search-form form {
    width: 100%;
}

#c27-header-search-form .header-search {
    position: relative;
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;

    background: #f7f9fc !important;
    border: 1px solid #e1e7f0 !important;
    border-radius: 12px !important;

    transition: all 0.25s ease;
}

/* Search Hover */
#c27-header-search-form .header-search:hover {
    background: #ffffff !important;
    border-color: #cbd5e3 !important;
}

/* Search Focus */
#c27-header-search-form .header-search:focus-within {
    background: #ffffff !important;
    border-color: #c49a50 !important;
    box-shadow: 0 0 0 3px rgba(196,154,80,0.12) !important;
}

/* Search Input */
#c27-header-search-form input[type="search"] {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

    padding: 0 44px 0 12px !important;
    margin: 0 !important;

    font-family: 'Ravi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #243650 !important;

    text-align: right !important;
    direction: rtl !important;
    outline: none !important;
}

/* Search Placeholder */
#c27-header-search-form input::placeholder {
    color: #8793a6 !important;
    opacity: 1;
}

/* Search Icon */
#c27-header-search-form .header-search > i.mi.search {
    position: absolute !important;
    right: 15px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    color: #c49a50 !important;
    font-size: 21px !important;
    pointer-events: none;
    z-index: 2;
}

/* Search Results */
#c27-header-search-form .instant-results {
    border-radius: 12px !important;
    box-shadow: 0 14px 35px rgba(15,35,70,0.12) !important;
}

/* ==================================
   ADD LISTING BUTTON
================================== */

.c27-main-header .header-button .buttons.button-2 {
    background: #102d59 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    border: none !important;

    min-height: 44px;
    padding: 0 18px !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    font-family: 'Ravi', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;

    box-shadow: 0 5px 14px rgba(16,45,89,0.12);
    transition: all 0.25s ease;
}

.c27-main-header .header-button .buttons.button-2 i {
    float: none !important;
    top: auto !important;
    margin: 0 !important;
}

/* Button Hover */
.c27-main-header .header-button .buttons.button-2:hover {
    background: #1c4076 !important;
    box-shadow: 0 7px 18px rgba(16,45,89,0.18);
    transform: translateY(-1px);
}

/* ==================================
   USER MENU
================================== */

.c27-main-header .user-profile-name {
    font-family: 'Ravi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* ==================================
   RESPONSIVE
================================== */

@media (max-width: 1250px) {
    #c27-header-search-form {
        width: 215px !important;
        max-width: 215px;
        margin-right: 10px !important;
    }

    .c27-main-header .logo img {
        max-width: 175px !important;
    }

    .c27-main-header #menu-main-menu > li > a {
        font-size: 13px !important;
    }
}

@media (max-width: 1024px) {
    #c27-header-search-form {
        display: none !important;
    }

    .c27-main-header .header-top {
        min-height: 70px;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .c27-main-header .logo img {
        max-width: 165px !important;
        max-height: 55px !important;
    }
}





/* ===================================
   RAHIMI - MYLISTING FORM DESIGN
=================================== */

/* Main Form Card */
.form-section-wrapper .element.form-section {
    background: #ffffff !important;
    border: 1px solid #e9edf3 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(16,45,89,.05) !important;
    padding: 28px !important;
    overflow: visible;
}

/* Section Heading */
.form-section-wrapper .form-section .pf-head {
    padding-bottom: 18px !important;
    margin-bottom: 25px !important;
    border-bottom: 1px solid #edf0f4;
}

.form-section-wrapper .form-section .pf-head h5 {
    font-family: 'Ravi', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #102d59 !important;
}

/* Fields Layout */
.form-section-wrapper .form-section
.pf-body > .form-group {
    margin-bottom: 24px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Field Labels */
.form-section-wrapper .form-section
.field-head {
    display: block !important;
    margin-bottom: 9px !important;
    padding: 0 !important;
}

.form-section-wrapper .form-section
.field-head label {
    display: block !important;
    position: static !important;
    transform: none !important;
    float: none !important;

    font-family: 'Ravi', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #25354e !important;

    text-align: right !important;
    margin: 0 !important;
    line-height: 24px !important;
}

/* Text Input Fields */
.form-section-wrapper .form-section
.field-type-text .field > input,
.form-section-wrapper .form-section
.field-type-number .field > input,
.form-section-wrapper .form-section
.field-type-email .field > input,
.form-section-wrapper .form-section
.field-type-url .field > input,
.form-section-wrapper .form-section
.field-type-textarea .field > textarea {

    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px !important;

    background: #f8fafc !important;
    border: 1px solid #dce3ed !important;
    border-radius: 10px !important;

    padding: 12px 16px !important;
    margin: 0 !important;

    color: #243650 !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;

    text-align: right !important;
    direction: rtl !important;

    outline: none !important;
    box-shadow: none !important;

    transition: all .25s ease !important;
}

/* Focus Effect */
.form-section-wrapper .form-section
.field-type-text .field > input:focus,
.form-section-wrapper .form-section
.field-type-number .field > input:focus,
.form-section-wrapper .form-section
.field-type-email .field > input:focus,
.form-section-wrapper .form-section
.field-type-url .field > input:focus,
.form-section-wrapper .form-section
.field-type-textarea .field > textarea:focus {

    background: #ffffff !important;
    border-color: #c49a50 !important;
    box-shadow: 0 0 0 3px rgba(196,154,80,.12) !important;
}

/* Input Placeholder */
.form-section-wrapper .form-section
input::placeholder,
.form-section-wrapper .form-section
textarea::placeholder {
    color: #9aa5b5 !important;
    font-weight: 400 !important;
    opacity: 1;
}

/* Textarea Height */
.form-section-wrapper .form-section
.field-type-textarea .field > textarea {
    min-height: 140px !important;
    line-height: 2 !important;
    resize: vertical;
}

/* ===================================
   WORDPRESS TEXT EDITOR
=================================== */

/* TinyMCE Main Box */
.form-section-wrapper .form-section
.wp-editor-wrap .mce-tinymce {
    border: 1px solid #dce3ed !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

/* Editor Toolbar */
.form-section-wrapper .form-section
.wp-editor-wrap .mce-toolbar-grp {
    background: #f8fafc !important;
    border-bottom: 1px solid #e5eaf1 !important;
}

/* Toolbar Buttons */
.form-section-wrapper .form-section
.wp-editor-wrap .mce-btn {
    border-radius: 6px !important;
}

/* Editor Content Area */
.form-section-wrapper .form-section
.wp-editor-wrap .mce-edit-area {
    background: #ffffff !important;
    border: none !important;
}

/* Editor Status Bar */
.form-section-wrapper .form-section
.wp-editor-wrap .mce-statusbar {
    border-top: 1px solid #edf0f4 !important;
    background: #ffffff !important;
}

/* Editor Text Mode */
.form-section-wrapper .form-section
textarea.wp-editor-area {
    width: 100% !important;
    min-height: 220px !important;
    background: #ffffff !important;
    border: 1px solid #dce3ed !important;
    border-radius: 10px !important;
    padding: 16px !important;
    font-family: 'Ravi', sans-serif !important;
    line-height: 2 !important;
}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 768px) {

    .form-section-wrapper .element.form-section {
        padding: 18px !important;
        border-radius: 12px !important;
    }

    .form-section-wrapper .form-section
    .pf-body > .form-group {
        margin-bottom: 20px !important;
    }

    .form-section-wrapper .form-section
    .field-type-text .field > input {
        min-height: 48px !important;
        font-size: 14px !important;
    }
}






/* =====================================
   RAHIMI - CHECKBOX & MULTISELECT
===================================== */

/* ===== CATEGORY CHECKBOX GRID ===== */

.form-section-wrapper
.term-type-checklist .c27-term-checklist {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Category Item */
.form-section-wrapper
.term-type-checklist .c27-term {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0;
}

/* Checkbox Wrapper */
.form-section-wrapper
.term-type-checklist .md-checkbox {
    position: relative !important;
    display: block !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* Checkbox Card */
.form-section-wrapper
.term-type-checklist .md-checkbox label {
    position: relative !important;
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-height: 52px !important;

    padding: 12px 46px 12px 15px !important;
    margin: 0 !important;

    background: #f8fafc !important;
    border: 1px solid #dce3ed !important;
    border-radius: 10px !important;

    font-family: 'Ravi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #25354e !important;

    line-height: 22px !important;
    text-align: right !important;
    white-space: normal !important;

    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all .2s ease !important;
}

/* Checkbox Square */
.form-section-wrapper
.term-type-checklist .md-checkbox label::before {
    content: "" !important;
    position: absolute !important;

    right: 15px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 20px !important;
    height: 20px !important;

    border: 1.5px solid #bdc7d5 !important;
    border-radius: 6px !important;
    background: #ffffff !important;

    transition: all .2s ease !important;
}

/* Native Checkbox - Accessible */
.form-section-wrapper
.term-type-checklist .md-checkbox input[type="checkbox"] {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;

    opacity: 0 !important;
    visibility: visible !important;
    z-index: 0;
}

/* Hover */
.form-section-wrapper
.term-type-checklist .md-checkbox label:hover {
    background: #ffffff !important;
    border-color: #c49a50 !important;
}

/* Checked Card */
.form-section-wrapper
.term-type-checklist .md-checkbox
input[type="checkbox"]:checked + label {
    background: #fffcf5 !important;
    border-color: #c49a50 !important;
    color: #102d59 !important;
    font-weight: 700 !important;
}

/* Checked Square */
.form-section-wrapper
.term-type-checklist .md-checkbox
input[type="checkbox"]:checked + label::before {
    background: #c49a50 !important;
    border-color: #c49a50 !important;
}

/* Checked Tick */
.form-section-wrapper
.term-type-checklist .md-checkbox
input[type="checkbox"]:checked + label::after {
    content: "" !important;
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;

    width: 10px !important;
    height: 6px !important;

    border: solid #ffffff !important;
    border-width: 0 2px 2px 0 !important;

    transform: translateY(-70%) rotate(45deg) !important;
}

/* Keyboard Focus */
.form-section-wrapper
.term-type-checklist .md-checkbox
input[type="checkbox"]:focus-visible + label {
    outline: 3px solid rgba(196,154,80,.28) !important;
    outline-offset: 2px;
}


/* =====================================
   MULTI SELECT - SELECT2
===================================== */

/* Multiselect Wrapper */
.form-section-wrapper
.term-type-multiselect .cts-term-multiselect {
    width: 100%;
    position: relative;
}

/* Select2 Container */
.form-section-wrapper
.term-type-multiselect .select2-container {
    width: 100% !important;
    max-width: 100%;
}

/* Main Select Box */
.form-section-wrapper
.term-type-multiselect
.select2-container--default
.select2-selection--multiple {
    display: flex !important;
    align-items: center !important;

    min-height: 52px !important;
    height: auto !important;

    background: #f8fafc !important;
    border: 1px solid #dce3ed !important;
    border-radius: 10px !important;

    padding: 7px 12px !important;
    margin: 0 !important;

    box-shadow: none !important;
    transition: all .25s ease !important;
}

/* Hover */
.form-section-wrapper
.term-type-multiselect
.select2-selection--multiple:hover {
    border-color: #bcc9d9 !important;
    background: #ffffff !important;
}

/* Focus */
.form-section-wrapper
.term-type-multiselect
.select2-container--focus
.select2-selection--multiple,
.form-section-wrapper
.term-type-multiselect
.select2-container--open
.select2-selection--multiple {
    background: #ffffff !important;
    border-color: #c49a50 !important;
    box-shadow: 0 0 0 3px rgba(196,154,80,.12) !important;
}

/* Selected Items Layout */
.form-section-wrapper
.term-type-multiselect
.select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px !important;

    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Selected Tags */
.form-section-wrapper
.term-type-multiselect
.select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;

    width: auto !important;
    max-width: 100%;
    min-height: 30px !important;

    background: #edf2f9 !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 7px !important;

    padding: 4px 9px !important;
    margin: 0 !important;

    color: #102d59 !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
}

/* Remove Selected Tag */
.form-section-wrapper
.term-type-multiselect
.select2-selection__choice__remove {
    color: #c49a50 !important;
    margin: 0 !important;
    padding: 0 4px !important;
    cursor: pointer;
}

/* Search Input Wrapper */
.form-section-wrapper
.term-type-multiselect
.select2-search--inline {
    flex: 1 1 140px !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

/* Search Input */
.form-section-wrapper
.term-type-multiselect
.select2-search__field {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    height: 34px !important;

    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;

    padding: 5px 4px !important;
    margin: 0 !important;

    font-family: 'Ravi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #243650 !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Placeholder */
.form-section-wrapper
.term-type-multiselect
.select2-search__field::placeholder {
    color: #9aa5b5 !important;
    opacity: 1;
}

/* =====================================
   SELECT2 DROPDOWN
===================================== */

/* Dropdown can be attached to body */
.select2-container--open .select2-dropdown {
    background: #ffffff !important;
    border: 1px solid #e1e7f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(16,45,89,.10) !important;
    overflow: hidden;
    margin-top: 5px !important;
}

/* Search inside Dropdown */
.select2-container--open
.select2-search--dropdown .select2-search__field {
    background: #f8fafc !important;
    border: 1px solid #dce3ed !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 13px !important;
    box-shadow: none !important;
}

/* Dropdown Options */
.select2-container--open
.select2-results__option {
    padding: 12px 15px !important;
    margin: 0 8px !important;

    font-family: 'Ravi', sans-serif !important;
    font-size: 13px !important;
    color: #34445c !important;

    border-bottom: 1px solid #f0f2f6 !important;
    border-radius: 6px;
    transition: background .15s ease;
}

/* Hover Option */
.select2-container--default
.select2-results__option--highlighted[aria-selected] {
    background: #f4f0e8 !important;
    color: #102d59 !important;
}

/* Selected Option */
.select2-container--default
.select2-results__option[aria-selected="true"] {
    background: #f0f5fb !important;
    color: #102d59 !important;
    font-weight: 700 !important;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 600px) {

    .form-section-wrapper
    .term-type-checklist .c27-term-checklist {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .form-section-wrapper
    .term-type-checklist .md-checkbox label {
        min-height: 48px !important;
    }

    .form-section-wrapper
    .term-type-multiselect
    .select2-selection--multiple {
        min-height: 48px !important;
    }
}




/* Rahimi - Price Range Slider */

.mylisting-range-slider .amount {
    direction: rtl !important;
    text-align: right !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #102d59 !important;
    line-height: 2 !important;
    margin-bottom: 12px !important;
}

/* Slider Bar */
.mylisting-range-slider .slider-range {
    background: #e5eaf1 !important;
    border-radius: 20px !important;
}

/* Selected Range */
.mylisting-range-slider .ui-slider-range {
    background: #102d59 !important;
    border-radius: 20px !important;
}

/* Slider Handles */
.mylisting-range-slider .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    background: #ffffff !important;
    border: 2px solid #c49a50 !important;
    border-radius: 50% !important;
    cursor: grab !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.10);
}





/* =======================================
   RAHIMI REAL ESTATE - LISTING CARDS
======================================= */

/* Card Container */
.lf-item-container.listing-preview[data-template="default"] {
    background: #fff !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 16px !important;
    overflow: hidden !important;

    box-shadow: 0 4px 18px rgba(16,45,89,.06) !important;
    transition: transform .3s ease, box-shadow .3s ease !important;
}

/* Card Hover */
.lf-item-container.listing-preview[data-template="default"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16,45,89,.13) !important;
}

/* Image Height */
.listing-preview.lf-small-height .lf-item.lf-item-default {
    height: 260px !important;
}

/* Property Image */
.listing-preview .lf-item-default .lf-background {
    background-position: center !important;
    background-size: cover !important;
    transition: transform .5s ease !important;
}

.listing-preview:hover .lf-item-default .lf-background {
    transform: scale(1.05) !important;
}

/* Gradient Over Image */
.listing-preview .lf-item-default > a > .overlay {
    background: linear-gradient(
        180deg,
        rgba(7,21,43,.08) 0%,
        rgba(7,21,43,.12) 40%,
        rgba(7,21,43,.85) 100%
    ) !important;

    opacity: 1 !important;
}

/* =======================================
   PROPERTY TITLE & LOCATION
======================================= */

.listing-preview .lf-item-default .lf-item-info {
    bottom: 18px !important;
    right: 18px !important;
    left: 18px !important;
}

.listing-preview .lf-item-default .listing-preview-title {
    color: #ffffff !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;

    margin: 0 0 5px !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.25);

    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Property Location */
.listing-preview .lf-item-default .lf-contact li {
    color: #f1f5f9 !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
}

.listing-preview .lf-item-default .lf-contact li i {
    color: #e5be77 !important;
    font-size: 17px !important;
}

/* Property Logo */
.listing-preview .lf-item-default .lf-avatar {
    width: 46px !important;
    height: 46px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 12px rgba(0,0,0,.18);
}

/* =======================================
   PRICE BADGE
======================================= */

.listing-preview .lf-head {
    top: 14px !important;
    right: 14px !important;
    gap: 8px !important;
}

/* White Price Card */
.listing-preview .lf-head .lf-head-btn.formatted {
    background: #ffffff !important;
    border: 1px solid rgba(255,255,255,.9) !important;
    border-radius: 10px !important;

    padding: 9px 12px !important;
    height: auto !important;

    box-shadow: 0 4px 15px rgba(0,0,0,.13) !important;
}

/* Price Layout */
.listing-preview .lf-head
.rent-price.inside-rent-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Price Value */
.listing-preview .lf-head .rent-price .value {
    display: inline-flex !important;
    flex-direction: row-reverse !important;
    direction: rtl !important;
    align-items: baseline !important;
    gap: 5px !important;

    color: #102d59 !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    white-space: nowrap;
}

/* Currency Unit */
.listing-preview .lf-head
.rent-price .format-prefix {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    white-space: nowrap;
}

/* Rental Period */
.listing-preview .lf-head .rent-price .out-of {
    color: #8793a6 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    line-height: 1.5 !important;
    padding: 0 !important;
}

/* =======================================
   PROPERTY DETAILS
======================================= */

/* Details Container */
.listing-preview .listing-details-3 {
    background: #ffffff !important;
    padding: 13px 10px !important;
    border-top: none !important;
}

.listing-preview .listing-details-3 .details-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Three Information Columns */
.listing-preview .listing-details-3 .details-list li {
    display: flex !important;
    flex: 1 1 0 !important;
    width: 33.333% !important;
    min-width: 0 !important;

    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    padding: 4px 6px !important;
    margin: 0 !important;

    text-align: center !important;
}

/* Column Separators */
.listing-preview .listing-details-3 .details-list li:not(:last-child) {
    border-left: 1px solid #edf0f4 !important;
}

/* Detail Icons */
.listing-preview .listing-details-3 .details-list li i {
    color: #b58b43 !important;
    font-size: 20px !important;
    width: auto !important;
    margin: 0 !important;
}

/* Detail Values */
.listing-preview .listing-details-3 .details-list li span {
    color: #34445c !important;
    font-family: 'Ravi', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;

    width: 100% !important;
    text-align: center !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =======================================
   CARD ACTIONS
======================================= */

.listing-preview .listing-details.actions {
    height: 52px !important;
    background: #fbfcfe !important;
    border-top: 1px solid #edf0f4 !important;
    padding: 0 15px !important;
}

.listing-preview .listing-details.actions .ld-info ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.listing-preview .listing-details.actions .ld-info li {
    float: none !important;
    margin: 0 !important;
}

/* Round Action Buttons */
.listing-preview .listing-details.actions .ld-info li > a {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;

    background: #f0f4f9 !important;
    color: #102d59 !important;

    transition: all .2s ease !important;
}

.listing-preview .listing-details.actions .ld-info li > a:hover {
    background: #e8edf5 !important;
    color: #b58b43 !important;
    transform: translateY(-2px);
}

.listing-preview .listing-details.actions .ld-info li i {
    color: inherit !important;
    font-size: 19px !important;
}

/* Bookmarked State */
.listing-preview .listing-details.actions
.c27-bookmark-button.bookmarked {
    background: #c49a50 !important;
    color: #ffffff !important;
}

.listing-preview .listing-details.actions
.c27-bookmark-button.bookmarked i {
    color: #ffffff !important;
}

/* =======================================
   MOBILE
======================================= */

@media (max-width: 767px) {

    .listing-preview.lf-small-height
    .lf-item.lf-item-default {
        height: 235px !important;
    }

    .listing-preview .lf-item-default
    .listing-preview-title {
        font-size: 14px !important;
    }

    .listing-preview .lf-head
    .rent-price .value {
        font-size: 13px !important;
    }

    .listing-preview .listing-details-3
    .details-list li span {
        font-size: 11px !important;
    }
}






/* =========================================
   RAHIMI - PREMIUM PROPERTY CATEGORIES
========================================= */

/* Main Grid */
.elementor-element-f0b20f3 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px !important;
    width: 100%;
}

/* Category Cards */
.elementor-element-f0b20f3 > a.e-con {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 230px !important;

    padding: 30px 16px !important;

    background: #ffffff !important;
    background-image: none !important;

    border: 1px solid #e6eaf1 !important;
    border-radius: 18px !important;

    box-shadow: 0 5px 24px rgba(16,45,89,.06) !important;

    text-decoration: none !important;
    overflow: hidden !important;
    cursor: pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease,
        background .3s ease !important;
}

/* Decorative Bottom Line */
.elementor-element-f0b20f3 > a.e-con::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;

    width: 45px;
    height: 3px;

    background: #c49a50;
    border-radius: 5px 5px 0 0;

    transform: translateX(-50%);
    transition: width .3s ease;
    pointer-events: none;
}

/* =========================================
   ICON DESIGN
========================================= */

/* Icon Widget */
.elementor-element-f0b20f3
.elementor-widget-icon {
    margin: 0 0 20px !important;
    width: auto !important;
}

/* Icon Background */
.elementor-element-f0b20f3
.elementor-icon-wrapper .elementor-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 84px !important;
    height: 84px !important;

    padding: 20px !important;

    background: #f9f4ea !important;
    border: 1px solid #f0e4cc !important;
    border-radius: 22px !important;

    color: #b68a40 !important;
    transition: all .3s ease !important;
}

/* SVG Icons */
.elementor-element-f0b20f3
.elementor-icon svg {
    width: 42px !important;
    height: 42px !important;

    fill: currentColor !important;
    color: inherit !important;

    transition: transform .3s ease !important;
}

/* =========================================
   CATEGORY TITLES
========================================= */

.elementor-element-f0b20f3
.elementor-widget-heading {
    margin: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

.elementor-element-f0b20f3
.elementor-heading-title {
    font-family: 'Ravi', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;

    color: #102d59 !important;
    line-height: 1.8 !important;

    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;

    transition: color .3s ease !important;
}

/* =========================================
   PREMIUM HOVER EFFECT
========================================= */

.elementor-element-f0b20f3 > a.e-con:hover {
    background: linear-gradient(
        145deg,
        #173965 0%,
        #0b2142 100%
    ) !important;

    border-color: #173965 !important;

    transform: translateY(-7px) !important;

    box-shadow: 0 16px 35px rgba(16,45,89,.20) !important;
}

/* Bottom Line Hover */
.elementor-element-f0b20f3 > a.e-con:hover::after {
    width: 100%;
}

/* Icon Hover */
.elementor-element-f0b20f3
> a.e-con:hover .elementor-icon {
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(196,154,80,.55) !important;
    color: #e1bb75 !important;
}

/* Icon Scale Hover */
.elementor-element-f0b20f3
> a.e-con:hover .elementor-icon svg {
    transform: scale(1.1);
}

/* Title Hover */
.elementor-element-f0b20f3
> a.e-con:hover .elementor-heading-title {
    color: #ffffff !important;
}

/* Keyboard Accessibility */
.elementor-element-f0b20f3 > a.e-con:focus-visible {
    outline: 3px solid #c49a50 !important;
    outline-offset: 4px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .elementor-element-f0b20f3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px !important;
    }

    .elementor-element-f0b20f3 > a.e-con {
        min-height: 205px !important;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .elementor-element-f0b20f3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px !important;
    }

    .elementor-element-f0b20f3 > a.e-con {
        min-height: 165px !important;
        padding: 20px 10px !important;
        border-radius: 14px !important;
    }

    .elementor-element-f0b20f3
    .elementor-icon-wrapper .elementor-icon {
        width: 65px !important;
        height: 65px !important;
        padding: 15px !important;
        border-radius: 17px !important;
    }

    .elementor-element-f0b20f3
    .elementor-icon svg {
        width: 34px !important;
        height: 34px !important;
    }

    .elementor-element-f0b20f3
    .elementor-widget-icon {
        margin-bottom: 12px !important;
    }

    .elementor-element-f0b20f3
    .elementor-heading-title {
        font-size: 14px !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .elementor-element-f0b20f3 > a.e-con,
    .elementor-element-f0b20f3 > a.e-con * {
        transition: none !important;
    }
}

