* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    padding-bottom: 60px;
}

/* 顶部标题栏 */
.header {
    background-color: #1e88e5;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions i {
    margin-left: 15px;
}

/* 内容区域 */
.content {
    padding: 15px;
}

/* 发现分类 */
.discover-categories {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 15px;
    -webkit-overflow-scrolling: touch;
}

.category-item {
    flex: 0 0 auto;
    padding: 8px 15px;
    margin-right: 10px;
    background: white;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-item.active {
    background: #1e88e5;
    color: white;
}

/* 热门推荐 */
.section-title {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title a {
    font-size: 12px;
    color: #666;
    font-weight: normal;
    text-decoration: none;
}

/* 推荐卡片 */
.recommend-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.recommend-card {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recommend-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.recommend-info {
    padding: 12px;
}

.recommend-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommend-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommend-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.recommend-price {
    color: #ff5722;
    font-weight: bold;
}

/* 底部Tab栏 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
    z-index: 100;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.tab-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.tab-item.active {
    color: #1e88e5;
}