/* ==========================================
   Industralink Mobile Styles
   Alibaba-style Mobile UI
   ========================================== */

/* ==========================================
   BASE MOBILE STYLES (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Reset and Base */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    html {
        font-size: 14px;
    }
    
    body {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        background: #f5f5f5;
    }
    
    body.inner-page {
        padding-top: 100px !important;
    }
    
    body.inner-page .supplier-hero:first-child,
    body.inner-page .breadcrumb:first-child,
    body.inner-page .info-content,
    body.inner-page .support-content,
    body.inner-page .learn-more-content {
        margin-top: 10px !important;
    }
    
    /* Ensure consistent spacing for first content element - 10px target */
    main > *:first-child {
        margin-top: 10px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Hide Desktop Header Elements */
    .header-top,
    .header-main,
    .main-nav,
    .header .floating-toggle {
        display: none !important;
    }
    
    /* ==========================================
       MOBILE SEARCH BAR
       ========================================== */
    .mobile-search {
        display: block !important;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 10px 12px;
        z-index: 99998;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    
    .mobile-search-form {
        display: flex;
        background: #f5f5f5;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid #e0e0e0;
    }
    
    .mobile-search-input {
        flex: 1;
        border: none;
        padding: 12px 16px;
        font-size: 14px;
        background: transparent;
        outline: none;
    }
    
    .mobile-search-btn {
        background: #FF0000;
        border: none;
        padding: 0 20px;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }
    
    .mobile-search-suggestions {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 28px rgba(0,0,0,0.18);
        z-index: 99999;
        max-height: 260px;
        overflow-y: auto;
        margin-top: 4px;
    }
    .mobile-search-suggestions.show {
        display: block;
    }
    .mobile-search-suggestions .mob-sug-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        text-decoration: none;
        color: #333;
        font-size: 13px;
        border-bottom: 1px solid #f0f0f0;
        transition: background 0.15s;
    }
    .mobile-search-suggestions .mob-sug-item:last-child {
        border-bottom: none;
    }
    .mobile-search-suggestions .mob-sug-item:hover {
        background: #f5f6fa;
    }
    .mobile-search-suggestions .mob-sug-label {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .mobile-search-suggestions .mob-sug-type {
        font-size: 10px;
        color: #94a3b8;
        background: #f1f5f9;
        padding: 2px 8px;
        border-radius: 8px;
        margin-left: 8px;
        flex-shrink: 0;
    }
    .mobile-search-suggestions .mob-sug-empty {
        padding: 16px;
        text-align: center;
        color: #94a3b8;
        font-size: 12px;
    }
    
    /* ==========================================
       MOBILE SIDEBAR MENU
       ========================================== */
    .mobile-sidebar {
        display: block !important;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 100000;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }
    
    .mobile-sidebar.active {
        left: 0;
    }
    
    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99999;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .mobile-sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .mobile-sidebar-header {
        background: linear-gradient(180deg,#232f3e 0%,#1a1a1a 100%);
        padding: 20px 16px;
        color: #fff;
    }
    
    .mobile-sidebar-user {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .mobile-sidebar-user-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #FF0000;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 20px;
    }
    
    .mobile-sidebar-user-info h4 {
        font-size: 16px;
        margin: 0 0 4px;
    }
    
    .mobile-sidebar-user-info p {
        font-size: 12px;
        opacity: 0.8;
        margin: 0;
    }
    
    .mobile-sidebar-signin {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: #FF0000;
        color: #fff;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
    }
    
    .mobile-sidebar-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #fff;
        cursor: pointer;
    }
    
    .mobile-sidebar-nav {
        padding: 16px 0;
    }
    
    .mobile-sidebar-nav-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        color: #333;
        font-size: 15px;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
    }
    
    .mobile-sidebar-nav-item:active {
        background: #f9f9f9;
    }
    
    .mobile-sidebar-nav-item i {
        width: 24px;
        font-size: 18px;
        color: #666;
    }
    
    .mobile-sidebar-nav-item span {
        flex: 1;
    }
    
    .mobile-sidebar-nav-item .badge {
        background: #FF0000;
        color: #fff;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 11px;
    }
    
    .mobile-sidebar-categories {
        padding: 16px;
        border-top: 8px solid #f5f5f5;
    }
    
    .mobile-sidebar-categories-title {
        font-size: 13px;
        font-weight: 600;
        color: #999;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-sidebar-category {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .mobile-sidebar-category-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        background: #f9f9f9;
        border-radius: 8px;
        font-size: 13px;
        color: #333;
    }
    
    .mobile-sidebar-category-item i {
        color: #FF0000;
        font-size: 14px;
    }
    
    /* ==========================================
       MOBILE HOME HERO - Hide completely on mobile
       ========================================== */
    .home-hero {
        display: none !important;
    }

    /* Collapse gap: remove top padding so only the 10px first-child margin remains (target: 10-16px) */
    .top-ranking-arrivals-section {
        padding-top: 0 !important;
    }
    
    /* Mobile Banner - Hidden on mobile */
    .mobile-banner {
        display: none !important;
    }
    
    /* Mobile Product Grid - Hidden on mobile (between Tailored Products and All Products) */
    .mobile-product-grid {
        display: none !important;
    }
    
    /* Mobile Quick Actions */
    .mobile-quick-actions {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 12px;
        background: #fff;
        margin-bottom: 8px;
    }
    
    .mobile-quick-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 12px 4px;
        cursor: pointer;
    }
    
    .mobile-quick-action:active {
        opacity: 0.7;
    }
    
    .mobile-quick-action-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #fff;
    }
    
    .mobile-quick-action-label {
        font-size: 11px;
        color: #333;
        text-align: center;
    }
    
    /* Mobile Trust Cards */
    .mobile-trust-cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 12px;
        margin-bottom: 16px;
    }
    
    .mobile-trust-card {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
        border-radius: 8px;
    }
    
    .mobile-trust-card-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 14px;
    }
    
    .mobile-trust-card h4 {
        font-size: 12px;
        color: #fff;
        margin: 0;
    }
    
    /* Mobile Category Scroll */
    .mobile-category-scroll {
        display: flex !important;
        overflow-x: auto;
        padding: 12px;
        gap: 8px;
        background: #fff;
        margin-bottom: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .mobile-category-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-category-item {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 10px 14px;
        min-width: 70px;
        cursor: pointer;
    }
    
    .mobile-category-item:active {
        opacity: 0.7;
    }
    
    .mobile-category-item i {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: #FFF0F0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FF0000;
        font-size: 18px;
    }
    
    .mobile-category-item span {
        font-size: 11px;
        color: #333;
        white-space: nowrap;
    }
    
    /* ==========================================
       MOBILE SECTIONS
       ========================================== */
    .section-compact {
        background: #fff;
        margin-bottom: 8px;
        padding: 16px 0;
    }
    
    .section-compact-header {
        display: none;
    }
    
    .section-compact-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin: 0;
    }
    
    .section-compact-subtitle {
        font-size: 12px;
        color: #999;
        margin: 4px 0 0;
    }
    
    .section-compact-link {
        font-size: 12px;
        color: #FF0000;
        text-decoration: none;
    }
    
    /* Horizontal Scroll Product List */
    .section-compact-products {
        display: flex;
        overflow-x: auto;
        padding: 0 12px;
        gap: 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .section-compact-products::-webkit-scrollbar {
        display: none;
    }
    
    /* Mobile Product Card */
    .mobile-product-card {
        flex-shrink: 0;
        width: 150px;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        cursor: pointer;
    }
    
    .mobile-product-card:active {
        opacity: 0.9;
    }
    
    .mobile-product-card-img {
        width: 100%;
        height: 150px;
        object-fit: contain;
        background: #fff;
        padding: 8px;
    }
    
    .mobile-product-card-info {
        padding: 10px;
    }
    
    .mobile-product-card-title {
        font-size: 13px;
        color: #333;
        line-height: 1.4;
        height: 2.8em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 6px;
    }
    
    .mobile-product-card-price {
        font-size: 15px;
        font-weight: 700;
        color: #FF0000;
        margin-bottom: 4px;
    }
    
    .mobile-product-card-moq {
        font-size: 11px;
        color: #999;
        margin-bottom: 4px;
    }
    
    .mobile-product-card-country {
        font-size: 11px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    /* ==========================================
       MOBILE PRODUCT GRID (2 columns) - DISABLED
       ========================================== */
    .mobile-product-grid {
        display: none !important;
    }
    
    .mobile-product-grid .product-card {
        border-radius: 8px !important;
        overflow: hidden;
    }
    
    .mobile-product-grid .product-image {
        height: 140px !important;
    }
    
    .mobile-product-grid .product-info {
        padding: 10px !important;
    }
    
    .mobile-product-grid .product-title {
        font-size: 13px !important;
        line-height: 1.4;
        height: 2.8em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .mobile-product-grid .product-price {
        font-size: 15px !important;
    }
    
    .mobile-product-grid .product-moq {
        font-size: 11px;
    }
    
    .mobile-product-grid .product-supplier {
        font-size: 11px;
    }
    
    /* ==========================================
       MOBILE BOTTOM NAVIGATION
       ========================================== */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #fff;
        z-index: 99997;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        justify-content: space-around;
        align-items: center;
        padding: 0 8px;
    }
    
    .mobile-bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        cursor: pointer;
        color: #666;
        text-decoration: none;
    }
    
    .mobile-bottom-nav-item:active {
        opacity: 0.7;
    }
    
    .mobile-bottom-nav-item.active {
        color: #FF0000;
    }
    
    .mobile-bottom-nav-item i {
        font-size: 20px;
    }
    
    .mobile-bottom-nav-item span {
        font-size: 11px;
    }
    
    .mobile-bottom-nav-item .cart-badge {
        position: absolute;
        top: 4px;
        right: 50%;
        transform: translateX(14px);
        background: #FF0000;
        color: #fff;
        font-size: 10px;
        padding: 2px 5px;
        border-radius: 8px;
        min-width: 16px;
        text-align: center;
    }
    
    /* ==========================================
       MOBILE FLOATING BUTTONS
       ========================================== */
    .floating-toggle {
        right: 12px !important;
        bottom: 80px !important;
    }
    
    .floating-toggle-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
    
    /* ==========================================
       MOBILE IMAGES
       ========================================== */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* ==========================================
       MOBILE TYPOGRAPHY
       ========================================== */
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    h4 { font-size: 14px; }
    p { font-size: 14px; }
    
    /* ==========================================
       MOBILE SPACING
       ========================================== */
    .mobile-mb-8 { margin-bottom: 8px; }
    .mobile-mb-12 { margin-bottom: 12px; }
    .mobile-mb-16 { margin-bottom: 16px; }
    .mobile-p-12 { padding: 12px; }
    
    /* ==========================================
       MOBILE SECTION HEADERS
       ========================================== */
    .section-compact-header h2 {
        font-size: 16px;
        font-weight: 600;
    }
    
    /* Hide desktop sections on mobile */
    .hero,
    .flash-sale-section,
    .trust-features-section {
        display: none !important;
    }
    
    /* ==========================================
       MOBILE SPECIFIC ADJUSTMENTS
       ========================================== */
    .trust-cards-compact {
        display: none !important;
    }
    
    /* Mobile Full Width Banner */
    .mobile-full-banner {
        display: block !important;
        padding: 0 12px;
        margin-bottom: 12px;
    }
    
    .mobile-full-banner img {
        width: 100%;
        border-radius: 12px;
        aspect-ratio: 16/5;
        object-fit: cover;
    }
    
    /* Mobile View All Button */
    .mobile-view-all {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px;
        margin: 12px;
        background: #fff;
        border-radius: 8px;
        color: #FF0000;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        border: 1px solid #FF0000;
    }
    
    .mobile-view-all:active {
        background: #FFF0F0;
    }
    
    /* Mobile Product Card Specifics */
    .mobile-product-card .product-card {
        height: 100%;
    }
    
    .mobile-product-card .product-image {
        height: 140px !important;
    }
    
    .mobile-product-card .product-info {
        padding: 10px !important;
    }
    
    .mobile-product-card .product-title {
        font-size: 13px !important;
        line-height: 1.4;
        height: 2.6em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* ==========================================
   SMALL PHONE STYLES (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Smaller header */
    .mobile-header {
        height: 52px;
        padding: 0 10px;
    }
    
    .mobile-header-logo img {
        max-height: 32px;
    }
    
    /* Smaller product cards */
    .mobile-product-card {
        width: 140px;
    }
    
    .mobile-product-card-img {
        height: 140px;
    }
    
    .mobile-product-grid {
        gap: 6px;
        padding: 10px;
    }
    
    .mobile-product-grid .product-image {
        height: 120px !important;
    }
    
    /* Smaller category items */
    .mobile-category-item {
        min-width: 60px;
        padding: 8px 10px;
    }
    
    .mobile-category-item i {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    /* Smaller bottom nav */
    .mobile-bottom-nav {
        height: 56px;
    }
    
    .mobile-bottom-nav-item i {
        font-size: 18px;
    }
    
    .mobile-bottom-nav-item span {
        font-size: 10px;
    }
    
    /* Smaller quick actions */
    .mobile-quick-action-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .mobile-quick-action-label {
        font-size: 10px;
    }
}

/* ==========================================
   SHOW/HIDE UTILITY CLASSES
   ========================================== */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-only,
    .mobile-header,
    .mobile-search,
    .mobile-sidebar,
    .mobile-sidebar-overlay,
    .mobile-banner,
    .mobile-quick-actions,
    .mobile-trust-cards,
    .mobile-category-scroll,
    .mobile-product-grid,
    .mobile-bottom-nav,
    .mobile-view-all,
    .mobile-full-banner,
    .mobile-section-title,
    .mobile-product-card {
        display: none !important;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes slideInLeft {
    from {
        left: -280px;
    }
    to {
        left: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ==========================================
   LAZY LOADING
   ========================================== */
@media (max-width: 768px) {
    img[data-src] {
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    img.loaded {
        opacity: 1;
    }
}

/* ==========================================
   TOUCH OPTIMIZATIONS
   ========================================== */
@media (max-width: 768px) {
    a,
    button,
    .clickable {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
    
    a:active,
    button:active {
        opacity: 0.7;
    }
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Disable text selection on UI elements */
    .mobile-header,
    .mobile-bottom-nav,
    .mobile-sidebar-nav-item,
    .mobile-category-item,
    .mobile-quick-action {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* ==========================================
   DARK MODE SUPPORT FOR MOBILE
   ========================================== */
@media (max-width: 768px) {
    [data-theme="dark"] .mobile-header {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-header-hamburger,
    [data-theme="dark"] .mobile-header-btn {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-search {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-search-form {
        background: #2a2a2a;
        border-color: #333;
    }
    
    [data-theme="dark"] .mobile-search-input {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-sidebar {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-sidebar-header {
        background: linear-gradient(180deg,#151515 0%,#0a0a0a 100%);
    }
    
    [data-theme="dark"] .mobile-sidebar-nav-item {
        color: #e0e0e0;
        border-color: #333;
    }
    
    [data-theme="dark"] .mobile-sidebar-nav-item i {
        color: #999;
    }
    
    [data-theme="dark"] .mobile-sidebar-categories {
        border-color: #333;
    }
    
    [data-theme="dark"] .mobile-sidebar-category-item {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-bottom-nav {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-bottom-nav-item {
        color: #999;
    }
    
    [data-theme="dark"] .mobile-bottom-nav-item.active {
        color: #FF0000;
    }
    
    [data-theme="dark"] .section-compact {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .section-compact-title {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-product-card-title {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] body {
        background: #121212;
    }
    
    [data-theme="dark"] .mobile-quick-actions,
    [data-theme="dark"] .mobile-category-scroll,
    [data-theme="dark"] .mobile-view-all,
    [data-theme="dark"] .section-compact {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-quick-action-label,
    [data-theme="dark"] .mobile-category-item span {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-category-item i {
        background: #2a2a2a;
    }
}
    
    [data-theme="dark"] .mobile-header-hamburger,
    [data-theme="dark"] .mobile-header-icon-btn {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-search-form {
        background: #2a2a2a;
        border-color: #333;
    }
    
    [data-theme="dark"] .mobile-search-input {
        color: #e0e0e0;
        background: #2a2a2a;
    }
    
    [data-theme="dark"] .mobile-sidebar {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-sidebar-header {
        background: linear-gradient(180deg,#151515 0%,#0a0a0a 100%);
    }
    
    [data-theme="dark"] .mobile-sidebar-nav-item {
        color: #e0e0e0;
        border-color: #333;
    }
    
    [data-theme="dark"] .mobile-sidebar-nav-item i {
        color: #999;
    }
    
    [data-theme="dark"] .mobile-sidebar-categories {
        border-color: #333;
    }
    
    [data-theme="dark"] .mobile-sidebar-category-item {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-bottom-nav {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-bottom-nav-item {
        color: #999;
    }
    
    [data-theme="dark"] .mobile-bottom-nav-item.active {
        color: #FF0000;
    }
    
    [data-theme="dark"] .section-compact {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .section-compact-title {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-product-card-title {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] body {
        background: #121212;
    }
    
    [data-theme="dark"] .mobile-quick-actions,
    [data-theme="dark"] .mobile-category-scroll,
    [data-theme="dark"] .mobile-view-all,
    [data-theme="dark"] .section-compact {
        background: #1e1e1e;
    }
    
    [data-theme="dark"] .mobile-quick-action-label,
    [data-theme="dark"] .mobile-category-item span {
        color: #e0e0e0;
    }
    
    [data-theme="dark"] .mobile-category-item i {
        background: #2a2a2a;
    }

/* ==========================================
   MOBILE PRODUCTS PAGE - CATEGORY PANEL
   ========================================== */
    
    /* Mobile Products Page Layout */
    .products-page {
        padding: 12px 0 70px !important;
    }
    
    .products-wrapper {
        padding: 0 12px !important;
    }
    
    .products-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    /* Hide Desktop Sidebar on Mobile */
    .sidebar {
        display: none !important;
    }
    
    .filter-card {
        border-radius: 8px !important;
        margin-bottom: 12px !important;
    }
    
    .filter-header {
        padding: 12px 14px !important;
    }
    
    .filter-name {
        font-size: 13px !important;
    }
    
    .filter-body {
        padding: 8px 0 !important;
    }
    
    .filter-item {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
    
    .sub-filter {
        padding-left: 36px !important;
    }
    
    /* Mobile Category Panel - Collapsible List */
    .mobile-category-panel {
        display: block !important;
        background: #fff;
        border-radius: 8px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    
    .mobile-category-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
        background: #fafafa;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }
    
    .mobile-category-panel-header:active {
        background: #f0f0f0;
    }
    
    .mobile-category-panel-title {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .mobile-category-panel-title i {
        color: #3B82F6;
    }
    
    .mobile-category-toggle {
        font-size: 12px;
        color: #666;
        transition: transform 0.2s;
    }
    
    .mobile-category-list {
        display: flex;
        flex-direction: column;
        padding: 8px 0;
    }
    
    .mobile-category-item-filter {
        display: flex;
        align-items: center;
        padding: 10px 14px;
        font-size: 13px;
        color: #4B5563;
        cursor: pointer;
        border-bottom: 1px solid #f5f5f5;
        transition: background 0.15s;
    }
    
    .mobile-category-item-filter:last-child {
        border-bottom: none;
    }
    
    .mobile-category-item-filter:hover,
    .mobile-category-item-filter:active {
        background: #f8fafc;
        color: #3B82F6;
    }
    
    .mobile-category-item-filter.active {
        background: #eff6ff;
        color: #3B82F6;
        font-weight: 600;
    }
    
    .mobile-category-radio {
        width: 16px;
        height: 16px;
        border: 2px solid #d1d5db;
        border-radius: 50%;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .mobile-category-item-filter.active .mobile-category-radio {
        border-color: #3B82F6;
        background: #3B82F6;
    }
    
    .mobile-subcategory-list {
        padding-left: 38px;
        background: #fafafa;
    }
    
    .mobile-subcategory-item {
        display: flex;
        align-items: center;
        padding: 8px 14px;
        font-size: 12px;
        color: #6b7280;
        cursor: pointer;
        transition: color 0.15s;
    }
    
    .mobile-subcategory-item:hover,
    .mobile-subcategory-item:active,
    .mobile-subcategory-item.active {
        color: #3B82F6;
    }
    
    .mobile-subcategory-item::before {
        content: '';
        width: 4px;
        height: 4px;
        background: #d1d5db;
        border-radius: 50%;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    /* Mobile Filter Sections */
    .mobile-filter-section {
        background: #fff;
        border-radius: 8px;
        margin-bottom: 12px;
        overflow: hidden;
    }
    
    .mobile-filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 14px;
        background: #fafafa;
        cursor: pointer;
    }
    
    .mobile-filter-header:active {
        background: #f0f0f0;
    }
    
    .mobile-filter-options {
        padding: 8px 14px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .mobile-filter-chip {
        padding: 8px 14px;
        background: #f5f5f5;
        border-radius: 16px;
        font-size: 12px;
        color: #666;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .mobile-filter-chip:hover,
    .mobile-filter-chip:active {
        background: #e5e7eb;
    }
    
    .mobile-filter-chip.active {
        background: #3B82F6;
        color: #fff;
    }
    
    /* Mobile Products Grid */
    .main-content {
        width: 100% !important;
    }
    
    .content-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 12px !important;
        border-radius: 8px !important;
        margin-bottom: 12px !important;
    }
    
    .results-info {
        font-size: 13px !important;
    }
    
    .header-controls {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    .view-options {
        display: none !important;
    }
    
    .sort-box {
        flex: 1 !important;
    }
    
    .sort-select {
        width: 100% !important;
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .product-card {
        border-radius: 8px !important;
    }
    
    .product-body {
        padding: 10px !important;
    }
    
    .product-title {
        font-size: 12px !important;
        min-height: auto !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .product-price {
        font-size: 16px !important;
    }
    
    .product-footer {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .product-btn {
        padding: 8px 0 !important;
        font-size: 12px !important;
    }
    
    .pagination {
        margin-top: 24px !important;
        gap: 6px !important;
    }
    
    .page-btn {
        min-width: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }
    
    .empty-box {
        padding: 40px 16px !important;
    }
    
    .empty-box i {
        font-size: 48px !important;
    }
    
    .empty-box h3 {
        font-size: 16px !important;
    }

    /* Mobile Filter Bar */
    .mobile-filter-bar {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        background: #fff;
        border-radius: 8px;
        padding: 10px 8px;
        margin-bottom: 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    }
    
    .mobile-filter-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 6px;
        transition: background 0.2s;
        position: relative;
        min-width: 60px;
    }
    
    .mobile-filter-bar-item:active {
        background: #f0f0f0;
    }
    
    .mobile-filter-bar-item i {
        font-size: 16px;
        color: #666;
    }
    
    .mobile-filter-bar-item span {
        font-size: 11px;
        color: #666;
    }
    
    .mobile-filter-active-dot {
        position: absolute;
        top: 6px;
        right: 8px;
        width: 6px;
        height: 6px;
        background: #3B82F6;
        border-radius: 50%;
    }
    
    /* Mobile Filter Overlay */
    .mobile-filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99998;
    }
    
    .mobile-filter-overlay.active {
        display: block;
    }
    
    /* Mobile Filter Panel */
    .mobile-filter-panel {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        z-index: 99999;
        max-height: 70vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    .mobile-filter-panel.active {
        display: block;
        transform: translateY(0);
    }
    
    .mobile-filter-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        background: #fff;
    }
    
    .mobile-filter-panel-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
    }
    
    .mobile-filter-panel-close {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #666;
        font-size: 18px;
    }
    
    .mobile-filter-panel-close:active {
        background: #f0f0f0;
        border-radius: 50%;
    }
    
    .mobile-filter-panel-body {
        padding: 16px;
    }
    
    .mobile-filter-option {
        display: flex;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #f5f5f5;
        cursor: pointer;
    }
    
    .mobile-filter-option:last-child {
        border-bottom: none;
    }
    
    .mobile-filter-option:active {
        background: #f8fafc;
    }
    
    .mobile-filter-checkbox {
        width: 20px;
        height: 20px;
        border: 2px solid #d1d5db;
        border-radius: 4px;
        margin-right: 12px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-filter-option.active .mobile-filter-checkbox {
        background: #3B82F6;
        border-color: #3B82F6;
    }
    
    .mobile-filter-option.active .mobile-filter-checkbox::after {
        content: '\f00c';
        font-family: 'Font Awesome 5 Free';
        font-size: 12px;
        color: #fff;
    }
    
    .mobile-filter-option span {
        font-size: 14px;
        color: #333;
    }
    
    .mobile-filter-panel-footer {
        display: flex;
        gap: 12px;
        padding: 16px;
        border-top: 1px solid #eee;
        position: sticky;
        bottom: 0;
        background: #fff;
    }
    
    .mobile-filter-reset {
        flex: 1;
        padding: 14px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        background: #fff;
        color: #666;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
    }
    
    .mobile-filter-reset:active {
        background: #f5f5f5;
    }
    
    .mobile-filter-apply {
        flex: 1;
        padding: 14px;
        border: none;
        border-radius: 8px;
        background: #3B82F6;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
    }
    
    .mobile-filter-apply:active {
        background: #2563eb;
    }
}

/* ==========================================
   DESKTOP PRODUCTS PAGE - Ensure Desktop Works
   ========================================== */
@media (min-width: 769px) {
    .mobile-category-panel,
    .mobile-filter-bar,
    .mobile-filter-overlay,
    .mobile-filter-panel {
        display: none !important;
    }
}
}

/* ==========================================
   MOBILE NAVIGATION & FOOTER IMPROVEMENTS
   ========================================== */
@media (max-width: 768px) {
    
    /* Mobile Bottom Navigation - Fixed at bottom */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #ffffff;
        z-index: 99997;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
        justify-content: space-around;
        align-items: center;
        padding: 0;
        border-top: 1px solid #eee;
    }
    
    .mobile-bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        cursor: pointer;
        color: #999;
        text-decoration: none;
        transition: color 0.2s;
        position: relative;
        height: 100%;
    }
    
    .mobile-bottom-nav-item:active {
        background: #f5f5f5;
    }
    
    .mobile-bottom-nav-item.active {
        color: #FF0000;
    }
    
    .mobile-bottom-nav-item i {
        font-size: 20px;
        line-height: 1;
    }
    
    .mobile-bottom-nav-item span {
        font-size: 10px;
        font-weight: 500;
        white-space: nowrap;
    }
    
    .mobile-bottom-nav-item .cart-badge {
        position: absolute;
        top: 6px;
        right: 50%;
        transform: translateX(12px);
        background: #FF0000;
        color: #fff;
        font-size: 9px;
        padding: 2px 5px;
        border-radius: 10px;
        min-width: 16px;
        text-align: center;
        font-weight: 600;
    }
    
    /* Mobile Sidebar - Full height drawer */
    .mobile-sidebar {
        display: block !important;
        position: fixed;
        top: 0;
        left: -85%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 100001;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    }
    
    .mobile-sidebar.active {
        left: 0;
    }
    
    .mobile-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        z-index: 100000;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .mobile-sidebar-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .mobile-sidebar-header {
        background: linear-gradient(135deg, #232f3e 0%, #1a1a1a 100%);
        padding: 20px 16px;
        color: #fff;
        position: relative;
    }
    
    .mobile-sidebar-user {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 16px;
    }
    
    .mobile-sidebar-user-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, #FF0000, #ff4444);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 22px;
    }
    
    .mobile-sidebar-user-info h4 {
        font-size: 15px;
        font-weight: 600;
        margin: 0 0 4px;
        color: #fff;
    }
    
    .mobile-sidebar-user-info p {
        font-size: 12px;
        opacity: 0.8;
        margin: 0;
        color: #ccc;
    }
    
    .mobile-sidebar-signin {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: #FF0000;
        color: #fff;
        border-radius: 24px;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        transition: background 0.2s;
    }
    
    .mobile-sidebar-signin:active {
        background: #cc0000;
    }
    
    .mobile-sidebar-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #fff;
        cursor: pointer;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
    }
    
    .mobile-sidebar-close:active {
        background: rgba(255,255,255,0.2);
    }
    
    .mobile-sidebar-nav {
        padding: 8px 0;
    }
    
    .mobile-sidebar-nav-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        color: #333;
        font-size: 14px;
        border-bottom: 1px solid #f5f5f5;
        cursor: pointer;
        text-decoration: none;
        transition: background 0.15s;
    }
    
    .mobile-sidebar-nav-item:active {
        background: #f8f8f8;
    }
    
    .mobile-sidebar-nav-item i {
        width: 24px;
        font-size: 18px;
        color: #666;
    }
    
    .mobile-sidebar-nav-item span {
        flex: 1;
    }
    
    .mobile-sidebar-nav-item .badge {
        background: #FF0000;
        color: #fff;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 11px;
        font-weight: 600;
    }
    
    .mobile-sidebar-nav-divider {
        height: 1px;
        background: #eee;
        margin: 8px 0;
    }
    
    .mobile-sidebar-categories {
        padding: 16px;
        background: #fafafa;
        border-top: 8px solid #eee;
    }
    
    .mobile-sidebar-categories-title {
        font-size: 12px;
        font-weight: 600;
        color: #999;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .mobile-sidebar-category {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .mobile-sidebar-category-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        background: #fff;
        border-radius: 8px;
        font-size: 12px;
        color: #333;
        text-decoration: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        transition: all 0.2s;
    }
    
    .mobile-sidebar-category-item:active {
        background: #f0f0f0;
    }
    
    .mobile-sidebar-category-item i {
        color: #FF0000;
        font-size: 14px;
    }
    
    /* Mobile Header */
    .mobile-header {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #fff;
        z-index: 99999;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        align-items: center;
        padding: 0 12px;
        gap: 12px;
    }
    
    .mobile-header-hamburger {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #333;
        cursor: pointer;
        border-radius: 8px;
        transition: background 0.2s;
    }
    
    .mobile-header-hamburger:active {
        background: #f0f0f0;
    }
    
    .mobile-header-logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .mobile-header-logo img {
        max-height: 36px;
        width: auto;
    }
    
    /* Mobile Footer - Improved for Mobile */
    .marketplace-footer {
        background: #f8f9fa !important;
        padding: 24px 0 70px !important;
        margin-top: 24px;
    }
    
    .marketplace-footer .footer-payment-row {
        display: none;
    }
    
    .marketplace-footer .footer-main {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
    }
    
    .marketplace-footer .footer-column {
        border-bottom: 1px solid #eee;
        padding: 12px 0;
    }
    
    .marketplace-footer .footer-column:last-child {
        border-bottom: none;
    }
    
    .marketplace-footer .footer-column h5 {
        font-size: 13px;
        font-weight: 600;
        color: #333;
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }
    
    .marketplace-footer .footer-column h5::after {
        content: '+';
        font-size: 18px;
        font-weight: 300;
        color: #999;
        transition: transform 0.2s;
    }
    
    .marketplace-footer .footer-column.expanded h5::after {
        content: '-';
    }
    
    .marketplace-footer .footer-column ul {
        display: none;
        padding-top: 8px;
    }
    
    .marketplace-footer .footer-column.expanded ul {
        display: block;
    }
    
    .marketplace-footer .footer-column ul li {
        margin-bottom: 8px;
    }
    
    .marketplace-footer .footer-column ul li a {
        font-size: 13px;
        color: #666;
        text-decoration: none;
    }
    
    .marketplace-footer .footer-social-row {
        display: flex;
        gap: 16px;
        margin-bottom: 12px;
    }
    
    .marketplace-footer .footer-social-row a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #f0f0f0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 16px;
        text-decoration: none;
        transition: all 0.2s;
    }
    
    .marketplace-footer .footer-social-row a:active {
        background: #FF0000;
        color: #fff;
    }
    
    .marketplace-footer .footer-extra-links {
        display: flex;
        gap: 16px;
    }
    
    .marketplace-footer .footer-extra-links a {
        font-size: 12px;
        color: #666;
        text-decoration: none;
    }
    
    .marketplace-footer .footer-copyright {
        padding: 16px;
        margin-top: 8px;
    }
    
    .marketplace-footer .footer-copyright p {
        font-size: 11px;
        color: #999;
        text-align: center;
    }
    
    /* Mobile Quick Actions */
    .mobile-quick-actions {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 12px;
        background: #fff;
        margin-bottom: 8px;
    }
    
    .mobile-quick-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 12px 4px;
        cursor: pointer;
        text-decoration: none;
    }
    
    .mobile-quick-action:active {
        opacity: 0.7;
    }
    
    .mobile-quick-action-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #fff;
    }
    
    .mobile-quick-action-label {
        font-size: 11px;
        color: #333;
        text-align: center;
        white-space: nowrap;
    }
    
    /* Mobile Trust Cards */
    .mobile-trust-cards {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 12px;
        margin-bottom: 16px;
    }
    
    .mobile-trust-card {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px;
        border-radius: 8px;
    }
    
    .mobile-trust-card-icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 14px;
    }
    
    .mobile-trust-card h4 {
        font-size: 12px;
        color: #fff;
        margin: 0;
    }
    
    /* Mobile Category Scroll */
    .mobile-category-scroll {
        display: flex !important;
        overflow-x: auto;
        padding: 12px;
        gap: 8px;
        background: #fff;
        margin-bottom: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .mobile-category-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-category-item {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 10px 14px;
        min-width: 70px;
        cursor: pointer;
        text-decoration: none;
    }
    
    .mobile-category-item:active {
        opacity: 0.7;
    }
    
    .mobile-category-item i {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: #FFF0F0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FF0000;
        font-size: 18px;
    }
    
    .mobile-category-item span {
        font-size: 11px;
        color: #333;
        white-space: nowrap;
        text-align: center;
    }
    
    /* Mobile Home Hero */
    .home-hero {
        padding: 0 !important;
        margin-top: 0 !important;
    }
    
    .home-hero-grid {
        display: block !important;
    }
    
    .category-menu-card {
        display: none !important;
    }
    
    .hero-slideshow-container {
        display: none !important;
    }
    
    .right-cards {
        display: none !important;
    }
    
    /* Mobile Banner */
    .mobile-banner {
        display: block !important;
        padding: 12px;
        padding-top: 120px;
    }
    
    .mobile-banner-img {
        width: 100%;
        border-radius: 12px;
        aspect-ratio: 16/6;
        object-fit: cover;
        background: #f0f0f0;
    }
}

/* ==========================================
   MOBILE FOOTER COLLAPSE SCRIPT STYLES
   ========================================== */
@media (min-width: 769px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay,
    .mobile-header,
    .mobile-search,
    .mobile-bottom-nav,
    .mobile-quick-actions,
    .mobile-trust-cards,
    .mobile-category-scroll,
    .mobile-banner,
    .footer-mobile-links {
        display: none !important;
    }
}

/* Mobile Footer Quick Links */
@media (max-width: 768px) {
    .footer-mobile-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
        margin-bottom: 16px;
        background: #fff;
        border-radius: 8px;
        margin-left: 16px;
        margin-right: 16px;
    }
    
    .footer-mobile-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
        color: #333;
        font-size: 13px;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .footer-mobile-link:last-child {
        border-bottom: none;
    }
    
    .footer-mobile-link:active {
        background: #f8f8f8;
    }
    
    .footer-mobile-link i {
        width: 20px;
        color: #FF0000;
        font-size: 16px;
    }
}
