/**
 * MyRent Agency Theme - Custom Styles
 * Version: 3.9.134
 * 
 * This file consolidates all custom CSS previously scattered in inline styles.
 * Use CSS custom properties (--primary-color) for easy theming.
 * 
 * v3.9.134: 
 * - Search bar moved to TOP of map
 * - English labels for search form
 * - Mobile Airbnb-style UI (map first, toggle to list)
 */

:root {
    --primary-color: #c8a35f;
    --primary-hover: #b8934f;
    --text-dark: #333;
    --text-muted: #666;
    --text-light: #888;
    --border-color: #e9ecef;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.2);
    --transition-fast: 0.3s ease;
}

/* ==========================================================================
   SIMILAR PROPERTIES SEPARATOR
   ========================================================================== */

.similar-properties-separator {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px 0;
}

.similar-properties-separator .separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.similar-properties-separator .separator-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.similar-properties-separator .separator-text i {
    color: var(--primary-color);
    margin-right: 8px;
}

.similar-properties-list {
    margin-top: 20px;
}

.property-list-card.is-similar-property,
.similar-properties-list .property-list-card {
    opacity: 0.92;
    border-left: 3px solid var(--primary-color);
}

.similar-hint {
    font-size: 0.85em;
    color: var(--text-light);
    font-weight: normal;
}

/* ==========================================================================
   SIMILAR PROPERTIES BUTTON
   ========================================================================== */
/* Header layout overrides (global) */
.header-new .header-navigation {
    display: none !important; /* Use hamburger menu for all navigation */
}

.header-new .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-new .header-logo-with-search {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-new .header-logo-with-search .header-logo-link {
    flex-shrink: 0;
}

.header-new .header-logo-with-search .header-search-container {
    flex: 1 1 auto;
}

/* Show header search ONLY on All Properties (map) page */
body:not(.page-template-page-properties-map) .header-search-container {
    display: none !important;
}

@media (min-width: 992px) {
    .header-new .header-map-search-fields {
        padding: 6px 20px;
    }

    .header-new .header-map-search-field input,
    .header-new .header-map-search-field select {
        font-size: 14px;
    }
}

/* Desktop: always show hamburger inside header actions */
@media (min-width: 992px) {
    .header-new .header-mobile-actions {
        display: flex !important;
        align-items: center;
        gap: 12px;
    }
    .header-new .menu-wrap-inline {
        display: flex !important;
    }
}

/* Properties header layout: title + filters on one line */
.properties-map-page .properties-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}

.properties-map-page .properties-header h3 {
    margin-bottom: 0;
}

.properties-map-page .properties-header .properties-count {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.properties-map-page .category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.properties-map-page .category-filter-buttons .category-btn {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
}

@media (max-width: 767px) {
    .properties-map-page .properties-header {
        align-items: flex-start;
    }
    .properties-map-page .category-filter-buttons {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }
}




#load-similar-btn,
.btn-similar-properties {
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    transition: all var(--transition-fast);
    font-weight: 600;
    padding: 12px 30px;
}

#load-similar-btn:hover,
.btn-similar-properties:hover {
    background: #fff;
    color: var(--primary-color);
}

#load-similar-btn i,
.btn-similar-properties i {
    margin-right: 8px;
    color: #fff;
}

#load-similar-btn:hover i,
.btn-similar-properties:hover i {
    color: var(--primary-color);
}

/* ==========================================================================
   PROPERTY PRICE BADGE
   ========================================================================== */

.property-price-badge,
.property-card .property-price-badge,
.property-image .property-price-badge {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;

/* ==========================================================================
   FAVORITES MODE BADGE
   ========================================================================== */

.favorites-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    margin-left: 10px;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    font-size: 0.8rem;
    font-weight: 600;
}

.favorites-mode-badge i {
    color: #dc3545;
}

    font-size: 0.85rem;
    z-index: 5;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   PROPERTY CARD META (Guests, Bedrooms, Bathrooms icons)
   ========================================================================== */

.property-card-meta,
.property-card .property-card-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.property-card-meta .meta-item,
.property-card .property-card-meta .meta-item {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.property-card-meta .meta-item i,
.property-card .property-card-meta .meta-item i {
    font-size: 1rem;
}

/* ==========================================================================
   SEARCH FORM ELEMENTS
   ========================================================================== */

.search-field .input-with-icon {
    position: relative;
}

/* ==========================================================================
   PROPERTIES MAP PAGE - INTEGRATED SEARCH BAR (v3.9.133)
   ========================================================================== */

/* Hide the old search wrapper on desktop - search is now in map column */
.properties-map-page .properties-search-wrapper {
    display: none;
}

/* Map column needs relative positioning for the search bar */
.properties-map-page .map-column {
    position: sticky;
    top: 0;
    height: 100vh;
}

.properties-map-page .map-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.properties-map-page #properties-map {
    flex: 1;
    min-height: 0;
    position: relative;
}

/* Leaflet zoom control: move to bottom-right of map */
.properties-map-page #properties-map .leaflet-control-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: auto;
    top: auto;
    z-index: 1000;
}

/* Desktop: search bar aligned from map left edge (next to zoom controls) to ~10-15px from right */
@media (min-width: 992px) {
    .properties-map-page .map-column {
        position: relative;
    }

    .map-search-bar {
        display: none;
    }
}

/* Search bar at TOP of map */
/* Default position (desktop) near top center; fine-tuned below with media queries */
.map-search-bar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 700px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 8px 8px 8px 20px;
    transition: all 0.3s ease;
}

.map-search-bar:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.map-inline-search {
    margin: 0;
}

.map-search-fields {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-search-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border-right: 1px solid #e5e5e5;
}

.map-search-field:last-of-type {
    border-right: none;
}

.map-search-field i {
    color: var(--primary-color, #c8a35f);
    font-size: 14px;
    flex-shrink: 0;
}

.map-search-field input,
.map-search-field select {
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text-dark, #333);
    width: 100%;
    padding: 0;
    outline: none;
    cursor: pointer;
}

.map-search-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
}

.map-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color, #c8a35f);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mobile: Search Results header + inline favorites under map */
@media (max-width: 991px) {
    .properties-map-page .properties-header {
        margin-top: 2px;
    }

    .properties-map-page .properties-header-main-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .properties-map-page .properties-header-text h3 {
        font-size: 0.95rem;
        margin: 0 0 2px 0;
    }

    .properties-map-page .properties-header-text .properties-count {
        font-size: 0.85rem;
        margin: 0;
        color: #555;
    }

    /* Inline favorites badge + reset area under "Search Results" */
    .properties-map-page .properties-header-text .properties-count-inline {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 0;
        font-size: 0.85rem;
    }

    /* Old inline favorites heart under Search Results removed – now we show text indicator only */
.properties-map-page .favorites-inline-count,
.properties-map-page .favorites-inline-reset {
        display: none !important;
}

.properties-map-page .favorites-mode-indicator {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
}

.properties-map-page .favorites-mode-text {
        color: #555;
}

.properties-map-page .favorites-mode-reset {
        border: none;
        background: transparent;
        color: #dc3545;
        cursor: pointer;
        padding: 0;
}

.properties-map-page .favorites-mode-reset i {
        font-size: 0.9rem;
}

    .properties-map-page .properties-header-text .properties-count-number {
        font-size: 1rem;
        font-weight: 600;
        color: #222;
    }

    .properties-map-page .properties-header-favorites {
        display: flex;
        align-items: center;
    }

    .properties-map-page .results-favorites-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        border: none;
        background: transparent;
        cursor: pointer;
        color: #333;
        padding: 4px 6px;
    }

    .properties-map-page .results-favorites-btn i {
        color: var(--primary-color, #c8a35f);
        font-size: 1rem;
    }

    .properties-map-page .results-favorites-btn #results-favorites-count {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .properties-map-page .category-filter-buttons {
        margin-top: 4px;
    }

}

/* Desktop: hide inline favorites under Search Results, use header favorites */
@media (min-width: 992px) {
    body.page-template-page-properties-map .properties-header-favorites {
        display: none !important;
    }
}



.map-search-btn:hover {
    background: var(--primary-hover, #b8934f);
    transform: translateY(-1px);
}

.map-search-btn i {
    font-size: 14px;
}

.map-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--border-color, #e5e5e5);
    border-radius: 50%;
    color: var(--text-muted, #666);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.map-filters-toggle:hover {
    border-color: var(--primary-color, #c8a35f);
    color: var(--primary-color, #c8a35f);
}

/* Tablet adjustments */
@media (max-width: 1200px) {
    .map-search-bar {
        left: 15px;
        right: 15px;
        padding: 6px 6px 6px 15px;
    }
    
    .map-search-fields {
        gap: 8px;
    }
    
    .map-search-field {
        padding: 6px 10px;
    }
    
    .map-search-btn {
        padding: 10px 18px;
    }
    
    .map-search-btn span {
        display: none;
    }
}

/* Map page: hide legacy map search bar on all viewports (header search only) */
body.page-template-page-properties-map .map-search-bar,
body.page-template-page-properties-map .properties-search-wrapper {
    display: none !important;
}
@media (max-width: 991px) {
    /* Hide logo anchor on map page mobile to give space to search */
    body.page-template-page-properties-map .header-logo > a {
        display: none !important;
    }
}


/* Duplicate media query removed - styles consolidated in MOBILE AIRBNB-STYLE UI section below */

/* ==========================================================================
   MOBILE AIRBNB-STYLE UI (v3.9.133)
   - Map view first, list appears on scroll
   - Floating "Map" toggle button
   ========================================================================== */

@media (max-width: 991px) {
    /* Reorder columns: Map first, then list */
    .properties-map-page .row {
        display: flex;
        flex-direction: column;
    }
    
    .properties-map-page .map-column {
        order: 1;
        height: 60vh;
        min-height: 400px;
        position: relative;
    }
    
    .properties-map-page .properties-list-column {
        order: 2;
        padding-top: 20px;
    }
    
    /* Map wrapper fills the column */
    .properties-map-page .map-wrapper {
        height: 100%;
    }
    
    .properties-map-page #properties-map {
        height: 100% !important;
    }
    
    /* Hide old search on mobile - we'll use a simplified one */
    .properties-map-page .properties-search-wrapper {
        display: none;
    }
    
    /* Mobile search bar at top of map */
    .map-search-bar {
        display: flex;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        padding: 6px 6px 6px 15px;
        border-radius: 40px;
    }
    
    .map-search-fields {
        gap: 8px;
    }
    
    .map-search-field {
        padding: 6px 8px;
        min-width: 0;
    }
    
    .map-search-field:first-child {
        flex: 2;
    }
    
    .map-search-field:nth-child(2) {
        flex: 1;
        border-right: none;
    }
    
    .map-search-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .map-search-btn i + span,
    .map-search-btn span {
        display: none;
    }
    
    .map-filters-toggle {
        width: 38px;
        height: 38px;
    }
}

/* Mobile map/list toggle removed - behavior handled via per-card "See on map" buttons */

.search-field .input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.search-field .input-with-icon select,
.search-field .input-with-icon input {
    padding-left: 38px;
}

/* Search actions row */
.search-actions-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-actions-row .search-btn {
    flex: 1;
}

/* ==========================================================================
   ADVANCED FILTERS PANEL
   ========================================================================== */

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-group .input-with-icon {
    position: relative;
}

.filter-group .input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.filter-group .input-with-icon select,
.filter-group .input-with-icon input {
    padding-left: 38px;
    width: 100%;
}

/* Amenities checkboxes */
.amenities-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amenity-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.amenity-checkbox:hover {
    border-color: var(--primary-color);
}

.amenity-checkbox input:checked + .checkbox-custom + i,
.amenity-checkbox input:checked ~ span {
    color: var(--primary-color);
}

/* ==========================================================================
   NO PROPERTIES FOUND MESSAGE
   ========================================================================== */

.no-properties-found {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 20px 0;
}

.no-properties-found p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.no-properties-found .btn {
    margin-top: 10px;
}

/* ==========================================================================
   LOAD MORE BUTTON
   ========================================================================== */

#map-search-load-more-wrapper {
    text-align: center;
    padding: 30px 0;
}

#map-search-load-more {
    min-width: 200px;
}

#map-search-load-more .remaining-count {
    opacity: 0.8;
    font-weight: normal;
}

/* ==========================================================================
   PROPERTIES COUNT HEADER
   ========================================================================== */

.properties-count {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

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

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
    .property-card-meta .meta-item {
        font-size: 0.9rem;
    }
    
    .property-card-meta .meta-item i {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .property-card-meta .meta-item {
        font-size: 1rem;
        gap: 5px;
    }
    
    .property-card-meta .meta-item i {
        font-size: 1.1rem;
    }
    
    .property-card-meta {
        gap: 12px;
    }
    
    .similar-properties-separator {
        flex-direction: column;
        gap: 10px;
    }
    
    .similar-properties-separator .separator-line {
        width: 80%;
        height: 1px;
    }
    
    .similar-properties-separator .separator-text {
        font-size: 0.85rem;
        white-space: normal;
        padding: 10px 15px;
    }
    
    .search-actions-row {
        flex-direction: column;
    }
    
    .search-actions-row .search-btn {
        width: 100%;
    }
}

/* Small desktop / tablet landscape: stack meta under image or widen image */
@media (min-width: 768px) and (max-width: 1399px) {
    .properties-map-page .property-list-card .property-card-image {
        width: 100%;
        height: 220px;
    }
    .properties-map-page .property-list-card .property-card-content {
        padding: 16px 18px;
    }
    .properties-map-page .property-list-card .property-card-meta {
        flex-wrap: wrap;
        gap: 10px 16px;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* ==========================================================================
   SINGLE PROPERTY PAGE
   - Header & body fixes
   - Hero layout
   - Amenities, reviews, sleep rooms, similar properties
   ========================================================================== */

/* Single Property – Header padding & transparent header fix (v3.6.109)
   (moved from single-property.php <style id="single-property-header-fix">) */
html body,
html body.blog,
html body.custom-background,
html body.wp-custom-logo,
html body.single-property,
html body.transparent-header-page,
body.blog.custom-background.wp-custom-logo.single-property {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: unset !important;
}

.wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

header,
header.header-new,
.header-new {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

header.header-new .header-wrapper,

/* v3.9.x: Hero amenities (guests/bedrooms/bathrooms) – match All Properties card overlay */
/* removed old property-hero-meta override: using hero-overlay-meta instead */

header.header-new .container,
.header-new .header-wrapper,
.header-new .container {
    background: transparent !important;
}

header.header-new .header-menu li a,
header.header-new .header-navigation a,
.header-new .header-menu li a,
.header-new .header-navigation a {
    color: #fff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7), 0 0 8px rgba(0, 0, 0, 0.4) !important;
    font-weight: 600 !important;
}

header.header-new .header-logo img,
header.header-new .custom-logo,
.header-new .header-logo img,
.header-new .custom-logo {
    filter: brightness(0) invert(1) drop-shadow(1px 1px 3px rgba(0,0,0,0.5)) !important;
}

header.header-new .header-phone,
header.header-new .header-phone a,
header.header-new .header-phone i,
.header-new .header-phone,
.header-new .header-phone a,
.header-new .header-phone i {
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
}

header.header-new .mobile-toggle,
header.header-new .header-mobile-toggle,
.header-new .mobile-toggle,
.header-new .header-mobile-toggle {
    color: #fff !important;
}

section.property-detail,
.property-detail {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.property-hero,
section.property-hero,
.property-hero-media {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Single Property – Hero full viewport layout (v3.9.35) */
.property-hero,
section.property-hero,
.single-property .property-hero,
.property-hero-media {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.property-hero-media {
    height: calc(100vh - 140px) !important;
    max-height: 700px !important;
    min-height: 400px !important;
    overflow: hidden !important;
}

section.property-hero,
.property-hero {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.property-section-nav {
    margin-top: 0 !important;
    /* v3.9.93: Removed position:relative to allow sticky from earlier style block */
    background: #fff !important;
    border-bottom: 1px solid #e5e5e5 !important;
    z-index: 9999 !important;
}

/* Single Property – Hero overlay content (v3.9.33 / v3.9.128)
   Title, location and meta badges over hero image */
.hero-overlay-gradient {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60% !important;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%) !important;
    z-index: 5 !important;
    pointer-events: none !important;
}

.hero-overlay-content {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    z-index: 10 !important;
    color: #fff !important;
}

.hero-overlay-main {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.hero-overlay-title {
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 8px 0 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
}

.hero-overlay-location {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #fff !important;
    margin-bottom: 10px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
}

.hero-overlay-location i {
    color: var(--primary-color, #c8a35f) !important;
}

.hero-overlay-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.hero-overlay-meta span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    /* background: linear-gradient(135deg, rgba(200, 163, 95, 0.95) 0%, rgba(255, 255, 255, 0.15) 100%) !important; */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 25px !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(200, 163, 95, 0.3) !important;
    transition: all 0.3s ease !important;
}

@media (max-width: 767px) {
    .hero-overlay-meta span {
        font-size: 1.35rem !important; /* dodatnih ~20% veće */
    }
    .hero-overlay-meta span i {
        font-size: 1.5rem !important;  /* ikone proporcionalno veće */
    }
}

.hero-overlay-meta span:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(200, 163, 95, 0.4) !important;
}

.hero-overlay-meta span i {
    color: #fff !important;
    font-size: 1rem !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

@media (max-width: 991px) {
    .hero-overlay-content {
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;
    }
}

.property-hero-slider {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.property-hero-slider .hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease !important;
}

.property-hero-slider .hero-slide.active {
    opacity: 1 !important;
}

.property-hero-slider .hero-slide picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Fix: Always show hero slides (avoid white screen on second slide) */
.hero-slider .hero-slide {
.property-extra-fees {
    margin-top: 32px;
}

.property-extra-fees .extra-fees-list {
    list-style: none;
    margin: 16px 0 0 0;
    padding: 0;
}

.property-extra-fees .extra-fees-list li {
    margin-bottom: 8px;
}

.property-extra-fees .extra-fee-line {
    font-size: 0.95rem;
    color: #4a5568;
}

.property-extra-fees .extra-fee-line strong {
    font-weight: 600;
}


    display: block !important;
}

/* Single Property – Reviews carousel (v3.7.49) */
.property-reviews {
    margin: 40px 0;
}

.property-reviews h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.reviews-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.property-reviews .reviews-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--primary-color, #c8a35f);
    color: var(--primary-color, #c8a35f);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.property-reviews .reviews-nav-btn:hover {
    background: var(--primary-color, #c8a35f);
    color: #ffffff;
    transform: scale(1.05);
}

.property-reviews .reviews-nav-btn i {
    font-size: 1.1em;
}

.reviews-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap; /* horizontal flow */
}

.review-slide {
    display: inline-block;
    vertical-align: top;
    width: 50%; /* 2 per row on desktop */
    box-sizing: border-box;
    padding: 26px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    white-space: normal; /* allow text wrapping inside */
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-score {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: 600;
}

.review-score .score-number {
    font-size: 2rem;
    margin-right: 6px;
}

.review-score .score-percent {
    font-size: 0.95rem;
    color: #666;
}

.review-meta {
    flex: 1;
    margin-left: 15px;
}

.review-headline {
    margin: 0 0 7px 0;
    font-size: 1.1rem;
}

.review-author {
    font-size: 0.9rem;
    color: #666;
}

.review-portal {
    margin-top: 6px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
}

.review-portal.portal-booking {
    background: #003580;
    color: #fff;
}

.review-portal.portal-airbnb {
    background: #ff5a5f;
    color: #fff;
}

.review-portal.portal-generic {
    background: #f1f1f1;
    color: #333;
}

.review-body {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        gap: 8px;
    }

    /* On mobile show 1 review per view */
    .review-slide {
        width: 100%;
        padding: 15px;
    }
}

/* Single Property – Sleep rooms carousel (v3.9.114) */
.sleep-section {
    margin: 30px 0 !important;
}

.sleep-section h3 {
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
}

.sleep-rooms-wrapper {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

.sleep-rooms-container {
    overflow: hidden !important;
    flex: 1 !important;
    width: calc(100% - 100px) !important;
}

.sleep-rooms-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    transition: transform 0.3s ease !important;
}

.sleep-room-card {
    flex: 0 0 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    text-align: center !important;
    border: 1px solid rgba(200, 163, 95, 0.15) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
}

.sleep-room-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(200, 163, 95, 0.12) !important;
    border-color: rgba(200, 163, 95, 0.25) !important;
}

.sleep-room-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    background: rgba(200, 163, 95, 0.08) !important;
    border-radius: 50% !important;
    margin-bottom: 12px !important;
}

.sleep-room-icon i {
    font-size: 1.6rem !important;
    color: var(--primary-color, #c8a35f) !important;
}

.sleep-room-info h4 {
    font-size: 0.95rem !important;
    margin-bottom: 4px !important;
    color: var(--primary-color, #c8a35f) !important;
    font-weight: 600 !important;
}

.sleep-room-info p {
    font-size: 0.8rem !important;
    color: #888 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.sleep-nav-btn {
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

/* Single Property – Similar properties carousel (v3.7.49) */
.similar-properties-section {
    padding: 60px 0;
    background: #f8f9fa;
    margin-top: 40px;
}

.similar-properties-section .section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.similar-properties-section .section-header h2 {
    font-size: 2em;
    color: var(--secondary-color, #2c3e50);
    margin-bottom: 8px;
    font-family: var(--heading-font);
}

.similar-properties-section .section-header p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 20px;
}

.similar-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.similar-carousel-nav button {
    margin: 0 4px;
}

.similar-property-card {
    margin: 10px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.similar-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.similar-property-card .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.similar-property-card .card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.similar-property-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-property-card:hover .card-image img {
    transform: scale(1.05);
}

.similar-property-card .no-image {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 3em;
}

.similar-property-card .card-content {
    padding: 20px;
}

.similar-property-card .card-content h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--secondary-color, #2c3e50);
    margin: 0 0 12px;
}


/* ==========================================================================
   LEAFLET MAP MARKERS
   ========================================================================== */

/* Marker Bounce Animation */
@keyframes leafletMarkerBounce {
    0%, 100% { transform: translateY(0); }
    15% { transform: translateY(-25px); }
    30% { transform: translateY(0); }
    45% { transform: translateY(-18px); }
    60% { transform: translateY(0); }
    75% { transform: translateY(-10px); }
    90% { transform: translateY(0); }
}

.leaflet-marker-bounce {
    animation: leafletMarkerBounce 1s ease-out;
}

.leaflet-marker-highlighted {
    z-index: 10000;
}

/* Highlighted markers turn RED */
.leaflet-marker-highlighted .pin-marker-content,
.leaflet-marker-highlighted .price-marker-content {
    transform: scale(1.3);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.leaflet-marker-highlighted .pin-marker-content::after {
    border-top-color: #dc3545;
}

/* Pin marker default style */
.leaflet-pin-marker .pin-marker-content {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.leaflet-pin-marker .pin-marker-content i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 14px;
}

/* Price marker default style */
.leaflet-price-marker .price-marker-content {
    background-color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    color: var(--primary-color);
}

/* Highlighted price marker - RED background */
.leaflet-marker-highlighted .price-marker-content {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* Pulse effect for highlighted markers */
@keyframes markerPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.leaflet-marker-highlighted .pin-marker-content,
.leaflet-marker-highlighted .price-marker-content {
    animation: markerPulse 1s ease-out;
}

/* ==========================================================================
   FAVORITES SYSTEM
   ========================================================================== */

/* Favorite button positioning */
.property-list-card {
    position: relative;
}

.properties-list-single-column .property-list-card {
    margin: 10px;
}


.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 100;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.property-card-map-pin {
    position: absolute;
    top: 12px;
    right: 56px;
    z-index: 99;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.property-card-map-pin i {
    font-size: 17px;
    color: #fff;
}

.property-card-map-pin:hover {
    background: rgba(0, 0, 0, 0.75);
    box-shadow: var(--shadow-md);
}

.favorite-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.favorite-btn i {
    font-size: 18px;
    color: #999;
    transition: all var(--transition-fast);
}

.favorite-btn:hover i {
    color: #dc3545;
}

/* Active/Favorite state */
.favorite-btn.is-favorite {
    background: #dc3545;
}

.favorite-btn.is-favorite i {
    color: #fff;
}

.favorite-btn.is-favorite:hover {
    background: #c82333;
}

.favorite-btn.is-favorite:hover i {
    color: #fff;
}

/* Heart fill animation */
@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.favorite-btn.animate i {
    animation: heartBeat 0.6s ease-out;
}

/* Favorite marker on map - RED */
.leaflet-marker-favorite .pin-marker-content,
.leaflet-marker-favorite .price-marker-content {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.leaflet-marker-favorite .pin-marker-content::after {
    border-top-color: #dc3545;
}

/* Card style when favorited */
.property-list-card.is-favorite {
    box-shadow: 0 0 0 2px #dc3545, 0 4px 15px rgba(220, 53, 69, 0.2);
}


/* Mobile: map cards use only image + overlay; no extra button under card */
@media (max-width: 991px) {
    .properties-map-page .property-list-card.map-list-card {
        padding-bottom: 0;
    }
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   - Featured properties grid
   - Homepage guest reviews
   - Blog carousel layout helpers
   ========================================================================== */

/* Homepage – Featured Properties Grid (v3.7.40) */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* First 2 cards span 2 columns */
.featured-card-large {
    grid-column: span 2;
}

.featured-card {
    display: block;
    text-decoration: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-card-image {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
}

.featured-card-large .featured-card-image {
    height: 400px;
}

.featured-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color, #c8a35f);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.featured-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 80px 20px 20px;
    z-index: 1;
}

.featured-card-content {
    color: #fff;
}

.featured-card-title {
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
    font-family: var(--heading-font);
}

.featured-card-large .featured-card-title {
    font-size: 1.6em;
}

.featured-card-location {
    font-size: 0.9em;
    margin: 0 0 12px;
    opacity: 0.9;
    color: #fff;
}

.featured-card-location i {
    margin-right: 5px;
    color: var(--primary-color, #c8a35f);
}

.featured-card-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.featured-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-card-price {
    font-size: 1em;
}

.featured-card-price .price-amount {
    font-weight: 700;
    font-size: 1.1em;
}

.featured-card-price .price-period {
    opacity: 0.85;
}

@media (max-width: 1199px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card-large {
        grid-column: span 2;
    }
}

@media (max-width: 575px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-card-large {
        grid-column: span 1;
    }
}

/* Homepage – Guest Reviews Section */
.home-reviews-section {
    background: #f8f9fb;
}

.home-reviews-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-reviews-track {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
}

.home-review-card {
    display: flex;
    flex: 0 0 50%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 16px;
    padding: 30px 30px;
    margin: 0 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    flex-direction: column;
    height: 100%;
}

.home-review-header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.home-review-score {
    min-width: 78px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: 600;
}

.home-review-score .score-number {
    font-size: 2.1rem;
    margin-right: 6px;
    line-height: 1;
}

.home-review-score .score-max {
    font-size: 0.95rem;
    color: #777;
}

.home-review-score .score-percent {
    font-size: 0.9rem;
    color: #555;
    margin-top: 4px;
}

.home-review-meta {
    flex: 1;
    min-width: 0;
}

.home-review-headline {
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    color: var(--secondary-color, #2c3e50);
}

.home-review-property {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
}

.home-review-property a {
    color: var(--primary-color, #c8a35f);
    text-decoration: none;
    font-weight: 600;
}

.home-review-property a:hover {
    text-decoration: underline;
}

.home-review-details {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 6px 0;
}

.home-review-details span {
    margin-right: 8px;
}

.home-review-portal {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 4px;
}

.home-review-portal.portal-booking {
    background: #003580;
    color: #fff;
}

.home-review-portal.portal-airbnb {
    background: #ff5a5f;
    color: #fff;
}

.home-review-portal.portal-generic {
    background: #f1f1f1;
    color: #333;
}

.home-review-body {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .home-review-card {
        flex: 0 0 100%;
        margin: 0 8px;
        padding: 20px 20px;
    }
}

/* Homepage – Blog Carousel layout helpers (v3.7.29+) */
.blog-carousel-section .blog-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.blog-carousel-section .blog-carousel .owl-wrapper-outer {
    overflow: visible !important;
}

.blog-carousel-section .blog-carousel .owl-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

.blog-carousel-section .blog-carousel .owl-item {
    display: flex !important;
    height: auto !important;
    float: none !important;
}

.blog-carousel-section .blog-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}

.blog-carousel-section .blog-card-image {
    flex-shrink: 0 !important;
}

.blog-carousel-section .blog-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: auto !important;
}

.blog-carousel-section .blog-card-content h3 {
    flex-shrink: 0 !important;
}

.blog-carousel-section .blog-card-content .blog-excerpt {
    flex: 1 1 auto !important;
}

.blog-carousel-section .blog-card-content .btn-read-more {
    flex-shrink: 0 !important;
    margin-top: auto !important;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card h3 a:hover {
    color: var(--primary-color) !important;
}

.blog-carousel-nav button:hover {
    background: var(--secondary-color) !important;
    transform: scale(1.1);
}

.blog-carousel-section .owl-nav,
.blog-carousel-section .owl-controls .owl-buttons {
    display: none !important;
}

.blog-carousel-section .owl-dots,
.blog-carousel-section .owl-pagination {
    text-align: center;
    margin-top: 20px;
}

.blog-carousel-section .owl-dots .owl-dot,
.blog-carousel-section .owl-pagination .owl-page span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}


/* ==========================================================================
   HOMEPAGE LAYOUT & TYPOGRAPHY
   - Page content section
   - Featured properties, features, about
   - Home reviews header & blog carousel
   ========================================================================== */

.page-content-section {
    padding: 60px 0;
    background: #fff;
}

.featured-properties-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-section {
    padding: 80px 0;
    background: #fff;
}

.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title,
.section-header {
    margin-bottom: 50px;
}

.section-title h2,
.section-header h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: var(--heading-font);
}

.section-title p,
.section-header p {
    font-size: 1.2em;
    color: #666;
    font-family: var(--body-font);
}

.about-section .about-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item .feature-icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
}

/* Home reviews header overrides */
.home-reviews-section {
    padding: 10px 0;
    background: #ffffff;
}

.home-reviews-section .section-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.home-reviews-section .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color, #2c3e50);
}

.home-reviews-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Blog carousel section */
.blog-carousel-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-carousel-section .section-header {
    margin-bottom: 30px;
}

.blog-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.blog-nav-prev,
.blog-nav-next {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #999;
    font-family: var(--body-font);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-card h3 {
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.blog-card h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.4em;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: var(--body-font);
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--body-font);
    transition: all 0.3s ease;
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* ==========================================================================
   PROPERTIES MAP PAGE
   - Header & breadcrumbs
   - Category filter buttons
   - Infinity scroll & empty states
   - Map error state
   ========================================================================== */

.properties-map-page .properties-header {
    margin-top: 20px;
}

.properties-map-page .category-breadcrumb {
    margin-bottom: 10px;
}

.properties-map-page .category-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9em;
}

.properties-map-page .category-breadcrumb a i {
    margin-right: 5px;
}

.category-filter-buttons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-btn {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.category-btn.active {
    background: var(--primary-color);
    color: #fff;
}

/* Infinity scroll loader & messages */
#infinity-scroll-loader {
    display: none;
    text-align: center;
    padding: 40px 0;
}

#infinity-scroll-loader i {
    color: var(--primary-color);
}

#infinity-scroll-loader p {
    margin-top: 10px;
    color: #666;
}

#infinity-scroll-sentinel {
    height: 1px;
}

#all-loaded-message {
    display: none;
    text-align: center;
    padding: 30px 0;
    color: #999;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

#all-loaded-message i {
    font-size: 1.5em;
    margin-bottom: 10px;
    display: block;
    color: var(--primary-color);
}

/* No properties available (map or API issue) */
.properties-map-page .no-properties-found-inner {
    text-align: center;
    padding: 60px 20px;
}

.properties-map-page .no-properties-found-inner i {
    font-size: 4em;
    color: #ccc;
    margin-bottom: 20px;
}

/* Map error state */
.map-error-icon {
    font-size: 3em;
    color: #ccc;
    margin-bottom: 20px;
}

/* ==========================================================================
   v4.2.0: GLOBAL CLEAR BUTTON FIX
   Fixed visibility - dark text on light background
   ========================================================================== */

.modal-actions .btn-clear,
.btn-clear {
    background: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    transition: all 0.2s ease;
}

.modal-actions .btn-clear:hover,
.btn-clear:hover {
    background: #e9ecef !important;
    color: #333 !important;
    border-color: #ccc !important;
}

