/* 移动端 - 积分商城与会员权益 */

.m-point-mall-page {
    min-height: 100vh;
    background: #fff;
    color: #333;
}

/* ========== Hero ========== */
.m-point-mall-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 12px 12px 8px;
    border-radius: 12px;
}

.m-point-mall-hero-bg {
    position: absolute;
    inset: 0;
    background: url(https://mstatic.ofpay.com/marketing/upload/f0656b38cc2c4e9a9387f898e48c9dad.png) no-repeat center center;
    background-size: cover;
    border-radius: 12px;
}

.m-point-mall-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
}

.m-point-mall-hero-title {
    margin: 0 0 12px;
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
}

.m-point-mall-hero-sub {
    margin: 0;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
}

.m-point-mall-hero-btn {
    background: url(https://mstatic.ofpay.com/marketing/upload/9712ea36411743a1807291691d285d24.png) no-repeat center center;
    background-size: 100% 100%;
    width: 120px;
    height: 36px;
    margin: 20px auto 0;
    border: none;
    cursor: pointer;
}

/* ========== 通用区块样式 ========== */
.m-point-mall-section {
    padding: 24px 14px;
}

.m-point-mall-title {
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.m-point-mall-sub {
    margin: 10px 0 0;
    text-align: center;
    color: #666;
    font-size: 12px;
}

/* ========== 信息安全、场景权益、服务到位 ========== */
.m-point-service-section {
    background: #fff;
}

.m-point-service-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.m-point-service-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.m-point-service-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-point-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-point-service-name {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
}

.m-point-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.m-point-service-list li {
    font-size: 10px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2px;
}

/* ========== 专属积分商城体系 ========== */
.m-point-mall-system {
    background: #f8f9fa;
}

.m-point-mall-tabs {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.m-point-mall-tab {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.m-point-mall-tab:hover {
    border-color: #0148A4;
    color: #0148A4;
}

.m-point-mall-tab.is-active {
    background: #0148A4;
    border-color: #0148A4;
    color: #fff;
}

.m-point-mall-tab-content {
    margin-top: 20px;
}

.m-point-mall-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.m-point-mall-grid-second {
    margin-top: 10px;
}

.m-point-mall-item {
    text-align: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.m-point-mall-img {
    width: 100%;
    overflow: hidden;
}

.m-point-mall-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.m-point-mall-item-title {
    padding: 10px 0;
    font-size: 11px;
    color: #666;
    margin: 0;
}

/* ========== 响应式 ========== */
@media (min-width: 480px) {
    .m-point-mall-hero {
        min-height: 260px;
    }

    .m-point-mall-hero-inner {
        padding: 50px 24px;
    }

    .m-point-mall-hero-btn {
        width: 160px;
        height: 40px;
    }

    .m-point-service-grid {
        gap: 14px;
    }

    .m-point-service-card {
        padding: 20px 16px;
    }

    .m-point-service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .m-point-service-name {
        font-size: 14px;
    }

    .m-point-service-list li {
        font-size: 11px;
    }

    .m-point-mall-tabs {
        gap: 10px;
    }

    .m-point-mall-tab {
        padding: 10px 18px;
        font-size: 13px;
    }

    .m-point-mall-grid {
        gap: 14px;
    }

    .m-point-mall-item-title {
        font-size: 12px;
        padding: 12px 0;
    }
}

@media (min-width: 640px) {
    .m-point-mall-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .m-point-service-grid {
        max-width: 500px;
        margin: 24px auto 0;
    }
}
