:root {
    --primary-color: #167c21; /* Brand Green */
    --primary-hover: #11621a;
    --secondary-color: #ffd200; /* Brand Yellow */
    --secondary-hover: #e6bd00;
    --text-color: #333333;
    --text-muted: #6c757d;
    --bg-color: #faf9f5;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --border-radius: 8px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: #333;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: #333;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 7px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

/* Header */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    width: 100%;
}

.site-header .container.header-inner,
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0;
    gap: 16px;
    box-sizing: border-box;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Header Navigation & Dropdowns */
.desktop-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.desktop-nav .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-item {
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.desktop-nav .nav-link {
    white-space: nowrap;
    word-break: keep-all;
}

.desktop-nav .nav-link {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--primary-color);
    background-color: #f0fdf4;
}

.desktop-nav .nav-link-featured {
    color: #e11d48;
    background-color: #fff1f2;
}

.desktop-nav .nav-link-featured:hover,
.desktop-nav .nav-link-featured.active {
    color: #be123c;
    background-color: #ffe4e6;
}

.nav-caret {
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-has-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

/* Dropdown Menu Panel */
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #ffffff;
    min-width: 280px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
    z-index: 1000;
    padding: 10px;
    animation: navDropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown-wide {
    min-width: 320px;
}

@keyframes navDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-has-dropdown:hover .nav-dropdown-menu,
.nav-has-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.nav-dropdown-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.nav-dropdown-badge {
    font-size: 11px;
    font-weight: 700;
    background: #ecfdf5;
    color: #059669;
    padding: 2px 8px;
    border-radius: 999px;
}

.nav-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #0f172a;
    transition: background 0.15s ease, transform 0.1s ease;
}

.nav-dropdown-item:hover {
    background-color: #f8fafc;
}

.nav-dropdown-icon {
    font-size: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

.nav-dropdown-info {
    display: flex;
    flex-direction: column;
}

.nav-dropdown-info strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.nav-dropdown-info small {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.35;
    margin-top: 2px;
}

.nav-dropdown-divider {
    height: 1px;
    background-color: #f1f5f9;
    margin: 4px 0;
    list-style: none;
}

.nav-dropdown-highlight {
    background-color: #fff1f2;
}

.nav-dropdown-highlight:hover {
    background-color: #ffe4e6;
}

.nav-dropdown-highlight strong {
    color: #e11d48;
}

/* Header Actions Area */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-selector-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    padding: 7px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s, border-color 0.15s;
}

.header-selector-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.header-user-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.header-icon-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: scale(1.05);
}

.header-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.badge-blue { background-color: #0284c7; }
.badge-green { background-color: #167c21; }

.user-btn-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 4px 12px 4px 4px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.user-btn-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.user-avatar-initial {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #167c21;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.user-dropdown-panel {
    min-width: 220px;
    padding: 10px;
    border-radius: 12px;
    right: 0;
    left: auto;
}

.user-dropdown-header {
    padding: 6px 10px 10px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-role-pill {
    font-size: 10px;
    font-weight: 800;
    color: #167c21;
    background: #ecfdf5;
    padding: 2px 6px;
    border-radius: 4px;
}

.user-dropdown-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-dropdown-links a {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    display: block;
    transition: background 0.15s;
}

.user-dropdown-links a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.user-dropdown-links a.text-danger:hover {
    background: #fef2f2;
    color: #ef4444;
}

/* Generic Selector Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-color);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    background-color: #ffffff;
    min-width: 140px;
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    list-style: none;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 6px 0;
    right: 0;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    color: #334155;
    padding: 8px 14px;
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
}

.dropdown-menu a:hover,
.dropdown-menu a.active-lang {
    background-color: #f1f5f9;
    color: #167c21;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
}

/* Mobile Accordion Styles */
.mobile-menu-group {
    list-style: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 4px 0;
}

.mobile-group-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
}

.mobile-caret {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.mobile-menu-group.open .mobile-caret {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    display: none;
    list-style: none;
    padding: 4px 0 8px 24px;
    margin: 0;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-group.open .mobile-sub-menu {
    display: flex;
}

.mobile-sub-menu a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    display: block;
    border-radius: 6px;
}

.mobile-sub-menu a:hover {
    color: #167c21;
    background: #f8fafc;
}

.mobile-link {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
}

.mobile-link:hover {
    background: #f8fafc;
    color: #167c21;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Search Widget */
.search-widget {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-color);
    text-align: left;
}

.search-fields {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-group input, .form-group select, .form-control {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.search-btn {
    padding: 10px 30px;
    height: 42px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 30px;
    font-size: 28px;
}

.bg-light { background-color: #f5f5f5; }
.bg-primary { background-color: var(--primary-color); }
.text-white { color: white; }

/* Grid Layouts */
.destination-grid, .property-grid, .features-grid, .footer-grid {
    display: grid;
    gap: 20px;
}

.destination-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.property-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

/* Property Card */
.property-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    box-shadow: var(--shadow-md);
}

.card-image-wrap {
    position: relative;
    height: 200px;
    background: #ddd;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
}

.badge {
    background: var(--secondary-color);
    color: #333;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.card-title a { color: var(--text-color); }

.card-rating {
    font-size: 14px;
    font-weight: 600;
}

.star { color: var(--secondary-color); }

.card-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.card-description {
    font-size: 14px;
    margin-bottom: 15px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
}

.price-period {
    font-size: 12px;
    color: var(--text-muted);
}

/* Popular Destination Cards */
.dest-card {
    text-align: center;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}
.dest-card:hover {
    transform: translateY(-4px);
}
.dest-img-wrap {
    width: 140px;
    height: 140px;
    background: #e2e8f0;
    border-radius: 50%;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 3px solid #ffffff;
    position: relative;
}
.dest-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.dest-card:hover .dest-img {
    transform: scale(1.08);
}
.dest-card h3 { 
    font-size: 16px; 
    font-weight: 700; 
    color: #0f172a; 
    margin: 0 0 2px;
}

/* Features */
.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Layouts with Sidebar */
.page-layout {
    display: flex;
    gap: 30px;
    padding: 40px 15px;
}

.sidebar { width: 300px; flex-shrink: 0; }
.main-content { flex-grow: 1; }

.filter-sidebar {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 16px; margin-bottom: 10px; }

.checkbox-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Property Detail */
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    margin: 20px 0;
    height: 400px;
}

.gallery-main, .gallery-thumbs .img-placeholder {
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumbs .img-placeholder {
    flex: 1;
}

.property-section {
    margin: 30px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
}

.booking-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 90px;
}

.booking-price {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Auth Container */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 40px 15px;
}

.auth-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 450px;
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 20px;
    margin-top: auto;
}

.site-footer h4 {
    color: white;
    margin-bottom: 20px;
}

.site-footer ul {
    list-style: none;
}

.site-footer a {
    color: #ccc;
}

.site-footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
}

.social-links a {
    margin-left: 15px;
}

/* ========================================================
   MOBILE NAVIGATION DRAWER & TOGGLE SYSTEM
   ======================================================== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background-color 0.2s;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--text-color, #1e293b);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease;
    transform-origin: center;
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Panel / Drawer */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 86%;
    max-width: 380px;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -6px 0 25px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav-panel.is-open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.mobile-menu-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mobile-nav-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.mobile-main-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-main-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.mobile-main-links a:hover,
.mobile-main-links a:active {
    background: #f4fbf5;
    color: #167c21;
}

.mobile-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 18px 0;
}

.mobile-selectors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mobile-select-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-select-group label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.04em;
}

.mobile-select {
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 13.5px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
    width: 100%;
}

.mobile-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-user-card {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 6px;
}

.mobile-user-name {
    font-weight: 700;
    font-size: 14.5px;
    color: #0f172a;
}

.mobile-user-role {
    font-size: 11px;
    font-weight: 800;
    color: #167c21;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14.5px;
    font-weight: 600;
    box-sizing: border-box;
}

body.mobile-menu-active {
    overflow: hidden !important;
}

/* Desktop: unconditionally hide all mobile navigation elements */
@media (min-width: 993px) {
    .mobile-nav-panel,
    .mobile-menu-overlay,
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Mobile & Tablet: hide desktop navigation and enable toggle */
@media (max-width: 992px) {
    .desktop-nav, 
    .header-actions { 
        display: none !important; 
    }
    .mobile-menu-toggle { 
        display: flex !important; 
    }
}

@media (max-width: 768px) {
    .header-inner { flex-wrap: nowrap; }
    
    .hero-title { font-size: 30px; }
    .search-fields { flex-direction: column; align-items: stretch; }
    
    .page-layout { flex-direction: column; }
    .sidebar { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; }
    
    .property-gallery { grid-template-columns: 1fr; height: auto; }
    .gallery-main { height: 250px; margin-bottom: 10px; }
    .gallery-thumbs { flex-direction: row; }
    .gallery-thumbs .img-placeholder { height: 80px; }
}
