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

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.5;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    border-bottom: 1px solid #eee;
    z-index: 100;
}

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

.header-title {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
}

.back-icon, .search-icon {
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.search-icon {
    font-weight: bold;
}

.container {
    padding: 10px;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
    background-color: #f5f5f5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-content {
    padding: 12px;
}

.product-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.feature-tag {
    font-size: 12px;
    color: #666;
    padding: 2px 6px;
    border-radius: 2px;
    background-color: #f5f5f5;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    display: flex;
    align-items: baseline;
}

.price-symbol {
    color: #ff4d4f;
    font-size: 14px;
    margin-right: 2px;
}

.sale-price {
    color: #ff4d4f;
    font-size: 20px;
    font-weight: bold;
}

.original-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
    margin-left: 6px;
}

.buy-btn {
    background-color: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
}

.loading, .empty-tip {
    text-align: center;
    padding: 20px;
    color: #999;
}