/* ==================== QR Codes Display 组件样式 ==================== */
.qr-codes-section {
    padding: 0;
    background: #f8f9fa;
}

.qr-codes-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.qr-codes-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 3rem;
}

/* 标题 - 已优化 */
.qr-codes__title {
    text-align: center;
    font-size: 1.5rem;
    color: #1a252f !important; /* 更深的颜色 */
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2980b9; /* 更深的蓝色边框 */
    font-weight: 700;
}

.qr-codes__content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.qr-code-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.qr-code__image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef; /* 稍粗的边框 */
}

/* 标签 - 已优化 */
.qr-code__label {
    margin: 1.5rem 0 1rem;
    font-size: 1.125rem;
    color: #1a252f !important; /* 更深的颜色 */
    font-weight: 700;
}

/* 二维码按钮样式 - 已优化 */
.qr-code__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    max-width: 200px;
    margin-top: 0.5rem;
    box-sizing: border-box;
    color: white !important; /* 强制白色文字 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* 增加文字阴影增强可读性 */
}

.qr-code__button svg {
    stroke: currentColor;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.qr-code__button:hover svg {
    transform: translateX(3px);
}

/* 个人微信按钮 - 使用更深蓝色 */
.qr-code__button--personal {
    background: #2980b9 !important;
    color: white !important;
    border-color: #1c6ea4 !important;
    font-weight: 600;
}

.qr-code__button--personal:hover {
    background: #1c6ea4 !important;
    border-color: #16527a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 110, 164, 0.3);
}

/* 公众号按钮 - 使用更深绿色 */
.qr-code__button--official {
    background: #229954 !important;
    color: white !important;
    border-color: #1e8449 !important;
    font-weight: 600;
}

.qr-code__button--official:hover {
    background: #1e8449 !important;
    border-color: #196f3d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 132, 73, 0.3);
}

/* 微信小店按钮 - 使用更深橙色 */
.qr-code__button--shop {
    background: #d35400 !important;
    color: white !important;
    border-color: #ba4a00 !important;
    font-weight: 600;
}

.qr-code__button--shop:hover {
    background: #ba4a00 !important;
    border-color: #a04000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(186, 74, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qr-codes-card {
        padding: 2rem 1.5rem;
    }
    
    .qr-codes__content {
        gap: 2rem;
    }
    
    .qr-code__image {
        width: 160px;
        height: 160px;
    }
    
    .qr-code__label {
        font-size: 1rem;
    }
    
    .qr-code__button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .qr-codes__content {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .qr-code-item {
        max-width: 100%;
        width: 100%;
    }
    
    .qr-code__image {
        width: 180px;
        height: 180px;
    }
}

/* 在 qr-codes-display.css 中修改 */
.qr-code__button {
    color: white !important; /* 强制白色文字 */
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* 增加文字阴影增强可读性 */
}

/* 确保所有按钮变体都是白色文字 */
.qr-code__button--personal,
.qr-code__button--official,
.qr-code__button--shop {
    color: white !important;
}

/* 悬停状态也要保持白色 */
.qr-code__button--personal:hover,
.qr-code__button--official:hover,
.qr-code__button--shop:hover {
    color: white !important;
}

/* 背景色再加深一点确保对比度 */
.qr-code__button--personal {
    background: #1c6ea4 !important; /* 更深蓝色 */
    border-color: #16527a !important;
}

.qr-code__button--official {
    background: #1e8449 !important; /* 更深绿色 */
    border-color: #196f3d !important;
}

.qr-code__button--shop {
    background: #ba4a00 !important; /* 更深橙色 */
    border-color: #a04000 !important;
}