/* 模态框共享样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9997;
    display: none;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;

}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 公共弹窗头部样式 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

/* SKU定价弹窗特定样式 */
.sku-pricing-modal .modal-header {
    justify-content: center;
    position: relative;
    height: 40px;
}

.sku-pricing-modal .modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    width: 100%;
}

/* 关闭按钮样式已移至modal-factory.js动态插入 */

.modal-body {
    padding: 24px;
    overflow-y: auto;
    min-height: 200px;
}

/* 模态框底部样式 - sku-pricing-modal特定样式已在sku-pricing-modal.css中定义 */

/* 关于我弹窗特有样式 */
.about-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.wechat-id, .xiaohongshu-id {
    color: var(--red);
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
}