/* Mobile Category Tabs */
.mobile-category-tabs-wrapper {
    background: white;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-category-tabs {
    display: flex;
    padding: 15px 10px 5px;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: flex-start;
}

.mobile-category-tabs::-webkit-scrollbar {
    display: none;
}

.mobile-tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 85px;
    cursor: pointer;
    position: relative;
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

.mobile-tab-icon-box {
    width: 50px;
    height: 50px;
    background: #f4f6f8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.mobile-tab-item.is-active .mobile-tab-icon-box {
    background: #e8f5e9;
    /* Soft green for brand match */
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(45, 90, 39, 0.1);
}

.mobile-tab-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-tab-item.is-active .mobile-tab-label {
    color: #2D5A27;
}

.mobile-tab-indicator {
    position: absolute;
    bottom: 4px;
    height: 3px;
    width: 24px;
    background: #2D5A27;
    border-radius: 20px;
}

/* Mobile Image Slider */
.mobile-slider-container {
    width: 100%;
    padding: 10px 15px 20px 15px;
    /* Keep left padding, allow right peek */
    overflow: hidden;
    position: relative;
    background: #fff;
}

.mobile-slider-track {
    display: flex;
    gap: 15px;
    /* Add gap between slides */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-slide {
    min-width: 100%;
    /* Back to 100% so only one is visible at a time */
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.mobile-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-slider-cta {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #2D5A27;
    color: white !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gp-slider-cta:active {
    transform: scale(0.95);
    background: #22451e;
}

.mobile-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.mobile-dot {
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-dot.is-active {
    background: #2D5A27;
    width: 25px;
    border-radius: 10px;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.06) !important;
    z-index: 99999 !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
}

.mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #717171 !important;
    flex: 1 !important;
    height: 100% !important;
    justify-content: center !important;
    gap: 4px !important;
}

.mobile-nav-icon {
    font-size: 24px !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
}

.mobile-nav-label {
    font-size: 12px !important;
    font-weight: 500 !important;
}

.mobile-nav-item.is-active {
    color: #2D5A27 !important;
    /* Green matching brand theme */
}

.mobile-nav-item.is-active .mobile-nav-icon {
    transform: none !important;
}

@media (min-width: 922px) {
    .mobile-category-tabs {
        justify-content: center;
    }

    .mobile-slide {
        height: 350px;
        /* Responsive height for larger screens */
    }

    .mobile-slider-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 0 40px;
    }

    .mobile-category-tabs-wrapper,
    .mobile-slider-container,
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Hide desktop elements on mobile */
@media (max-width: 921px) {
    .advanced-ad-banner {
        display: none !important;
    }

    body {
        padding-bottom: 80px !important;
        /* Space for fixed bottom nav */
    }
}