* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}
a {
    text-decoration: none;
    color: inherit;
}

a:hover, a:visited, a:active, a:link {
    text-decoration: none;
    color: inherit;
}
/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    max-width: 640px;
    margin: 0 auto;
}

.header-left {
    width: 40px;
    display: flex;
    justify-content: left;
    align-items: left;
    text-align: left;
}

.header-right {
    width: 40px;
    display: flex;
    justify-content: right;
    align-items: right;
    text-align: right;
}

.header-center {
    font-size: 18px;
    font-weight: 500;
}

/* 内容区域 */
.content {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 10px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* 晒单列表项 */
.review-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.nickname {
    font-size: 15px;
    font-weight: 500;
}

.review-content {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0;
}

/* 图片轮播 */
.image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin: 10px 0;
}

.image-container {
    display: flex;
    transition: transform 0.3s ease;
}

.review-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品信息 */
.product-info {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.product-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    margin-right: 10px;
}

.product-details {
    flex: 1;
}

.product-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.product-price {
    color: #FF734C;
    font-size: 16px;
    font-weight: 500;
}

.buy-button {
    background: #FF734C;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* 底部导航 */
/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    z-index: 100;
    max-width: 640px;
    margin: 0 auto;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    width: 20%;
}

.bottom-nav .nav-item .nav-icon {
    font-size: 20px;
    color: #666;
    margin-bottom: 4px;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 20px;
    max-height: 20px;
    margin: 0 auto 4px;
}

/* 确保所有SVG图标在非激活状态下颜色一致 */
.bottom-nav .nav-item svg path {
    fill: #666;
}

/* 为img类型的SVG图标设置颜色 */
.bottom-nav .nav-item .nav-icon {
    color: #666;
    filter: invert(42%) sepia(0%) saturate(0%) hue-rotate(143deg) brightness(95%) contrast(92%);
}

.bottom-nav .nav-item span {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.bottom-nav .nav-item.active .nav-icon,
.bottom-nav .nav-item.active span {
    color: #ff4d4f;
}

.bottom-nav .nav-item.active .nav-icon {
    color: #ff4d4f;
    filter: invert(39%) sepia(79%) saturate(2449%) hue-rotate(328deg) brightness(100%) contrast(98%);
}

.bottom-nav .nav-item.active svg path {
    fill: #ff4d4f;
    /* 确保激活状态下SVG图标颜色覆盖默认颜色 */
    transition: fill 0.2s ease;
}