/* 礼品卡商城样式 */
.mingkesi-giftcard-mall {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 大图背景 */
.mall-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 28px;
}
.mall-hero .hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 600;
}
.hero-content p {
    font-size: 18px;
    opacity: 0.95;
}

/* 用户卡片 */
.user-info-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.user-assets {
    display: flex;
    gap: 30px;
    flex: 1;
}
.asset-item {
    text-align: center;
}
.asset-label {
    display: block;
    font-size: 12px;
    color: #8e8e93;
    margin-bottom: 4px;
}
.asset-value {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B00;
}
.login-prompt {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

/* 区块标题 */
.mall-section {
    margin-bottom: 60px;
}
.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 5px solid #FF6B00;
}

/* 商品网格 */
.giftcard-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.giftcard-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.giftcard-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.product-info {
    padding: 16px;
}
.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #FF6B00;
    margin-bottom: 8px;
}
.product-desc {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.4;
}
.btn-buy {
    display: inline-block;
    background: #FF6B00;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-buy:hover {
    background: #e05a00;
    color: white;
}

/* 充值模块 */
.recharge-box {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.recharge-input-group {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e4e8;
    border-radius: 50px;
    padding: 0 16px;
    background: #f9f9fb;
    margin-bottom: 20px;
}
.currency {
    font-size: 20px;
    font-weight: 600;
    color: #1c1c1e;
    margin-right: 8px;
}
#recharge-amount {
    border: none;
    padding: 14px 0;
    font-size: 18px;
    width: 180px;
    background: transparent;
    outline: none;
}
.recharge-suggestions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.suggest-tag {
    background: #f0f0f5;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
}
.suggest-tag:hover {
    background: #FF6B00;
    color: white;
}
.btn-recharge {
    background: linear-gradient(135deg, #FF6B00, #FF9F4A);
    border: none;
    padding: 14px 40px;
    border-radius: 40px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}
.btn-recharge:hover {
    transform: scale(1.02);
}
.recharge-note {
    font-size: 12px;
    color: #8e8e93;
    margin-top: 16px;
}

/* 企业采购两栏布局 */
.inquiry-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.inquiry-form-box {
    flex: 2;
    min-width: 260px;
}
.inquiry-wechat {
    flex: 1;
    min-width: 240px;
}
.wechat-card {
    background: #f9f9fb;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.wechat-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2c3e50;
}
.wechat-qrcode img {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    margin: 0 auto 16px;
    display: block;
    border: 1px solid #e2e4e8;
}
.wechat-number {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.wechat-number strong {
    color: #FF6B00;
    font-size: 16px;
}
.copy-wechat {
    background: #e9ecef;
    border: none;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}
.copy-wechat:hover {
    background: #FF6B00;
    color: white;
}
.wechat-tip {
    font-size: 12px;
    color: #8e8e93;
    margin-top: 8px;
}
.inquiry-desc {
    color: #6c757d;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e4e8;
}
.inquiry-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.inquiry-field {
    flex: 1;
}
.inquiry-field.full-width {
    flex: 1;
    margin-top: 10px;
}
.inquiry-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.inquiry-field input,
.inquiry-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e4e8;
    border-radius: 12px;
    font-size: 14px;
    transition: 0.2s;
}
.inquiry-field input:focus,
.inquiry-field textarea:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 0 2px rgba(255,107,0,0.1);
}
.btn-inquiry {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.2s;
}
.btn-inquiry:hover {
    background: #1a2a3a;
}
.message-area {
    margin-top: 12px;
    font-size: 14px;
}
.message-area .error {
    color: #dc3545;
}
.message-area .success {
    color: #28a745;
}
.message-area .loading {
    color: #FF6B00;
}
.no-products {
    text-align: center;
    padding: 60px;
    background: #f9f9fb;
    border-radius: 20px;
    color: #8e8e93;
}

/* 响应式 */
@media (max-width: 768px) {
    .mall-hero {
        padding: 40px 20px;
    }
    .hero-content h1 {
        font-size: 28px;
    }
    .user-info-card {
        flex-direction: column;
        text-align: center;
    }
    .user-assets {
        justify-content: center;
    }
    .inquiry-wrapper {
        flex-direction: column;
    }
    .wechat-card {
        margin-top: 0;
    }
    .inquiry-row {
        flex-direction: column;
        gap: 16px;
    }
    .giftcard-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}