/**
 * MOBILE STYLES - INDEX.HTML ONLY
 * Loaded AFTER styles.css to add mobile-responsive overrides
 * 
 * Mobile-First Approach:
 * - Industry standard breakpoints
 * - Progressive enhancement (mobile → tablet → desktop)
 * - Touch-friendly (44px minimum tap targets)
 * - Thumb-zone optimization
 * 
 * Breakpoints:
 * - Mobile: < 768px (phones)
 * - Tablet: 768px - 1024px
 * - Desktop: > 1024px (handled by base styles)
 */

/* ========================================
   MOBILE NAVIGATION (< 768px)
   Hamburger menu, collapsible nav
   ======================================== */

/* Hide mobile elements on desktop */
@media (min-width: 768px) {
    .mobile-menu-toggle,
    .nav-mobile,
    .nav-overlay {
        display: none !important;
    }
}

@media (max-width: 767px) {

    /* ========================================
       HIDE DESKTOP-ONLY SECTIONS ON MOBILE
       ======================================== */

    /* Hide Account Info and Filters panels on mobile (moved to drawer) */
    .left-sidebar > .card:has(#accountPanel),
    .left-sidebar > .card:has(#filtersPanel) {
        display: none !important;
    }

    /* ========================================
       TOUCH TARGET FIXES (44px minimum)
       ======================================== */

    /* Ensure all buttons meet 44px minimum */
    .btn--small {
        padding: 12px 20px;  /* Increased from 8px/16px */
        min-height: 44px;
    }

    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }

    /* Rating icons - larger touch targets */
    .rating-icon {
        min-width: 60px !important;
        min-height: 60px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* Form inputs */
    .form-input,
    .form-select {
        min-height: 44px;
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* Checkbox and radio labels */
    .filter-checkbox-label,
    .radio-label-inline {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: var(--space-sm) 0;
    }

    /* Filter chip remove buttons */
    .filter-chip-remove {
        min-width: 24px;
        min-height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Collapsible panel headers */
    .card__header--collapsible {
        min-height: 48px;
        padding: var(--space-md);
    }

    /* Section headers */
    .section-header {
        min-height: 48px;
        padding: var(--space-md);
    }

    /* Hide desktop user info on mobile */
    .user-info {
        display: none;
    }

    /* Add padding to header to make room for hamburger button */
    header {
        padding-right: 70px; /* Space for hamburger button (44px + padding) */
    }

    /* Show hamburger menu button */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--white);
        cursor: pointer;
        padding: var(--space-sm);
        position: absolute;
        top: var(--space-md);
        right: var(--space-md);
        min-width: 44px;
        min-height: 44px;
        z-index: 100;
    }
    
    /* Mobile navigation drawer */
    .nav-mobile {
        display: none; /* Hidden by default, shown via JS */
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        z-index: 10001;
        padding: var(--space-xl) var(--space-lg);
        overflow-y: auto;
    }
    
    .nav-mobile.active {
        display: block; /* Show the menu */
        right: 0; /* Slide in from right */
    }
    
    /* Mobile nav items */
    .nav-mobile ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .nav-mobile li {
        margin-bottom: var(--space-md);
    }
    
    .nav-mobile a {
        display: block;
        padding: var(--space-md);
        color: var(--gray-900);
        text-decoration: none;
        font-weight: var(--font-weight-medium);
        border-radius: var(--radius-md);
        min-height: 44px; /* Touch-friendly */
        display: flex;
        align-items: center;
    }
    
    .nav-mobile a:hover {
        background: var(--gray-100);
    }
    
    /* Mobile user info in drawer */
    .mobile-user-info {
        padding: var(--space-lg);
        background: var(--gray-50);
        border-radius: var(--radius-md);
        margin-bottom: var(--space-lg);
        border-left: 4px solid var(--primary);
    }
    
    .mobile-user-info span {
        font-weight: var(--font-weight-semibold);
        color: var(--gray-900);
    }
    
    /* Overlay to close menu when clicking outside */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
}

/* ========================================
   MOBILE LAYOUT - 3-COLUMN TO SINGLE COLUMN (< 768px)
   Stack sidebar below map on mobile
   ======================================== */

@media (max-width: 767px) {

    /* Change 3-column layout to single column stack */
    .content-3col {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        margin-top: var(--space-md);
    }

    /* Reorder for optimal mobile UX:
       1. Map (center-column)
       2. Sidebar (left-sidebar)
    */
    .left-sidebar {
        order: 2; /* Move sidebar below map */
        gap: var(--space-md);
    }

    .center-column {
        order: 1; /* Map first on mobile */
        gap: var(--space-md);
    }

    /* Reduce padding inside container for more screen space */
    .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
}

/* ========================================
   MOBILE MAP CONTAINER (< 768px)
   Full-width, optimized height
   ======================================== */

@media (max-width: 767px) {

    #map {
        height: min(400px, 50vh); /* Responsive height, max 50% of viewport */
        min-height: 300px; /* But at least 300px */
        border-radius: 0; /* Full bleed on mobile */
        margin-top: 0;
        margin-left: calc(-1 * var(--space-md)); /* Extend to edges */
        margin-right: calc(-1 * var(--space-md));
        width: calc(100% + 2 * var(--space-md));
        position: relative; /* For scroll hint positioning */
    }
    
    /* Map controls - make touch-friendly */
    .leaflet-control-zoom a {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 20px;
    }
    
    /* Leaflet popups - optimize for mobile */
    .leaflet-popup-content-wrapper {
        max-width: calc(100vw - 40px);
    }
    
}

/* ========================================
   MAP SCROLL HINT (ALL DEVICES)
   Helps users understand scroll behavior
   ======================================== */

/* Scroll hint - shows briefly on desktop when hovering map */
.map-scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#map:hover .map-scroll-hint {
    opacity: 1;
}

/* Hide hint on mobile */
@media (max-width: 767px) {
    .map-scroll-hint {
        display: none;
    }
}

/* ========================================
   MOBILE BOTTOM SHEET (< 768px)
   Slides up from bottom to show restroom details
   ======================================== */

/* Bottom sheet backdrop */
.bottom-sheet-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bottom-sheet-backdrop.active {
    display: block;
    opacity: 1;
}

/* Bottom sheet container */
.bottom-sheet {
    position: fixed;
    bottom: -100%; /* Start off-screen */
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: bottom 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: var(--space-lg);
}

.bottom-sheet.active {
    bottom: 0; /* Slide up */
}

/* Bottom sheet handle (drag indicator) */
.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-md);
}

/* Bottom sheet close button */
.bottom-sheet-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-600);
    cursor: pointer;
    padding: var(--space-xs);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-sheet-close:hover {
    color: var(--gray-900);
}

/* Bottom sheet content */
.bottom-sheet-content {
    padding: var(--space-lg);
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

/* Make popup content work well in bottom sheet */
.bottom-sheet-content .custom-popup {
    box-shadow: none;
    border-radius: 0;
}

/* Comment preview styling */
.comment-preview {
    line-height: 1.5;
    min-height: 20px;
}

.view-comments-btn {
    width: 100%;
    margin-top: 10px;
    padding: var(--space-sm) var(--space-md);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: var(--font-size-sm);
}

.view-comments-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Rate location button - make more prominent */
.rate-location-btn {
    padding: var(--space-md) var(--space-lg);
    background: var(--success);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: var(--transition-base);
    font-size: var(--font-size-base);
    min-height: 44px; /* Touch-friendly */
}

.rate-location-btn:hover {
    background: var(--success-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hide on desktop */
@media (min-width: 768px) {
    .bottom-sheet,
    .bottom-sheet-backdrop {
        display: none !important;
    }
}

/* ========================================
   COMMENTS PANEL MODAL
   Appears above bottom sheet
   ======================================== */

#comments-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000; /* Higher than bottom sheet (1000) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.all-comments-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.all-comments-modal .modal-header {
    padding: var(--space-lg);
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: var(--white);
}

.all-comments-modal .modal-header h3 {
    margin: 0;
    font-size: var(--font-size-xl);
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    padding: var(--space-xs);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal-btn:hover {
    opacity: 0.8;
}

.comments-loading {
    padding: var(--space-xl);
    text-align: center;
    color: var(--gray-600);
    font-size: var(--font-size-lg);
}

/* Mobile: Full screen modal */
@media (max-width: 767px) {
    .all-comments-modal {
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
    }
}

/* ========================================
   COMMENT CARDS - Brand-consistent styling
   ======================================== */

.comment-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: var(--transition-base);
}

.comment-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}

.comment-card.featured-comment {
    border-left: 4px solid var(--warning);
    background: var(--gray-50);
}

.comment-card.own-comment {
    border-left: 4px solid var(--success);
    background: #f1f8f4;
}

.featured-badge,
.own-comment-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
}

.featured-badge {
    background: var(--warning-light);
    color: var(--gray-900);
}

.own-comment-badge {
    background: var(--success-light);
    color: var(--white);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-name {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
}

.author-badge {
    font-size: var(--font-size-xs);
    color: var(--primary);
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}

.comment-time {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.comment-text {
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--gray-200);
}

.comment-voting {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.upvote-btn,
.downvote-btn {
    background: none;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition-base);
    min-width: 36px;
    min-height: 36px;
}

.upvote-btn:hover:not(:disabled) {
    background: var(--success-light);
    border-color: var(--success);
}

.downvote-btn:hover:not(:disabled) {
    background: var(--error-light);
    border-color: var(--error);
}

.upvote-btn.active {
    background: var(--success);
    border-color: var(--success);
}

.downvote-btn.active {
    background: var(--error);
    border-color: var(--error);
}

.upvote-btn:disabled,
.downvote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.comment-score {
    font-weight: var(--font-weight-semibold);
    min-width: 30px;
    text-align: center;
}

.comment-score.positive {
    color: var(--success);
}

.comment-score.negative {
    color: var(--error);
}

.flag-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: var(--font-size-sm);
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    transition: var(--transition-base);
}

.flag-btn:hover {
    color: var(--error);
}

/* ========================================
   MOBILE RATING FORM (< 768px)
   Vertical layout, larger inputs
   ======================================== */

@media (max-width: 767px) {
    
    /* Form container */
    .rating-form {
        padding: var(--space-md);
    }
    
    /* Form inputs - full width on mobile */
    .form-group {
        margin-bottom: var(--space-lg);
    }
    
    .form-group label {
        font-size: var(--font-size-base); /* Slightly larger for readability */
        margin-bottom: var(--space-sm);
    }
    
    input[type="text"],
    input[type="number"],
    select,
    textarea {
        width: 100%;
        padding: var(--space-md); /* Larger padding for touch */
        font-size: 16px; /* Prevents iOS zoom on focus */
        min-height: 44px; /* Touch-friendly */
    }
    
    /* Rating sliders - larger touch targets */
    input[type="range"] {
        height: 44px;
        margin: var(--space-md) 0;
    }
    
    /* Submit button - full width, larger */
    .btn-primary {
        width: 100%;
        padding: var(--space-lg);
        font-size: var(--font-size-lg);
        min-height: 50px;
    }
    
}

/* ========================================
   MOBILE MODALS (< 768px)
   Full-screen on mobile
   ======================================== */

@media (max-width: 767px) {
    
    .modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        overflow-y: auto;
    }
    
    .modal-header {
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 10;
        box-shadow: var(--shadow-sm);
    }
    
    .modal-close {
        min-width: 44px;
        min-height: 44px;
        font-size: 24px;
    }
    
}

/* ========================================
   MOBILE TYPOGRAPHY (< 768px)
   Adjust sizes for mobile readability
   ======================================== */

@media (max-width: 767px) {
    
    h1 {
        font-size: var(--font-size-2xl);
    }
    
    h2 {
        font-size: var(--font-size-xl);
    }
    
    h3 {
        font-size: var(--font-size-lg);
    }
    
    /* Body text - slightly larger for mobile */
    body {
        font-size: var(--font-size-base);
        line-height: 1.6;
    }
    
}

/* ========================================
   MOBILE UTILITIES
   Helper classes for mobile-specific needs
   ======================================== */

@media (max-width: 767px) {
    
    /* Hide on mobile */
    .hide-mobile {
        display: none !important;
    }
    
    /* Show only on mobile */
    .show-mobile {
        display: block !important;
    }
    
    /* Reduce padding on mobile */
    .container {
        padding: var(--space-md);
    }
    
    /* Stack columns on mobile */
    .grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
}

/* ========================================
   TABLET ADJUSTMENTS (768px - 1024px)
   Medium-screen optimizations
   ======================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    
    /* Map - medium height */
    #map {
        height: 450px;
    }
    
    /* Two-column layout where appropriate */
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Modals - not full screen, but responsive */
    .modal-content {
        width: 90%;
        max-width: 600px;
    }
    
}

/* ========================================
   TOUCH ENHANCEMENTS (ALL MOBILE)
   Apply to all touch devices
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    
    /* Remove hover states on touch devices */
    /* (Prevents "sticky" hover on tap) */
    .btn:hover,
    a:hover {
        /* Keep hover styles minimal or remove */
    }
    
    /* Increase tap targets globally */
    button,
    a,
    input[type="button"],
    input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better touch scrolling */
    .modal-content,
    .scrollable {
        -webkit-overflow-scrolling: touch;
    }
    
}

/* ========================================
   LANDSCAPE MOBILE (< 768px height)
   Optimize for phones in landscape
   ======================================== */

@media (max-height: 500px) and (orientation: landscape) {
    
    /* Reduce map height in landscape */
    #map {
        height: 250px;
    }
    
    /* Compact header */
    header {
        padding: var(--space-sm) var(--space-md);
    }
    
}


/* ========================================
   MOBILE RATING FORM (< 768px)
   Full-screen overlay for adding ratings
   ======================================== */

@media (max-width: 767px) {
    
    #ratingForm {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1500;
        background: var(--white);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #ratingForm .card {
        box-shadow: none;
        border-radius: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    #ratingForm .card__header {
        position: sticky;
        top: 0;
        background: var(--primary);
        color: var(--white);
        z-index: 10;
        box-shadow: var(--shadow-sm);
        padding: var(--space-lg);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    #ratingForm .card__title {
        margin: 0;
        color: var(--white);
    }
    
    #ratingForm .card__body {
        flex: 1;
        padding: var(--space-md);
        overflow-y: auto;
    }

    #ratingForm .form-input,
    #ratingForm select,
    #ratingForm textarea {
        font-size: 16px;
        padding: var(--space-md);
        min-height: 44px;
    }
    
    #ratingForm .radio-label-inline {
        min-height: 44px;
        padding: var(--space-sm) var(--space-md);
        display: flex;
        align-items: center;
    }
    
    #ratingForm input[type="radio"],
    #ratingForm input[type="checkbox"] {
        min-width: 20px;
        min-height: 20px;
        margin-right: var(--space-sm);
    }
    
    #ratingForm .btn-primary {
        width: 100%;
        min-height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .rating-form-close {
        background: none;
        border: none;
        color: var(--white);
        font-size: 28px;
        cursor: pointer;
        padding: var(--space-xs);
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
}

/* Overall Rating Section - Mobile specific overrides moved to components.css */

/* ========================================
   MAP OVERLAY (Mobile Only)
   Prevents accidental map interaction while scrolling
   ======================================== */

.map-overlay-message {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-900);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 280px;
    pointer-events: none;
}

@media (max-width: 767px) {
    .map-overlay-message::after {
        content: ' 👆';
        font-size: var(--font-size-2xl);
    }
}

/* ========================================
   MOBILE DRAWER SECTIONS
   ======================================== */

.mobile-nav-section {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-section:last-of-type {
    border-bottom: none;
}

.mobile-nav-section--bottom {
    margin-top: auto;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
    border-bottom: none;
}

.mobile-nav-section-title {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-md);
}

.mobile-nav-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-section li {
    margin: 0;
}

.mobile-nav-section a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    min-height: 48px;
}

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

.mobile-nav-icon {
    font-size: var(--font-size-xl);
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* ========================================
   MOBILE ACCOUNT CARD
   ======================================== */

.mobile-account-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--gray-200);
}

.mobile-account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-200);
}

.mobile-account-item:last-child {
    border-bottom: none;
}

.mobile-account-item--badges {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.mobile-account-label {
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-account-value {
    font-size: var(--font-size-sm);
    color: var(--gray-900);
    font-weight: var(--font-weight-semibold);
}

/* ========================================
   MOBILE FILTERS
   ======================================== */

.mobile-nav-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-filter-group {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.mobile-filter-group-title {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.mobile-filter-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    cursor: pointer;
    min-height: 44px;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

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

.mobile-filter-label:last-child {
    margin-bottom: 0;
}

.mobile-filter-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.mobile-filter-label span {
    font-size: var(--font-size-sm);
    color: var(--gray-800);
    font-weight: var(--font-weight-medium);
    user-select: none;
}

/* Checked state styling */
.mobile-filter-label:has(input:checked) {
    background: var(--primary-light, #e8ebfa);
    border-color: var(--primary);
}

.mobile-filter-label:has(input:checked) span {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
}

/* Min rating select styling */
.mobile-filter-group .form-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    min-height: 44px;
}
