:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #ffedd5;
    --secondary: #1e3a5f;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER - Mobile First
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo i { font-size: 1.5rem; }

/* Burger Menu Button */
.burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    transition: all 0.3s ease;
}

.burger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Drawer */
.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-bottom: 80px;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Search */
.mobile-search {
    padding: 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-search-input {
    display: flex;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.mobile-search-input input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.mobile-search-input button {
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: var(--white);
    border: none;
    cursor: pointer;
}

/* Mobile Nav Links */
.mobile-nav-section {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-title {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-nav-link i {
    width: 24px;
    font-size: 1.125rem;
    color: var(--gray-500);
}

.mobile-nav-link:hover i,
.mobile-nav-link:active i {
    color: var(--primary);
}

.mobile-nav-link .badge {
    margin-left: auto;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

/* Language Switcher Mobile */
.mobile-lang-switcher {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
}

.mobile-lang-btn {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-lang-btn.active {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

/* Mobile Post Button */
.mobile-post-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mobile-post-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

/* Desktop Navigation - Hidden on Mobile */
.desktop-nav {
    display: none;
}

.search-form {
    display: none;
}

/* ============================================
   CATEGORIES BAR
   ============================================ */
.categories-bar {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    display: none;
}

.categories-nav {
    display: flex;
    gap: 0.25rem;
    height: 50px;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar { display: none; }

.category-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    white-space: nowrap;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.category-link:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-google {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    font-weight: 500;
    width: 100%;
    padding: 0.875rem 1rem;
}

.btn-google:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.btn-google svg,
.btn-google img {
    width: 20px;
    height: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #f97316, #ea580c, #c2410c);
    color: var(--white);
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hero p {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hero-stat { text-align: center; }
.hero-stat-number { font-size: 1.5rem; font-weight: 700; }
.hero-stat-label { font-size: 0.75rem; opacity: 0.8; }

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.section-link {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ============================================
   CATEGORIES GRID - Compact Rectangle Design
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.category-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--radius);
    text-align: left;
    transition: all 0.25s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f97316, #fb923c);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: 0;
}

.category-card:hover::before,
.category-card:active::before {
    opacity: 1;
}

.category-card .category-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-radius: 10px;
    transition: all 0.25s;
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon,
.category-card:active .category-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.category-card i {
    font-size: 1.125rem;
    color: var(--primary);
    transition: all 0.25s;
}

.category-card:hover i,
.category-card:active i {
    color: var(--white);
}

.category-card .category-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
}

.category-card .category-name {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--gray-800);
    transition: color 0.25s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card:hover .category-name,
.category-card:active .category-name {
    color: var(--white);
}

.category-card .category-count {
    font-size: 0.6875rem;
    color: var(--gray-500);
    transition: color 0.25s;
}

.category-card:hover .category-count,
.category-card:active .category-count {
    color: rgba(255, 255, 255, 0.85);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}

/* ============================================
   LISTINGS GRID
   ============================================ */
.listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.listing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.listing-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.listing-content { 
    padding: 0.875rem; 
}

.listing-title { 
    font-weight: 600; 
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-price { 
    color: var(--primary); 
    font-weight: 700; 
    font-size: 1.125rem; 
}

.listing-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    color: var(--gray-500);
    font-size: 0.8125rem;
    flex-wrap: wrap;
}

.listing-contact-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 14px;
    transition: transform 0.2s;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-icon.phone {
    background: var(--primary);
    color: white;
}

.contact-icon.whatsapp {
    background: #25d366;
    color: white;
}

.contact-icon.chat {
    background: var(--secondary);
    color: white;
}
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.empty-state h3 { 
    color: var(--gray-700); 
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.empty-state p { 
    color: var(--gray-500); 
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    margin: 1rem;
    font-size: 0.9375rem;
}

.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* ============================================
   FORMS
   ============================================ */
.form-group { 
    margin-bottom: 1rem; 
}

.form-group label { 
    display: block; 
    font-weight: 500; 
    margin-bottom: 0.5rem; 
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

/* ============================================
   AUTH PAGES (Login/Register)
   ============================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #1e3a5f 100%);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.auth-header .logo {
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    opacity: 0.9;
    font-size: 0.9375rem;
}

.auth-body {
    padding: 1.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-footer {
    text-align: center;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--gray-50);
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Password Requirements */
.password-requirements {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
}

.password-requirements p {
    margin-bottom: 0.5rem;
    color: var(--gray-600);
    font-weight: 500;
}

.password-requirements ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}

.password-requirements li {
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.password-requirements li i {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.password-requirements li.valid {
    color: var(--success);
}

.password-requirements li.valid i {
    color: var(--success);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.footer-brand .logo { 
    color: var(--white); 
    margin-bottom: 0.5rem;
    justify-content: center;
}

.footer-brand p { 
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-links { 
    display: flex; 
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a { 
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom { 
    text-align: center; 
    color: var(--gray-400); 
    padding-top: 1rem; 
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8125rem;
}

/* ============================================
   FILTER DROPDOWN
   ============================================ */
.section-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-dropdown {
    position: relative;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.filter-btn i:first-child {
    color: var(--primary);
}

.filter-btn i:last-child {
    font-size: 0.75rem;
    color: var(--gray-400);
    transition: transform 0.2s ease;
}

.filter-dropdown.active .filter-btn {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.filter-dropdown.active .filter-btn i:last-child {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-100);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.filter-dropdown.active .filter-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
}

.filter-option:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.filter-option.active {
    background: var(--primary-light);
    color: var(--primary);
}

.filter-option i:first-child {
    width: 18px;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.filter-option:hover i:first-child,
.filter-option.active i:first-child {
    color: var(--primary);
}

.filter-option span {
    flex: 1;
}

.filter-option i:last-child {
    font-size: 0.75rem;
    color: var(--primary);
}

/* Mobile filter styles */
@media (max-width: 599px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .filter-btn span {
        display: none;
    }
    
    .filter-btn i:last-child {
        display: none;
    }
    
    .filter-dropdown-menu {
        left: 0;
        right: auto;
        min-width: 200px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.mb-8 { margin-bottom: 2rem; }
.text-danger { color: var(--danger) !important; }

/* Dropdown (Desktop) */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.user-menu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    color: var(--gray-700);
}

.dropdown-item:hover { background: var(--gray-100); }
.dropdown-item i { width: 20px; color: var(--gray-500); }
.dropdown-item .badge { 
    background: var(--primary); 
    color: white; 
    font-size: 0.75rem; 
    padding: 0.125rem 0.5rem; 
    border-radius: 9999px; 
    margin-left: auto; 
}
.dropdown-divider { 
    border: none; 
    border-top: 1px solid var(--gray-200); 
    margin: 0.5rem 0; 
}

/* User Menu */
.user-menu { position: relative; }
.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
}

/* ============================================
   TABLET STYLES (min-width: 600px)
   ============================================ */
@media (min-width: 600px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    /* 4 columns = 12 categories in 3 rows */
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .auth-card {
        max-width: 440px;
    }
    
    .auth-body {
        padding: 2rem;
    }
}

/* ============================================
   DESKTOP STYLES (min-width: 992px)
   ============================================ */
@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }
    
    .header-inner {
        height: 70px;
    }
    
    /* Hide mobile elements */
    .burger-menu,
    .mobile-nav,
    .mobile-nav-overlay,
    .mobile-post-btn {
        display: none !important;
    }
    
    /* Show desktop elements */
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .search-form {
        display: block;
        flex: 1;
        max-width: 600px;
    }
    
    .search-wrapper {
        display: flex;
        background: var(--gray-100);
        border-radius: var(--radius-lg);
        overflow: hidden;
    }
    
    .search-category, 
    .search-location {
        padding: 0.75rem 1rem;
        border: none;
        background: transparent;
        min-width: 120px;
    }
    
    .search-category { border-right: 1px solid var(--gray-300); }
    .search-location { border-left: 1px solid var(--gray-300); }
    
    .search-input {
        flex: 1;
        padding: 0.75rem 1rem;
        border: none;
        background: transparent;
        outline: none;
        min-width: 150px;
    }
    
    .search-btn {
        padding: 0.75rem 1.25rem;
        background: linear-gradient(135deg, #f97316, #fb923c);
        color: var(--white);
        border: none;
        cursor: pointer;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        color: var(--gray-700);
        font-weight: 500;
    }
    
    .nav-link:hover { color: var(--primary); }
    
    .btn-register {
        background: var(--gray-100);
        border-radius: var(--radius);
    }
    
    .lang-switcher {
        display: flex;
        background: var(--gray-100);
        border-radius: var(--radius);
        overflow: hidden;
    }
    
    .lang-btn {
        padding: 0.5rem 0.75rem;
        font-weight: 500;
        color: var(--gray-600);
    }
    
    .lang-btn.active {
        background: var(--secondary);
        color: var(--white);
    }
    
    .btn-post {
        white-space: nowrap;
    }
    
    /* Grid layouts - 6 columns = 12 categories in 2 rows */
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1rem;
    }
    
    .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    /* Hero */
    .hero {
        padding: 3rem 0;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        gap: 2.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-stat-label {
        font-size: 0.875rem;
    }
    
    /* Section */
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Category cards - Desktop compact */
    .category-card {
        padding: 0.875rem;
        gap: 0.875rem;
    }
    
    .category-card .category-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
    }
    
    .category-card i {
        font-size: 1.25rem;
    }
    
    .category-card .category-name {
        font-size: 0.875rem;
    }
    
    .category-card .category-count {
        font-size: 0.75rem;
    }
    
    /* Listing cards */
    .listing-image {
        aspect-ratio: 4/3;
    }
    
    .listing-content {
        padding: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-brand .logo {
        justify-content: flex-start;
    }
    
    /* Alerts */
    .alert {
        margin: 1rem auto;
        max-width: 1400px;
    }
}

/* ============================================
   LARGE DESKTOP (min-width: 1200px)
   ============================================ */
@media (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .listings-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
