/* 商品图片占位示意图 - 通用样式 */

/* 商品卡片图片占位 */
.product-image-placeholder {
    width: 100%;
    height: 220px;
    border-bottom: 3px solid #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    overflow: hidden;
}

.product-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.03) 10px,
        rgba(0,0,0,0.03) 20px
    );
}

.product-image-icon {
    font-size: 64px;
    z-index: 1;
    margin-bottom: 10px;
}

.product-image-text {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

/* 大尺寸商品图片占位（详情页等） */
.product-image-placeholder-lg {
    width: 100%;
    height: 400px;
    border-bottom: 4px solid #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
    overflow: hidden;
}

.product-image-placeholder-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.03) 10px,
        rgba(0,0,0,0.03) 20px
    );
}

.product-image-placeholder-lg .product-image-icon {
    font-size: 120px;
}

.product-image-placeholder-lg .product-image-text {
    font-size: 16px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

/* Banner 占位 */
.banner-placeholder {
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    position: relative;
    overflow: hidden;
}

.banner-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255,255,0,0.1) 50px,
        rgba(255,255,0,0.1) 100px
    );
    animation: banner-move 20s linear infinite;
}

@keyframes banner-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.banner-icon {
    font-size: 120px;
    z-index: 1;
    margin-bottom: 20px;
}

.banner-text {
    font-size: 48px;
    font-weight: 900;
    color: #ffff00;
    text-transform: uppercase;
    letter-spacing: 4px;
    z-index: 1;
}

/* 头像占位 */
.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffff00 0%, #ffcc00 100%);
    border: 4px solid #000000;
    font-size: 48px;
}

/* 缩略图占位 */
.thumbnail-placeholder {
    width: 80px;
    height: 80px;
    border: 3px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    font-size: 32px;
    cursor: pointer;
}

.thumbnail-placeholder:hover {
    background: #ffff00;
    border-color: #ff0000;
}

.thumbnail-placeholder.active {
    border-color: #ff0000;
    background: #ffff00;
}
