/* Override missing icomoon font family with Font Awesome 6 */
[class^="icon-"], [class*=" icon-"], [class^="flaticon-"], [class*=" flaticon-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
}

/* Slider Owl Carousel Navigation Arrows Fix */
.icon-arrow_back:before, .icon-arrow-left:before, .icon-keyboard_arrow_left:before, .icon-chevron-left:before, .owl-prev span:before {
    content: "\f060" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-arrow_forward:before, .icon-arrow-right:before, .icon-keyboard_arrow_right:before, .icon-chevron-right:before, .owl-next span:before {
    content: "\f061" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Property Card Favorite Circle Button Matching User Screenshot */
.property-entry .property-thumbnail {
    position: relative !important;
}

.property-entry .property-favorite {
    position: absolute !important;
    bottom: 15px !important;
    right: 15px !important;
    top: auto !important;
    z-index: 20 !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
}

.property-entry .property-favorite:hover,
.property-entry .property-favorite.active {
    background: #f23a2e !important;
}

.property-entry .property-favorite:hover i,
.property-entry .property-favorite.active i {
    color: #ffffff !important;
}

/* General Icon mappings */
.icon-envelope:before, .icon-envelope-o:before {
    content: "\f0e0" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-phone:before {
    content: "\f095" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-facebook:before {
    content: "\f09a" !important;
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.icon-twitter:before {
    content: "\f099" !important;
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.icon-instagram:before {
    content: "\f16d" !important;
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.icon-linkedin:before {
    content: "\f0e1" !important;
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.icon-menu:before {
    content: "\f0c9" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-close2:before, .icon-close:before, .icon-remove:before, .icon-times:before {
    content: "\f00d" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-search:before {
    content: "\f002" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-room:before, .icon-location:before {
    content: "\f3c5" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-check:before {
    content: "\f00c" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-play-circle:before {
    content: "\f144" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.icon-3d_rotation:before {
    content: "\f1b9" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.flaticon-house:before {
    content: "\f015" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.flaticon-sold:before {
    content: "\f4c6" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

.flaticon-camera:before {
    content: "\f030" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* Homeland Theme Pagination Styling */
.site-pagination a, .site-pagination span.disabled {
    display: inline-block !important;
    width: 45px !important;
    height: 45px !important;
    line-height: 43px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e6e6e6 !important;
    margin: 0 4px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.site-pagination a:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.site-pagination a.active {
    border-color: transparent !important;
    background: #28a745 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3) !important;
}

.site-pagination span.dots {
    display: inline-block !important;
    width: 25px !important;
    text-align: center !important;
}

/* Select2 Dark Blue Hero Filter Styling */
.form-search .select2-container--default .select2-selection--single {
    height: 48px !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    border: 0 !important;
    background-color: #ffffff !important;
}

.form-search .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 32px !important;
    color: #333333 !important;
    font-size: 15px !important;
    padding-left: 0 !important;
}

.form-search .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

/* User Navbar Button Hover & Active Contrast Fix */
.user-navbar-btn {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s ease-in-out !important;
}

.user-navbar-btn:hover,
.user-navbar-btn:focus,
.user-navbar-btn:active,
.show > .user-navbar-btn.dropdown-toggle {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.user-navbar-btn:hover i,
.user-navbar-btn:focus i,
.user-navbar-btn:active i,
.show > .user-navbar-btn.dropdown-toggle i {
    color: #ffffff !important;
}

/* Property Detail Page Hero Title Banner Fitting & Aspect Ratio Fix */
.property-detail-hero.site-blocks-cover {
    min-height: 350px !important;
    height: 350px !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.property-detail-hero.site-blocks-cover .row {
    min-height: 350px !important;
    height: 350px !important;
}

.property-detail-hero.site-blocks-cover h1 {
    font-size: 2.2rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Property Home Page Hero Title Banner Fitting & Aspect Ratio Fix */
.property-home-hero.site-blocks-cover {
    min-height: 500px !important;
    height: 500px !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.property-home-hero.site-blocks-cover .row {
    min-height: 500px !important;
    height: 500px !important;
}

.property-home-hero.site-blocks-cover h1 {
    font-size: 2.2rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Property Detail Page Navbar Styling Fix (When Hero is removed) */
.site-navbar.property-detail-navbar {
    background-color: #1a1e24 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 100 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}


@media (min-width: 768px) {
    .site-section {
        padding: 3em 0 !important;
    }
}

@media (min-width: 768px) {
    .site-footer {
        padding: 1em 0 !important;
    }
}

/* Featured Agencies Card Hover & Layout Fix */
.agency-card-hover {
    transition: all 0.3s ease-in-out !important;
    border: 1px solid #f0f0f0 !important;
}

.agency-card-hover:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #e2e8f0 !important;
}

/* Hero Filter Card & Tabs Matching Reference Screenshot */
.hero-search-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
}

.hero-search-tabs {
    display: flex;
    background: #3b4252;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 0;
}

.hero-search-tabs .nav-item {
    flex: 1;
    margin: 0;
    text-align: center;
}

.hero-search-tabs .nav-link {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff !important;
    background: #3b4252;
    border: 0;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.hero-search-tabs .nav-link.active {
    background: #ffffff !important;
    color: #d9381e !important;
    border-top: 3px solid #d9381e !important;
}

.hero-search-tabs .nav-link:hover:not(.active) {
    background: #4c566a;
    color: #ffffff !important;
}

/* Select2 Form Control Borders Fix inside Filter Card */
.hero-search-card .select2-container--default .select2-selection--single {
    height: 44px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    background-color: #ffffff !important;
}

.hero-search-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px !important;
    color: #333333 !important;
    font-size: 14px !important;
    padding-left: 0 !important;
}

.hero-search-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
    right: 10px !important;
}

.hero-search-btn-red {
    background-color: #d9381e !important;
    border-color: #d9381e !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.5px !important;
    padding: 10px 40px !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 15px rgba(217, 56, 30, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
}

.hero-search-btn-red:hover {
    background-color: #b82b14 !important;
    border-color: #b82b14 !important;
    box-shadow: 0 6px 20px rgba(217, 56, 30, 0.45) !important;
}

.btn-reset-search {
    border-radius: 30px !important;
    border: 1px solid #d8dee9 !important;
    color: #4c566a !important;
    padding: 4px 24px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #f8f9fa !important;
}

.btn-reset-search:hover {
    background: #e5e9f0 !important;
    color: #2e3440 !important;
}

/* jQuery UI Price Range Slider Custom Styling */
#price-slider-range.ui-slider-horizontal {
    height: 8px !important;
    background: #e2e8f0 !important;
    border: 0 !important;
    border-radius: 4px !important;
}

#price-slider-range .ui-slider-range {
    background: #d9381e !important;
    border-radius: 4px !important;
}

#price-slider-range .ui-slider-handle {
    width: 20px !important;
    height: 20px !important;
    top: -6px !important;
    background: #ffffff !important;
    border: 3px solid #d9381e !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    outline: none !important;
}

/* Mobile Responsive Media Queries for Hero Search Filter Card */
@media (max-width: 767.98px) {
    .hero-filter-overlay-wrapper {
        margin-top: -30px !important;
        padding-top: 0 !important;
    }

    .hero-search-card {
        border-radius: 10px !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    }

    .hero-search-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .hero-search-tabs .nav-item {
        flex: 1 1 auto !important;
        min-width: 80px !important;
    }

    .hero-search-tabs .nav-link {
        padding: 12px 10px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .hero-search-card-body {
        padding: 16px !important;
    }

    .hero-search-action-row {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }

    .hero-search-action-row button,
    .hero-search-action-row a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .hero-search-btn-red {
        width: 100% !important;
        padding: 10px 20px !important;
        display: block !important;
    }

    .btn-reset-search {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   MODERN PROPERTY PORTAL STYLES (Inspired by MagicBricks Usability)
   ========================================================================== */

/* 1. Portal Hero & Search Card */
.portal-hero-wrapper {
    position: relative;
    z-index: 100;
    margin-top: -180px;
    padding-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .portal-hero-wrapper {
        margin-top: -60px;
    }
}

@media (max-width: 767.98px) {
    .portal-hero-wrapper {
        margin-top: -30px;
    }
}

.portal-search-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.portal-search-card:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

/* Category Tabs */
.portal-tabs-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
}

.portal-category-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    scrollbar-width: none;
}

.portal-category-tabs::-webkit-scrollbar {
    display: none;
}

.portal-category-tabs .nav-item {
    flex: 0 0 auto;
}

.portal-category-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 50px !important;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out !important;
    white-space: nowrap;
    text-decoration: none !important;
}

.portal-category-tabs .nav-link:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

.portal-category-tabs .nav-link.active {
    background: #d9381e !important;
    color: #ffffff !important;
    border-color: #d9381e !important;
    box-shadow: 0 4px 14px rgba(217, 56, 30, 0.35) !important;
}

.portal-category-tabs .nav-link.active i {
    color: #ffffff !important;
}

/* Search Bar Inner Layout & Select2 Overrides */
.portal-search-body {
    padding: 1.5rem;
    background: #ffffff;
}

@media (max-width: 767.98px) {
    .portal-search-body {
        padding: 1rem;
    }
}

.portal-search-card .select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0 12px !important;
    background-color: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.portal-search-card .select2-container--default.select2-container--focus .select2-selection--single,
.portal-search-card .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #d9381e !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(217, 56, 30, 0.12) !important;
}

.portal-search-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding-left: 0 !important;
}

.portal-search-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 12px !important;
}

.portal-search-btn-primary {
    background: linear-gradient(135deg, #d9381e 0%, #b82b14 100%) !important;
    border: 0 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    padding: 0 1.8rem !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(217, 56, 30, 0.35) !important;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 48px;
    cursor: pointer;
}

.portal-search-btn-primary:hover {
    background: linear-gradient(135deg, #c02c14 0%, #9e230e 100%) !important;
    box-shadow: 0 6px 20px rgba(217, 56, 30, 0.48) !important;
    transform: translateY(-1px);
}

/* 2. Horizontal Advanced Filter Bar */
.portal-filter-bar-wrapper {
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 10px 0 !important;
    position: relative !important;
    z-index: 900 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    overflow: visible !important;
}

.portal-filter-bar-scroll {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    overflow: visible !important;
    padding-bottom: 2px;
}

@media (max-width: 767.98px) {
    .portal-filter-bar-scroll {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

.portal-filter-btn {
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0 16px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    user-select: none !important;
}

.portal-filter-btn:hover {
    background: #fff8f7 !important;
    border-color: #d9381e !important;
    color: #d9381e !important;
}

.portal-filter-btn.has-value,
.portal-filter-btn.dropdown-active {
    background: #fdf2f0 !important;
    border-color: #d9381e !important;
    color: #d9381e !important;
    font-weight: 700 !important;
}

.portal-filter-btn.more-filters-btn {
    background: #fdf2f0 !important;
    border-color: #fca5a5 !important;
    color: #d9381e !important;
    font-weight: 700 !important;
}

.portal-filter-btn.more-filters-btn:hover {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
}

/* Custom Dropdown Menus for Filter Bar (Reliable Native Floating Dropdown) */
.portal-dropdown-wrapper {
    position: relative !important;
    display: inline-block !important;
    overflow: visible !important;
}

.portal-filter-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    z-index: 99999 !important;
    display: none !important;
    min-width: 320px !important;
    max-width: 90vw !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22) !important;
    padding: 1.25rem !important;
}

.portal-filter-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1.5px solid #e2e8f0;
    border-top: 1.5px solid #e2e8f0;
    transform: rotate(45deg);
}

.portal-filter-dropdown-menu.show {
    display: block !important;
    animation: portalDropdownFadeIn 0.18s ease-out !important;
}

@keyframes portalDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 3. Active Filter Chips */
.portal-chips-wrapper {
    padding: 0.75rem 0 0.5rem 0;
}

.portal-chips-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.portal-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.portal-chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #94a3b8;
    color: #ffffff;
    font-size: 11px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: pointer;
    border: 0;
    padding: 0;
    line-height: 1;
}

.portal-chip-remove:hover {
    background: #d9381e;
    color: #ffffff;
}

.portal-clear-all-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #d9381e;
    text-decoration: none;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: color 0.2s ease;
}

.portal-clear-all-link:hover {
    color: #b82b14;
    text-decoration: underline;
}

/* 4. Results Header */
.portal-results-header {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.portal-results-count {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.portal-sort-select {
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1.5px solid #cbd5e1;
    padding: 0.45rem 0.8rem;
    background-color: #ffffff;
    color: #334155;
    cursor: pointer;
    min-width: 170px;
    transition: border-color 0.2s ease;
}

.portal-sort-select:focus {
    border-color: #d9381e;
    outline: none;
    box-shadow: 0 0 0 2px rgba(217, 56, 30, 0.15);
}

/* 5. Modern Property Cards */
.portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.portal-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

.portal-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portal-card:hover .portal-card-img {
    transform: scale(1.04);
}

/* Overlay Badges */
.portal-badge-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.portal-tag {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.portal-tag-sale {
    background: #d9381e;
    color: #ffffff;
}

.portal-tag-rent {
    background: #0284c7;
    color: #ffffff;
}

.portal-tag-residential {
    background: #1e293b;
    color: #ffffff;
}

.portal-tag-commercial {
    background: #7c3aed;
    color: #ffffff;
}

/* Wishlist Heart Button */
.portal-heart-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
    text-decoration: none !important;
}

.portal-heart-btn:hover {
    background: #ffffff;
    transform: scale(1.1);
    color: #d9381e;
}

.portal-heart-btn.active {
    background: #d9381e;
    color: #ffffff;
}

.portal-heart-btn.active i {
    color: #ffffff;
}

/* Bottom Image Chips */
.portal-media-bottom {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.portal-media-pill {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Content */
.portal-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Price Block */
.portal-price-block {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.portal-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.portal-price-rate {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Property Title & Location */
.portal-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
    line-height: 1.35;
    height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portal-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.portal-title a:hover {
    color: #d9381e;
}

.portal-location {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.85rem;
}

/* Specs Bar (Clean 3-Box Highlight) */
.portal-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 0.5rem;
    margin-bottom: 0.85rem;
    text-align: center;
}

.portal-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portal-spec-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.portal-spec-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Extra Details Badges */
.portal-details-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.portal-detail-chip {
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Card Action Footer */
.portal-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.portal-agent-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.portal-agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfdbfe;
    flex-shrink: 0;
}

.portal-agent-text {
    min-width: 0;
}

.portal-agent-title {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
}

.portal-agent-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-btn-view {
    background: #d9381e !important;
    color: #ffffff !important;
    border: 0 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 3px 10px rgba(217, 56, 30, 0.25) !important;
    flex-shrink: 0;
}

.portal-btn-view:hover {
    background: #b82b14 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(217, 56, 30, 0.38) !important;
}

/* 6. "More Filters" Offcanvas Styles (GUARANTEED FIXED POSITIONING & HIDDEN BY DEFAULT) */
.portal-offcanvas {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 480px !important;
    max-width: 95vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 999999 !important;
    transform: translateX(105%) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.3s !important;
    visibility: hidden !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
}

.portal-offcanvas.active,
.portal-offcanvas.show {
    transform: translateX(0) !important;
    visibility: visible !important;
}

.portal-offcanvas-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(2px) !important;
    z-index: 999998 !important;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease !important;
}

.portal-offcanvas-backdrop.active,
.portal-offcanvas-backdrop.show {
    display: block !important;
    opacity: 1 !important;
}

.portal-offcanvas-header {
    background: #0f172a;
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.portal-offcanvas-header .btn-close {
    background: none;
    border: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.portal-offcanvas-header .btn-close:hover {
    opacity: 1;
}

.portal-offcanvas-body {
    padding: 1.5rem;
    background: #f8fafc;
    overflow-y: auto;
    flex: 1;
}

.portal-filter-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.15rem;
    margin-bottom: 1.25rem;
}

.portal-filter-section-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.9rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Radio / Checkbox Pills */
.portal-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portal-pill-input {
    display: none;
}

.portal-pill-label {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    margin: 0;
}

.portal-pill-label:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.portal-pill-input:checked + .portal-pill-label {
    background: #d9381e;
    border-color: #d9381e;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(217, 56, 30, 0.25);
}

/* Amenities Checkbox Grid in Offcanvas */
.portal-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.portal-amenity-checkbox {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.portal-amenity-checkbox:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.portal-amenity-checkbox input[type="checkbox"]:checked ~ span {
    font-weight: 700;
    color: #0f172a;
}

/* Offcanvas Sticky Footer */
.portal-offcanvas-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.portal-btn-apply {
    background: #d9381e !important;
    border-color: #d9381e !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.65rem 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(217, 56, 30, 0.25) !important;
    flex: 1;
}

.portal-btn-apply:hover {
    background: #b82b14 !important;
}

/* Mobile Responsiveness */
@media (max-width: 575.98px) {
    .portal-specs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.35rem;
        padding: 0.5rem 0.25rem;
    }

    .portal-spec-value {
        font-size: 0.8rem;
    }

    .portal-spec-label {
        font-size: 0.62rem;
    }

    .portal-amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MODERN PROPERTY DETAIL PAGE STYLES
   ========================================================================== */

/* Breadcrumbs & Header Bar */
.pdetail-breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
    font-size: 0.85rem;
}

.pdetail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #64748b;
}

.pdetail-breadcrumb a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.pdetail-breadcrumb a:hover {
    color: #d9381e;
}

.pdetail-breadcrumb-sep {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.pdetail-breadcrumb-current {
    color: #0f172a;
    font-weight: 700;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdetail-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdetail-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    height: 38px;
    padding: 0 14px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.pdetail-action-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.pdetail-action-btn.wishlist-btn.active {
    background: #fdf2f0;
    border-color: #d9381e;
    color: #d9381e;
}

.pdetail-action-btn.wishlist-btn.active i {
    color: #d9381e;
}

.pdetail-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.pdetail-badge-available {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.pdetail-badge-booked {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

.pdetail-badge-sold {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.pdetail-badge-rented {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* Photo Gallery Showcase Grid */
.pdetail-gallery-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
}

.pdetail-gallery-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 6px;
    height: 440px;
    background: #0f172a;
}

.pdetail-gallery-main {
    position: relative;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.pdetail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pdetail-gallery-main:hover img {
    transform: scale(1.025);
}

.pdetail-gallery-thumbs-col {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    height: 100%;
}

.pdetail-gallery-thumbs-col.two-thumbs {
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: 1fr;
}

.pdetail-gallery-thumbs-col.single-thumb {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
}

.pdetail-thumb-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.pdetail-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pdetail-thumb-item:hover img {
    transform: scale(1.04);
}

.pdetail-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background 0.2s ease;
}

.pdetail-more-overlay:hover {
    background: rgba(15, 23, 42, 0.85);
}

.pdetail-gallery-single {
    position: relative;
    height: 420px;
    overflow: hidden;
    cursor: pointer;
}

.pdetail-gallery-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdetail-view-photos-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pdetail-view-photos-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Card Sections */
.pdetail-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.pdetail-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Title & Price Header */
.pdetail-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.pdetail-address {
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pdetail-address a {
    color: #d9381e;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.3rem;
}

.pdetail-price-main {
    font-size: 2.1rem;
    font-weight: 800;
    color: #d9381e;
    letter-spacing: -0.8px;
    line-height: 1.1;
}

.pdetail-price-sub {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}

.pdetail-badges-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

/* Quick Highlight Stats Cards */
.pdetail-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.pdetail-stat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 0.85rem;
    text-align: center;
    transition: all 0.2s ease;
}

.pdetail-stat-box:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.pdetail-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fdf2f0;
    color: #d9381e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin: 0 auto 0.6rem auto;
}

.pdetail-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.pdetail-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

/* Detailed Specifications Grid */
.pdetail-specs-table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1.75rem;
}

.pdetail-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.pdetail-spec-key {
    font-size: 0.88rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdetail-spec-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

/* Amenities Pill Cards */
.pdetail-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.pdetail-amenity-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.pdetail-amenity-item:hover {
    background: #ffffff;
    border-color: #d9381e;
    box-shadow: 0 4px 12px rgba(217, 56, 30, 0.08);
}

.pdetail-amenity-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.pdetail-amenity-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}

/* Description Text */
.pdetail-desc-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #334155;
}

.pdetail-desc-text.collapsed {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.pdetail-desc-text.collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.pdetail-readmore-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: #d9381e;
    background: none;
    border: 0;
    padding: 0;
    margin-top: 0.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Sticky Sidebar */
.pdetail-sidebar-sticky {
    position: sticky;
    top: 90px;
}

/* Financial Card in Sidebar */
.pdetail-finance-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.pdetail-finance-item:last-child {
    border-bottom: 0;
}

.pdetail-finance-label {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}

.pdetail-finance-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

/* Direct Inquiry Card */
.pdetail-inquiry-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pdetail-inquiry-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.pdetail-inquiry-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d9381e;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #fee2e2;
}

.pdetail-inquiry-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2px;
}

.pdetail-inquiry-sub {
    font-size: 0.78rem;
    color: #64748b;
}

.pdetail-form-group {
    margin-bottom: 0.85rem;
}

.pdetail-form-control {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    padding: 0 12px;
    font-size: 0.88rem;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.pdetail-form-control:focus {
    background: #ffffff;
    border-color: #d9381e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 56, 30, 0.12);
}

textarea.pdetail-form-control {
    height: 80px;
    padding: 8px 12px;
    resize: vertical;
}

.pdetail-submit-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #d9381e 0%, #b82b14 100%);
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(217, 56, 30, 0.35);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pdetail-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #c02c14 0%, #9e230e 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217, 56, 30, 0.45);
}

.pdetail-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Agent Quick Action Buttons */
.pdetail-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1rem;
}

.pdetail-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    border-radius: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pdetail-call-btn:hover {
    background: #dbeafe;
    color: #1e40af;
}

.pdetail-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pdetail-whatsapp-btn:hover {
    background: #dcfce7;
    color: #166534;
}

/* Trust Guarantee Card */
.pdetail-trust-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.8rem;
    color: #475569;
}

.pdetail-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.pdetail-trust-item:last-child {
    margin-bottom: 0;
}

/* Fullscreen Gallery Lightbox Modal */
.pdetail-lightbox-dialog {
    margin: 0;
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
}

.pdetail-lightbox-content {
    background: #0b0f17;
    border: 0;
    border-radius: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

.pdetail-lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.pdetail-lightbox-counter {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.pdetail-lightbox-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    color: #ffffff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pdetail-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.pdetail-lightbox-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}

.pdetail-lightbox-img {
    max-height: 72vh;
    max-width: 88vw;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    user-select: none;
    transition: opacity 0.2s ease;
}

.pdetail-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 0;
    color: #ffffff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.pdetail-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.pdetail-lightbox-nav.prev {
    left: 20px;
}

.pdetail-lightbox-nav.next {
    right: 20px;
}

.pdetail-lightbox-filmstrip {
    height: 84px;
    background: rgba(15, 23, 42, 0.9);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pdetail-filmstrip-thumb {
    width: 68px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.pdetail-filmstrip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdetail-filmstrip-thumb:hover,
.pdetail-filmstrip-thumb.active {
    opacity: 1;
    border-color: #d9381e;
    transform: scale(1.05);
}

/* Mobile Sticky Bottom Bar */
.pdetail-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 0.65rem 1rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

@media (min-width: 992px) {
    .pdetail-mobile-bar {
        display: none !important;
    }
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .pdetail-gallery-grid {
        height: 360px;
    }

    .pdetail-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pdetail-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pdetail-specs-table-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .pdetail-gallery-grid {
        grid-template-columns: 1fr;
        height: 280px;
    }

    .pdetail-gallery-thumbs-col {
        display: none;
    }

    .pdetail-title {
        font-size: 1.35rem;
    }

    .pdetail-price-main {
        font-size: 1.6rem;
    }

    .pdetail-card {
        padding: 1.25rem;
    }

    .pdetail-lightbox-nav.prev {
        left: 8px;
        width: 40px;
        height: 40px;
    }

    .pdetail-lightbox-nav.next {
        right: 8px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
    .pdetail-quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .pdetail-amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* Google reCAPTCHA Styling & Responsive Scale */
.g-recaptcha-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    max-width: 100%;
    margin-top: 6px;
    margin-bottom: 6px;
}

.g-recaptcha-wrapper .g-recaptcha {
    min-height: 78px;
}

@media (max-width: 380px) {
    .g-recaptcha-wrapper .g-recaptcha {
        transform: scale(0.86);
        transform-origin: 0 0;
    }
}




