/* REM Luxury Light - base luxury light theme styles */

/* Global layout */
body.rl-luxury-light {
    background-color: #ffffff;
    color: var(--text-color);
}

.rl-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--main-header-background-color);
    border-bottom: 1px solid var(--main-header-border-color);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.rl-header-inner {
    padding: 18px 40px;
    gap: 40px;
}

.rl-logo-link img {
    display: block;
}

.rl-navigation > li {
    margin: 0 16px;
    position: relative;
}

.rl-navigation > li > a {
    position: relative;
    padding: 4px 0;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--main-header-text-color);
}

.rl-navigation > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #000000);
    transition: width 0.25s ease;
}

.rl-navigation > li:hover > a::before,
.rl-navigation > li.current > a::before {
    width: 100%;
}

.rl-navigation > li:hover > a,
.rl-navigation > li.current > a {
    color: var(--hover-color);
}

.rl-header-right {
    gap: 20px;
}

/* Mobile menu */
.rl-mobile-toggle {
    color: var(--main-header-text-color);
}

.mobile-menu .menu-box {
    right: 0;
    left: auto;
    max-width: 340px;
    box-shadow: -20px 0 40px rgba(15, 23, 42, 0.15);
}

.mobile-menu .nav-logo a {
    padding: 20px 24px 10px;
}

.mobile-menu .bottom-canvas {
    padding: 0 24px 24px;
}

/* Luxury hero & sections */
.rl-hero {
    position: relative;
    padding: 120px 0 80px;
    background-color: #ffffff;
}

.rl-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.rl-hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 10px;
}

.rl-hero-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #111111;
}

.rl-hero-subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    max-width: 460px;
    margin-bottom: 24px;
}

.rl-hero-search {
    background-color: #ffffff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 8px;
    align-items: center;
}

.rl-hero-search-field {
    flex: 1 1 auto;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    padding: 12px 18px;
    font-size: 14px;
}

.rl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 999px;
    border: 1px solid #111111;
    background-color: #111111;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.2s ease;
}

.rl-btn:hover {
    background-color: transparent;
    color: #111111;
}

.rl-btn-outline {
    background-color: transparent;
    color: #111111;
}

.rl-btn-outline:hover {
    background-color: #111111;
    color: #ffffff;
}

.rl-hero-figure {
    position: relative;
}

.rl-hero-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.rl-hero-card img {
    display: block;
    width: 100%;
    height: auto;
}

.rl-hero-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 12px 18px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.rl-hero-badge span {
    color: var(--primary-color);
}

/* Section shells */
.rl-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.rl-section-muted {
    background-color: #faf7f2;
}

.rl-section-header {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.rl-section-eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #777777;
    margin-bottom: 6px;
}

.rl-section-title {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-size: 30px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111111;
}

.rl-section-subtitle {
    font-size: 14px;
    color: #666666;
}

/* Luxury cards */
.rl-card-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.rl-card {
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.30);
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rl-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.10);
    border-color: rgba(15, 23, 42, 0.24);
}

.rl-card-media img {
    width: 100%;
    display: block;
}

.rl-card-body {
    padding: 18px 20px 20px;
}

.rl-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.rl-card-meta {
    font-size: 13px;
    color: #777777;
}

/* Why choose us */
.rl-why-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.rl-why-item {
    padding: 22px 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background-color: #ffffff;
}

.rl-why-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.rl-why-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.rl-why-text {
    font-size: 13px;
    color: #666666;
}

/* Testimonials & blog shells just tighten spacing; slider logic stays from core JS */
.rl-slider-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   DEBUG: Light Theme CSS Loading Test
   UPDATED: 2024-11-27 17:45:00 UTC
   ========================================== */
body {
    --light-theme-loaded: true;
}

/* CRITICAL CSS RESET - FORCE LIGHT THEME */
html body .homeya-box,
html body .project-item,
html body .property-item,
html body .offplan-card,
html body div[class*="project"],
html body div[class*="property"],
html body .item-grid,
html body .property-grid-item,
html body .project-grid-item,
html body [class*="homeya"],
html .homeya-box,
html .project-item,
html .property-item,
html .offplan-card,
html div[class*="project"],
html div[class*="property"],
html .item-grid,
html .property-grid-item,
html .project-grid-item,
html [class*="homeya"] {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
}

body::before {
    content: "REM Luxury Light Theme CSS Loaded - Updated 17:45";
    position: fixed;
    top: 0;
    right: 0;
    background: #ff6b35;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 9999;
    display: none; /* Hidden by default, can be shown for debugging */
}

/* ==========================================
   SUPER CRITICAL: Force Light Theme on All Cards
   Maximum Specificity Override
   ========================================== */

/* Target the exact card structure from the screenshot */
.col .offplan-card,
div.col .offplan-card,
.row .col .offplan-card,
div.row div.col .offplan-card {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    color: #1a1a1a !important;
}

.col .offplan-card .offplan-body,
div.col .offplan-card .offplan-body,
.row .col .offplan-card .offplan-body {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

.col .offplan-card .offplan-title a,
div.col .offplan-card .offplan-title a {
    color: #1a1a1a !important;
    font-size: 20px !important;
    font-weight: 600 !important;
}

.col .offplan-card .offplan-title a:hover,
div.col .offplan-card .offplan-title a:hover {
    color: #ff6b35 !important;
}

.col .offplan-card .offplan-location,
div.col .offplan-card .offplan-location {
    color: #666666 !important;
}

.col .offplan-card .offplan-col-label,
div.col .offplan-card .offplan-col-label {
    color: #999999 !important;
}

.col .offplan-card .offplan-col-value,
div.col .offplan-card .offplan-col-value {
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

.col .offplan-card .offplan-developer-label,
div.col .offplan-card .offplan-developer-label {
    color: #999999 !important;
}

.col .offplan-card .offplan-developer-name,
div.col .offplan-card .offplan-developer-name {
    color: #1a1a1a !important;
}

/* ==========================================
   CRITICAL: Light Theme Override - MAXIMUM PRIORITY
   Must Override ALL Other Styles Including Inline Styles
   ========================================== */

/* Universal reset for all project/property containers */
body .homeya-box,
body .project-item,
body .property-item,
body .offplan-card,
body div[class*="project"],
body div[class*="property"],
body .item-grid,
body .property-grid-item,
body .project-grid-item,
body [class*="homeya"] {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
}

/* Content areas */
body .homeya-box .content,
body .project-item .content,
body .property-item .content,
body .offplan-card .offplan-body {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    padding: 20px !important;
}

/* All text elements */
body .homeya-box .content .link,
body .homeya-box .content h3,
body .homeya-box .content h4,
body .homeya-box .content h5,
body .homeya-box .content h6,
body .project-item .content .link,
body .property-item .content .link,
body .offplan-card .offplan-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

/* Hover states */
body .homeya-box .content .link:hover,
body .project-item .content .link:hover,
body .property-item .content .link:hover,
body .offplan-card .offplan-title a:hover {
    color: #ff6b35 !important;
}

/* Description text */
body .homeya-box .content .desc,
body .homeya-box .content p,
body .project-item .content .desc,
body .property-item .content .desc,
body .offplan-card .offplan-location {
    color: #666666 !important;
}

/* Badge styling */
body .flag-tag,
body .offplan-badge {
    border-radius: 0 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
}

body .flag-tag.success,
body .offplan-badge.featured {
    background-color: #ff6b35 !important;
    color: #ffffff !important;
}

body .flag-tag.style-2,
body .offplan-badge.for-sale {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

body .flag-tag.hot,
body .offplan-badge.hot {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

body .flag-tag.payment-plan,
body .offplan-badge.payment-plan {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

/* Heart/favorite icons */
body .box-icon,
body .offplan-favorite {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    color: #666666 !important;
}

body .box-icon:hover,
body .offplan-favorite:hover {
    background: #ffffff !important;
    color: #ff6b35 !important;
}

/* Images */
body .homeya-box .images-style img,
body .project-item .images-style img,
body .property-item .images-style img,
body .offplan-card .offplan-image-wrapper img {
    border-radius: 0 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

/* Separators and borders */
body .homeya-box .content .seperater-span,
body .project-item .content .seperater-span,
body .property-item .content .seperater-span {
    background-color: #e5e5e5 !important;
}

/* Price and meta information */
body .homeya-box .content .price,
body .homeya-box .content .price-wrap,
body .project-item .content .price,
body .property-item .content .price,
body .offplan-card .offplan-col-value {
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

/* Labels */
body .homeya-box .content .price-wrap .price-label,
body .project-item .content .price-label,
body .property-item .content .price-label,
body .offplan-card .offplan-col-label {
    color: #999999 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
}

/* ==========================================
   CRITICAL: Light Theme Off-plan Cards Override
   High Priority - Must Override All Other Styles
   ========================================== */

/* Force reset any inherited dark theme styles */
* {
    box-sizing: border-box;
}

/* Universal project card styling */
.project-item,
.property-item,
.offplan-card,
div[class*="project"],
div[class*="property"],
.item-grid,
.property-grid-item,
.project-grid-item {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
}

/* ==========================================
   TRENDING PROJECTS CARDS - EXACT REFERENCE MATCH
   Based on user's reference image with badges at top
   ========================================== */

/* High priority selectors for AJAX loaded content */
.tab-pane .luxury-project-card,
.swiper-slide .luxury-project-card,
div[data-bb-toggle="properties-tab-slot"] .luxury-project-card,
.luxury-project-card {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    border: none !important;
}

.tab-pane .luxury-project-card:hover,
.swiper-slide .luxury-project-card:hover,
div[data-bb-toggle="properties-tab-slot"] .luxury-project-card:hover,
.luxury-project-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.tab-pane .luxury-card-image,
.swiper-slide .luxury-card-image,
div[data-bb-toggle="properties-tab-slot"] .luxury-card-image,
.luxury-card-image {
    position: relative !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border-radius: 8px 8px 0 0 !important;
    aspect-ratio: 16 / 10 !important;
}

.luxury-card-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.luxury-card-image img,
.luxury-card-image a img,
.luxury-card-image > img {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

.luxury-project-card:hover .luxury-card-image img {
    transform: scale(1.02) !important;
}

.luxury-badges {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    z-index: 10 !important;
    max-width: calc(100% - 24px) !important;
}

.luxury-badge {
    padding: 5px 12px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 2px !important;
    color: #ffffff !important;
    border: none !important;
    display: inline-block !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.luxury-badge-featured {
    background-color: #ff6b35 !important;
}

.luxury-badge-sale {
    background-color: #000000 !important;
}

.luxury-badge-payment {
    background-color: #000000 !important;
}

.luxury-badge-hot {
    background-color: #000000 !important;
}

.luxury-card-content {
    padding: 20px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    position: relative !important;
    gap: 10px !important;
}

.luxury-project-title {
    margin: 0 !important;
    padding: 0 !important;
    order: 1 !important;
}

.luxury-project-title a {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #d4a574 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    display: block !important;
    transition: color 0.3s ease !important;
}

.luxury-project-title a:hover {
    color: #c8965a !important;
}

.luxury-project-location {
    color: #666666 !important;
    font-size: 14px !important;
    margin: 0 !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    order: 2 !important;
}

.luxury-price-section {
    margin-top: auto !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    order: 3 !important;
    padding-top: 8px !important;
}

.luxury-price-label {
    font-size: 12px !important;
    color: #888888 !important;
    font-weight: 400 !important;
}

.luxury-price-amount {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
}

/* Remove bottom badge - not in reference */
.luxury-bottom-badge {
    display: none !important;
}

.luxury-sale-badge {
    display: none !important;
}

/* Grid Layout for NR Luxury Cards */
.row .col {
    margin-bottom: 24px !important;
}

/* Ensure all card images are equal size in grid and full width */
.row .col .luxury-project-card,
.col .luxury-project-card,
[class*="col-"] .luxury-project-card {
    width: 100% !important;
}

.row .col .luxury-card-image,
.col .luxury-card-image,
[class*="col-"] .luxury-card-image {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
}

.row .col .luxury-card-image a,
.col .luxury-card-image a,
[class*="col-"] .luxury-card-image a {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.row .col .luxury-card-image img,
.col .luxury-card-image img,
[class*="col-"] .luxury-card-image img {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 260px !important;
    max-height: 260px !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Ensure consistent card heights in grid */
.luxury-project-card {
    min-height: 360px !important;
}

/* Badge positioning adjustments */
.luxury-badges .luxury-badge:first-child {
    margin-left: 0 !important;
}

/* HOT badge styling - smaller and positioned below FEATURED */
.luxury-badge-hot {
    font-size: 9px !important;
    padding: 4px 8px !important;
}

/* Price section inline layout */
.luxury-price-section {
    display: block !important;
    white-space: nowrap !important;
}

.luxury-price-label,
.luxury-price-amount {
    vertical-align: baseline !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .luxury-card-image {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .luxury-card-image img,
    .luxury-card-image a img,
    .luxury-card-image > img {
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .luxury-card-content {
        padding: 16px !important;
    }
    
    .luxury-project-title a {
        font-size: 16px !important;
    }
    
    .luxury-project-location {
        font-size: 13px !important;
    }
    
    .luxury-badges {
        top: 10px !important;
        left: 10px !important;
        gap: 5px !important;
    }
    
    .luxury-badge {
        font-size: 9px !important;
        padding: 4px 8px !important;
    }
    
    .luxury-badge-hot {
        font-size: 8px !important;
        padding: 3px 6px !important;
    }
    
    .luxury-price-label {
        font-size: 12px !important;
    }
    
    .luxury-price-amount {
        font-size: 18px !important;
    }
    
    .luxury-project-card {
        min-height: 320px !important;
    }
    
    .luxury-sale-badge {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .luxury-card-image {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }
    
    .luxury-card-image img,
    .luxury-card-image a img,
    .luxury-card-image > img {
        min-height: 160px !important;
        max-height: 160px !important;
    }
    
    .luxury-project-card {
        min-height: 300px !important;
    }
    
    .luxury-card-content {
        padding: 14px !important;
    }
}

/* Legacy offplan card support - redirect to new design */
.offplan-card,
div.offplan-card {
    background-color: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.offplan-card:hover,
div.offplan-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

.offplan-card .offplan-image-wrapper,
div.offplan-card .offplan-image-wrapper {
    position: relative !important;
    height: 260px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.offplan-card .offplan-image-wrapper img,
div.offplan-card .offplan-image-wrapper img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

.offplan-card .offplan-image-wrapper a,
div.offplan-card .offplan-image-wrapper a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.offplan-card .offplan-badges,
div.offplan-card .offplan-badges {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 10 !important;
}

.offplan-card .offplan-badge,
div.offplan-card .offplan-badge {
    padding: 6px 14px !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    display: block !important;
    border: none !important;
}

.offplan-card .offplan-badge.featured,
div.offplan-card .offplan-badge.featured {
    background-color: #ff6b35 !important;
    color: #ffffff !important;
}

.offplan-card .offplan-badge.for-sale,
div.offplan-card .offplan-badge.for-sale {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.offplan-card .offplan-badge.hot,
div.offplan-card .offplan-badge.hot {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

.offplan-card .offplan-badge.payment-plan,
div.offplan-card .offplan-badge.payment-plan {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

.offplan-card .offplan-badge.secondary,
div.offplan-card .offplan-badge.secondary {
    background-color: #059669 !important;
    color: #ffffff !important;
}

.offplan-card .offplan-favorite,
div.offplan-card .offplan-favorite {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

.offplan-card .offplan-favorite:hover,
div.offplan-card .offplan-favorite:hover {
    background: #ffffff !important;
    color: #ff6b35 !important;
}

.offplan-card .offplan-favorite svg,
div.offplan-card .offplan-favorite svg {
    width: 18px !important;
    height: 18px !important;
    color: #666666 !important;
}

.offplan-card .offplan-favorite:hover svg,
div.offplan-card .offplan-favorite:hover svg {
    color: #ff6b35 !important;
}

.offplan-card .offplan-body,
div.offplan-card .offplan-body {
    padding: 24px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
}

.offplan-card .offplan-title,
div.offplan-card .offplan-title {
    margin-bottom: 12px !important;
}

.offplan-card .offplan-title a,
div.offplan-card .offplan-title a {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    display: block !important;
}

.offplan-card .offplan-title a:hover,
div.offplan-card .offplan-title a:hover {
    color: #ff6b35 !important;
}

.offplan-card .offplan-location,
div.offplan-card .offplan-location {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    color: #666666 !important;
    font-size: 14px !important;
}

.offplan-card .offplan-location svg,
div.offplan-card .offplan-location svg {
    width: 16px !important;
    height: 16px !important;
    color: #999999 !important;
}

.offplan-card .offplan-location::before,
div.offplan-card .offplan-location::before {
    display: none !important;
}

.offplan-card .offplan-location img,
div.offplan-card .offplan-location img {
    display: block !important;
    max-width: 16px !important;
    height: 16px !important;
}

.offplan-card .offplan-row,
div.offplan-card .offplan-row {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    padding: 20px 0 !important;
    border-top: 1px solid #e5e5e5 !important;
    margin-top: auto !important;
}

.offplan-card .offplan-col,
div.offplan-card .offplan-col {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.offplan-card .offplan-col-label,
div.offplan-card .offplan-col-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #999999 !important;
}

.offplan-card .offplan-col-value,
div.offplan-card .offplan-col-value {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

.offplan-card .offplan-developer,
div.offplan-card .offplan-developer {
    padding-top: 16px !important;
    border-top: 1px solid #e5e5e5 !important;
    margin-top: 16px !important;
}

.offplan-card .offplan-developer-label,
div.offplan-card .offplan-developer-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #999999 !important;
    margin-bottom: 6px !important;
}

.offplan-card .offplan-developer-name,
div.offplan-card .offplan-developer-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
}

/* Responsive */
@media (max-width: 768px) {
    .offplan-card .offplan-image-wrapper {
        height: 200px;
    }
    
    .offplan-card .offplan-image-wrapper img {
        height: 200px;
    }
    
    .offplan-card .offplan-body {
        padding: 16px !important;
    }
    
    .offplan-card .offplan-title a {
        font-size: 18px !important;
    }
    
    .offplan-card .offplan-row {
        gap: 12px;
    }
}

@media (max-width: 991.98px) {
    .rl-header-inner {
        padding-inline: 20px;
    }

    .rl-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        padding-inline: 20px;
    }

    .rl-section-header,
    .rl-card-grid,
    .rl-why-grid,
    .rl-slider-shell {
        padding-inline: 20px;
    }
}

@media (max-width: 575.98px) {
    .rl-header-inner {
        padding-inline: 16px;
    }

    .rl-hero {
        padding: 96px 0 60px;
    }

    .rl-hero-title {
        font-size: 32px;
    }
}


