/* 状态栏 */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 导航栏 */
.nav-bar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 99;
    border-bottom: 1px solid #eee;
}

.nav-scroll {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 0;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.nav-item {
    flex-shrink: 0;
    padding: 0 15px;
    color: #333;
    text-decoration: none;
    position: relative;
}

.nav-item.active {
    color: #FF0036;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: #FF0036;
}

/* 功能图标区 */
.feature-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 15px;
    margin-top: 90px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
}

.icon-wrapper i {
    font-size: 20px;
}

/* 给不同图标设置不同颜色 */
.fa-clock { color: #FF0036; }
.fa-tags { color: #FF6A00; }
.fa-gem { color: #333333; }
.fa-tree { color: #4CAF50; }
.fa-tag { color: #FF0036; }
.fa-mobile-alt { color: #2196F3; }
.fa-plus-square { color: #4CAF50; }
.fa-clipboard-check { color: #FFC107; }
.fa-piggy-bank { color: #FF69B4; }
.fa-cut { color: #FF6A00; }

/* 徽章样式保持不变 */
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 12px;
}

.badge-new { background: #FF0036; color: #fff; }
.badge-clear { background: #FF6A00; color: #fff; }
.badge-get { background: #4CAF50; color: #fff; }
.badge-price { background: #FF0036; color: #fff; padding: 2px 8px; }

.icon-text {
    font-size: 12px;
    color: #333;
    margin-top: 8px;
}

/* 商品列表 */
.product-list {
    padding: 10px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-img {
    position: relative;
    padding-top: 100%;
    background: #f5f5f5;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    left: 0;
    bottom: 15px;
    background: #FF0036;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 0 4px 4px 0;
}

.product-info {
    padding: 10px;
}

.product-title {
    font-size: 13px;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
    margin: 8px 0;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.coupon {
    color: #FF6000;
    font-size: 12px;
    background: #FFF0E5;
    padding: 2px 6px;
    border-radius: 2px;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price {
    color: #FF0036;
    font-size: 18px;
    font-weight: bold;
}

.price::before {
    content: '¥';
    font-size: 12px;
    margin-right: 2px;
}

.sold {
    color: #999;
    font-size: 11px;
}

.seller-avatar {
    display: flex;
    gap: 4px;
}

.seller-avatar img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #eee;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    background: #fff;
    border-top: 1px solid #eee;
    height: 50px;
    box-shadow: 0 -1px 4px rgba(0,0,0,0.1);
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    text-decoration: none;
    font-size: 11px;
}

.bottom-nav .nav-item.active {
    color: #FF0036;
    font-weight: 500;
}

.bottom-nav .nav-item i {
    font-size: 22px;
    margin-bottom: 3px;
} 