:root {
    --primary-color: #ff6600;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.logo {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo img {
    width: 60px;
    height: auto;
}

.location-selector {
    background: #fff5f0;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-dark);
}

.search-box {
    flex: 1;
    max-width: 745px;
}

.search-box input {
    border: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
}

.category-section {
    background: white;
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    margin-top: 30px;
}

.category-item {
    text-align: center;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.category-item:hover {
    background: #f9f9f9;
}

.category-icon {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.category-label {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.filter-tabs {
    background: white;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs .nav-link {
    color: var(--text-dark);
    border-bottom: 3px solid transparent;
    padding: 0.5rem 1.5rem;
}

.filter-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.sort-dropdown {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (min-width: 1024px) {
    .property-card-list > .col-md-4{
        flex: 0 0 auto;
        width: 100%;
    }
    .property-card-list .property-card{
        display: flex;
    }
    .property-card-list .property-card .property-image {
        width: 200px;
        height: 200px;
    }
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.image-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.favorite-btn:hover {
    background: #f5f5f5;
}

.property-content {
    padding: 1rem;
}

.property-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.property-title a{
    text-decoration: none;
    color: var(--text-dark);
}

.property-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.meta-badge {
    background: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.property-price {
    color: #e53935;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.price-per-sqm {
    color: var(--text-light);
    font-size: 0.85rem;
}

.property-details {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.sidebar .widget{
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 20px;
}

.widget .sidebar-title {
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    font-size: 16px;
}

.widget .sidebar-title a{
    color: inherit;
    text-decoration: none;
}

.widget .sidebar-title.is_hide a i:before{
    content: "\f282";
}

.location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-list li {
    padding: 0;
    cursor: pointer;
    transition: color 0.3s;
    margin-bottom: 10px;
}

.location-list li a{
    color: var(--text-dark);
    text-decoration: none;
}

.location-list li a:hover {
    color: var(--primary-color);
}

.icon-building { content: "🏢"; }
.icon-house { content: "🏠"; }
.icon-land { content: "📋"; }
.icon-store { content: "🏪"; }

.single-real-estate .image-gallery {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.single-real-estate .main-image {
    position: relative;
    height: 500px;
    background: #000;
}
.single-real-estate .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.single-real-estate .image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.single-real-estate .image-nav.prev {
    left: 20px;
}
.single-real-estate .image-nav.next {
    right: 20px;
}
.single-real-estate .image-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}
.single-real-estate .thumbnail-gallery {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background: white;
}
.single-real-estate .thumbnail {
    width: 100px;
    height: 75px;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
}
.single-real-estate .thumbnail.active {
    border-color: var(--primary-color);
}
.single-real-estate .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}
.single-real-estate .property-header {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.single-real-estate .property-single-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.single-real-estate .property-price {
    font-size: 2rem;
    color: #e53935;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.single-real-estate .property-address {
    color: var(--text-light);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.single-real-estate .property-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.single-real-estate .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.single-real-estate .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}
.single-real-estate .stat-value {
    font-weight: 600;
    color: var(--text-dark);
}
.single-real-estate .info-section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.single-real-estate .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}
.single-real-estate .info-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 5px;
}
.single-real-estate .info-item {
    display: flex;
    justify-content: start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
}
.single-real-estate .info-label {
    color: var(--text-light);
    font-weight: 500;
    width: 40%;
}
.single-real-estate .info-value {
    color: var(--text-dark);
    font-weight: 600;
    width: 60%;
}
.single-real-estate .description {
    line-height: 1.8;
    color: var(--text-dark);
    white-space: pre-line;
}
.single-real-estate .contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}
.single-real-estate .seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.single-real-estate .seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}
.single-real-estate .seller-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.single-real-estate .seller-type {
    color: var(--text-light);
    font-size: 0.9rem;
}
.single-real-estate .contact-btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.single-real-estate .btn-call {
    background: var(--primary-color);
    color: white;
}

.single-real-estate .btn-chat {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.single-real-estate .contact-info {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.single-real-estate .contact-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.single-real-estate .action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.single-real-estate .action-btn {
    flex: 1;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.single-real-estate .action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.single-real-estate .map-container {
    height: 300px;
    background: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.single-real-estate .tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.single-real-estate .report-link {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.single-real-estate .report-link a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
}

.single-real-estate .related-properties {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.single-real-estate .property-card-small {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
}

.single-real-estate .property-card-small:hover {
    background: #f9f9f9;
}

.single-real-estate .property-card-small img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.single-real-estate .property-card-info {
    flex: 1;
}

.single-real-estate .property-card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.single-real-estate .property-card-title a{
    text-decoration: none;
    color: var(--text-dark);
}

.single-real-estate .property-card-price {
    color: #e53935;
    font-weight: 700;
    font-size: 1.1rem;
}

.single-real-estate .property-card-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .single-real-estate .info-label,
    .single-real-estate .info-value{
        width: 50%;
        font-size: 14px;
    }
    .single-real-estate .property-stats{
        gap: 5px;
        flex-wrap: wrap;
    }
    .single-real-estate .stat-item{
        flex: 0 0 auto;
        width: 46%;
        margin-bottom: 15px;
    }
}