/* 快手门头样式 */
.ks-header {
    background-color: white;
    margin: 10px 15px 15px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    border-radius: 8px;
    overflow: hidden;
}

/* 顶部图片样式 */
.ks-header-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.ks-top-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 店铺信息样式 */
.ks-header-top {
    padding: 12px;
}

.ks-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    position: relative;
}

.ks-shop-logo {
    width: 42px;
    height: 42px;
    border-radius: 21px;
    margin-right: 10px;
    border: 2px solid var(--ks-primary);
}

.ks-shop-info {
    flex: 1;
}

.ks-shop-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--ks-text);
    margin-bottom: 3px;
}

/* 店铺体验样式 */
.ks-shop-experience {
    display: inline-flex;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    overflow: hidden;
    height: 18px;
    font-size: 10px;
    margin-top: 2px;
    width: auto;
}

.ks-experience-label {
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(196,152,72);
    border-right: 1px solid #e6e6e6;
    white-space: nowrap;
}

.ks-stars-container {
    background-color: rgb(250,247,239);
    padding: 0 1px !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ks-star {
    width: 11px !important;
    height: 11px !important;
    display: inline-block;
    margin-right: -1px !important;
    background-size: contain;
    background-repeat: no-repeat;
}

.ks-star:last-child {
    margin-right: 0;
}

.ks-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='rgb(196,152,72)' 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/svg%3E");
}

.ks-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='rgb(196,152,72)' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2v7.59l2.44 4.95-1.26 5.47z'/%3E%3Cpath fill='rgb(250,247,239)' d='M12 2v7.59l-2.44 4.95 1.26 5.47L12 17.27V2z'/%3E%3C/svg%3E");
}

.ks-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='%23e0e0e0' 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/svg%3E");
}

.ks-experience-status {
    background-color: rgb(250,247,239);
    color: rgb(196,152,72);
    border-left: none;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* 关注按钮样式 */
.ks-follow-btn {
    background-color: #ff3651;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
    height: 26px;
    line-height: 1;
    margin-left: auto;
}

.ks-follow-btn.following {
    background-color: #999;
}

.ks-shop-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--ks-border);
    padding-top: 8px;
    margin-top: 4px;
}

.ks-stat-item {
    text-align: center;
}

.ks-stat-value {
    font-size: 14px;
    font-weight: bold;
    color: var(--ks-text);
}

.ks-stat-label {
    font-size: 11px;
    color: var(--ks-text-light);
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-icon-kuaishou {
    margin-left: 2px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
}

/* 遮罩层样式 */
.ks-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.ks-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.ks-overlay-content {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 12px 18px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#ks-overlay-message {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* 快手旗舰标签样式 */
.ks-flagship-tag {
    display: inline-block;
    background-color: #000;
    color: rgb(244,222,192) !important;
    font-size: 11px;
    padding: 0px 3px;
    border-radius: 2px;
    margin-right: 4px;
    font-weight: bold;
} 