/* 微信视频号商城模板头部样式 */

/* 头部容器 */
.wx-header {
    background-color: white;
    margin-bottom: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

/* 头部图片区域 */
.wx-header-image {
    position: relative;
    height: 120px;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

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

/* 头部内容区域 */
.wx-header-top {
    padding: 16px;
}

/* 店铺信息容器 */
.wx-logo-container {
    display: flex;
    align-items: flex-end;
    margin-bottom: 12px;
}

/* 店铺logo */
.wx-shop-logo {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin-right: 12px;
}

/* 店铺信息 */
.wx-shop-info {
    flex: 1;
}

.wx-shop-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1A1A1A;
}

/* 店铺体验评分 */
.wx-shop-experience {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wx-experience-label {
    font-size: 12px;
    color: #666666;
}

.wx-stars-container {
    display: flex;
    align-items: center;
}

.wx-star {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 2px;
    background-size: contain;
    background-repeat: no-repeat;
}

.wx-star-full {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF6B35' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'%3E%3C/path%3E%3C/svg%3E");
}

.wx-star-half {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF6B35' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'%3E%3C/path%3E%3Cpath fill='%23DDDDDD' d='M12 17.27L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'%3E%3C/path%3E%3C/svg%3E");
}

.wx-star-empty {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23DDDDDD' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'%3E%3C/path%3E%3C/svg%3E");
}

.wx-experience-status {
    font-size: 12px;
    color: #07C160;
    font-weight: 600;
}

/* 关注按钮 */
.wx-follow-btn {
    background-color: #07C160;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wx-follow-btn:hover {
    background-color: #06AD56;
}

.wx-follow-btn.following {
    background-color: #f0f0f0;
    color: #666666;
}



/* 微信图标 */
.wx-icon-weixin {
    margin-left: 4px;
    vertical-align: middle;
}

/* 遮罩层 */
.wx-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
}

.wx-overlay.active {
    display: block;
}

.wx-overlay-content {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 12px 20px;
}

#wx-overlay-message {
    color: white;
    text-align: center;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .wx-header-top {
        padding: 12px;
    }
    
    .wx-shop-logo {
        width: 56px;
        height: 56px;
        border-radius: 28px;
    }
    
    .wx-shop-title {
        font-size: 16px;
    }
    

} 