* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    background-color: #fff;
    min-height: 100vh;
}

.merchant-header {
    padding: 20px 16px;
    background: linear-gradient(to bottom, #fff, #f9f9f9);
    border-bottom: 1px solid #eee;
}

.shop-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.shop-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}

.shop-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e62e04;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.shop-badge img {
    height: 18px;
    width: auto;
    display: block;
}

.guarantee-text {
    font-size: 12px;
    color: #ff5000;
    background-color: #fff0e6;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.shop-stats {
    display: flex;
    justify-content: space-between;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item .score {
    color: #ff5000;
    font-weight: bold;
    font-size: 16px;
}

.stat-item .count, .stat-item .rate {
    font-weight: bold;
    font-size: 16px;
}

.stat-item .label {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.filter-section {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-btn {
    border: none;
    background-color: #fef0f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
}

.filter-btn.active {
    background-color: #e62e04;
    color: #fff;
}

.comments-list {
    padding-bottom: 20px;
}

.comment-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.username {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.more-options {
    position: absolute;
    right: 0;
    color: #ccc;
    font-size: 14px;
}

.package-info {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #333;
}

.comment-images {
    margin-bottom: 12px;
}

.comment-img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f0f0f0;
}

.action-bar {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    color: #666;
    font-size: 13px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.action-item i {
    font-size: 16px;
}

.action-item.liked {
    color: #ff5000;
}

.action-item.liked i {
    color: #ff5000;
}

/* 图片放大弹框 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.comment-img {
    cursor: pointer;
    transition: opacity 0.2s;
}

.comment-img:hover {
    opacity: 0.9;
}
