/* DESKTOP RESPONSIVE STYLES - FORCE DESKTOP LAYOUT */

/* BASE MOBILE FIRST */
.desktop-only { display: none; }
.mobile-only { display: block; }



/* TABLET AND DESKTOP OVERRIDES */
@media (min-width: 768px) {
    /* FORCE DESKTOP ELEMENTS VISIBLE */
    .desktop-only { 
        display: block !important; 
    }
    .mobile-only {
        /* display: none !important; */
        max-width: 100%;
    }
    
    /* FORCE DESKTOP NAVIGATION */
    .desktop-navigation {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 40px;
        padding: 20px 40px;
        background: white;
        border-bottom: 1px solid #e9ecef;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none !important;
    }
    
    /* DESKTOP NAV ITEMS */
    .desktop-nav-item {
        text-decoration: none;
        color: #6c757d;
        font-weight: 600;
        font-size: 16px;
        padding: 12px 24px;
        border-radius: 25px;
        transition: all 0.3s ease;
        display: flex !important;
        align-items: center;
        gap: 8px;
    }
    
    .desktop-nav-item:hover,
    .desktop-nav-item.active {
        color: #4285f4;
        background: rgba(66, 133, 244, 0.1);
    }
    
    .desktop-nav-icon {
        width: 20px;
        height: 20px;
    }
    
    /* FORCE CONTAINER MAX WIDTHS */
    .home-container,
    .property-list-container,
    .property-search-container,
    .property-detail-container {
        max-width: 1200px !important;
        margin: 0 auto !important;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1) !important;
        background: white !important;
        min-height: 100vh !important;
    }
    
    /* FORCE DESKTOP HEADER STYLES */
    .app-header {
        padding: 30px 40px !important;

        border-radius: 0 !important;
    }
    
    .app-title {
        font-size: 32px !important;
    }
    
    .welcome-text {
        font-size: 16px !important;
    }
    
    /* FORCE SEARCH SECTION DESKTOP */
    .search-section {
        padding: 40px !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .property-tabs {
        max-width: 400px !important;
        margin: 0 auto 40px auto !important;
    }
    
    .tab-btn {
        padding: 16px 0 !important;
        font-size: 18px !important;
    }
    
    .filter-row {
        max-width: 600px !important;
        margin: 0 auto !important;
        gap: 20px !important;
    }
    
    .filter-select {
        font-size: 16px !important;
        width: 100%;
        padding: 12px !important;
        min-width: fit-content;
        flex: 1;
        max-width: none;
    }
    
    .search-btn {
        max-width: 300px !important;
        margin: 20px auto 0 auto !important;
        padding: 20px !important;
        font-size: 18px !important;
    }
    
    /* FORCE PROPERTIES GRID DESKTOP */
    .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
        padding: 0 40px !important;
    }
    
    .featured-section {
        padding: 40px 0 60px !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    /* FORCE PROPERTY CARDS DESKTOP */
    .property-card {
        border-radius: 20px !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .property-card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    }
    
    .property-image {
        height: 250px !important;
    }
    
    .property-info {
        padding: 25px !important;
    }
    
    .property-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .property-location {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .property-specs {
        gap: 20px !important;
    }
    
    .spec {
        font-size: 14px !important;
    }
    
    .spec svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* FORCE DESKTOP PAGINATION */
    .pagination-desktop {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 40px;
    }
    
    .pagination-btn {
        padding: 12px 16px;
        border: 2px solid #e9ecef;
        background: white;
        color: #6c757d;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        min-width: 44px;
        text-align: center;
        text-decoration: none;
    }
    
    .pagination-btn:hover,
    .pagination-btn.active {
        border-color: #4285f4;
        color: #4285f4;
        background: rgba(66, 133, 244, 0.05);
    }
    
    /* FORCE PROPERTY LIST HEADER */
    .property-list-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 30px 40px;
        background: white;
        border-bottom: 1px solid #e9ecef;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .results-count {
        font-size: 18px;
        font-weight: 600;
        color: #2c3e50;
    }
    
    .sort-options {
        display: flex;
        gap: 15px;
        align-items: center;
    }
    
    .sort-select {
        padding: 10px 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        background: white;
        font-size: 14px;
        cursor: pointer;
    }
    
    .view-toggle {
        display: flex;
        gap: 5px;
        background: #f8f9fa;
        border-radius: 8px;
        padding: 4px;
    }
    
    .view-btn {
        padding: 8px 12px;
        border: none;
        background: transparent;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .view-btn.active {
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    /* FORCE SEARCH PAGE CONTAINER */
    .search-page-container {
        display: grid !important;
        grid-template-columns: 350px 1fr;
        gap: 40px;
        padding: 40px;
        min-height: 100vh;
    }
    
    .search-sidebar {
        background: white;
        border-radius: 15px;
        padding: 30px;
        height: fit-content;
        position: sticky;
        top: 40px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .search-results-area {
        min-width: 0;
    }
    
    .search-form-desktop {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .form-label {
        font-size: 14px;
        font-weight: 600;
        color: #495057;
    }
    
    .form-input {
        padding: 12px 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.3s ease;
    }
    
    .form-input:focus {
        border-color: #4285f4;
        outline: none;
        box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
    }
    
    .range-inputs {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 10px;
        align-items: center;
    }
    
    .price-separator {
        font-weight: 600;
        color: #6c757d;
    }
    
    .checkbox-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .checkbox-item {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }
    
    .checkbox-item input {
        width: 18px;
        height: 18px;
    }
    
    .search-btn-desktop {
        width: 100%;
        padding: 16px;
        background: #4285f4;
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 20px;
    }
    
    .search-btn-desktop:hover {
        background: #3367d6;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
    }
    
    /* FORCE BREADCRUMBS */
    .breadcrumbs-desktop {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 20px 40px;
        background: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
        font-size: 14px;
    }
    
    .breadcrumb-item {
        color: #6c757d;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .breadcrumb-item:hover {
        color: #4285f4;
    }
    
    .breadcrumb-separator {
        color: #adb5bd;
        margin: 0 5px;
    }
    
    .breadcrumb-current {
        color: #495057;
        font-weight: 500;
    }
    
    /* HIDE MOBILE BOTTOM NAV ON DESKTOP */
    .bottom-navigation {
        display: none !important;
    }
}

/* LARGE DESKTOP */
@media (min-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 40px !important;
    }
    
    .home-container,
    .property-list-container,
    .property-search-container,
    .property-detail-container {
        max-width: 1400px !important;
    }
    
    .search-section {
        padding: 60px !important;
    }
    
    .filter-row {
        max-width: 800px !important;
        grid-template-columns: 1fr 1fr  !important;
        /* background: red; */
        width: 100%;
    }
    
    .search-btn {
        max-width: 400px !important;
    }
}

/* EXTRA LARGE DESKTOP */
@media (min-width: 1440px) {
    .properties-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* PROPERTY DETAIL PAGE DESKTOP */
@media (min-width: 768px) {
    .property-detail-container {
        /* display: grid !important; */
        grid-template-columns: 1fr 400px !important;
        gap: 40px !important;
        /* padding: 40px !important; */
        align-items: start !important;
    }
    
    .property-gallery {
        grid-column: 1 !important;
    }
    
    .property-details {
        grid-column: 2 !important;
        position: sticky !important;
        top: 40px !important;
    }
    
    .main-property-image {
        height: 500px !important;
    }
    
    .gallery-thumbnails {
        margin-top: 20px !important;
        gap: 15px !important;
    }
    
    .thumbnail {
        width: 120px !important;
        height: 90px !important;
    }
    
    .property-header {
        margin-bottom: 30px !important;
    }
    
    .property-title {
        font-size: 18px !important;
    }
    
    .property-price {
        font-size: 16px !important;
        /* margin: 20px 0 !important; */
    }
    
    .contact-section {
        position: sticky !important;
        bottom: 40px !important;
        background: white !important;
        padding: 20px !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }
    
    .contact-btn {
        padding: 16px 24px !important;
        font-size: 16px !important;
    }
}