/* =========================================
   MOBILE CATEGORY SWIPER - OPTIMIZED
   Integrated into Fixed Header
   ========================================= */

.mobile_category_swiper {
    display: none;
    background: #FFFFFF;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid #E8EAED;
    /* Removed sticky positioning as it's now inside fixed header */
}

.swiper_wrapper {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 15px;
    scrollbar-width: none;
    -ms-overflow-scrolling: touch;
    -webkit-overflow-scrolling: touch;
    align-items: center;
}

.swiper_wrapper::-webkit-scrollbar {
    display: none;
}

.cat_btn {
    flex: 0 0 auto;
    padding: 6px 14px;
    border: 1px solid #eee;
    border-radius: 20px;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    height: 32px; /* Fixed height for consistency */
}

.cat_btn i {
    font-size: 13px;
    color: #666;
}

.cat_btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.cat_btn.active i {
    color: #fff;
}

.cat_btn:hover {
    background: #f5f5f5;
}

.cat_btn.active:hover {
    background: #333;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .mobile_category_swiper {
        display: block;
        margin: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    
    .swiper_wrapper {
        padding: 0 12px;
    }
}