/* 移动端 - 权益商品 */

.m-equity-page {
    min-height: 100vh;
    background: #f3f4f7;
    color: #333;
    padding-bottom: 24px;
}

.m-equity-page section {
    /* padding: 20px 16px 8px; */
}

.m-equity-hero {
    margin: 12px 12px 8px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.m-equity-hero-overlay {
    position: relative;
    width: 100%;
    min-height: 180px;
    border-radius: 12px;
    overflow: hidden;
}

.m-equity-hero-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.m-equity-hero-overlay-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    text-align: center;
    color: #fff;
}

.m-equity-hero-overlay-inner h2 {
    margin: 0 0 10px;
    font-size: clamp(16px, 4.5vw, 22px);
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.m-equity-hero-overlay-inner p {
    margin: 0 0 16px;
    font-size: clamp(12px, 3.2vw, 14px);
    font-weight: 500;
    color: #fff;
    line-height: 1.5;
}

.m-equity-hero-btn {
    width: 120px;
    height: 38px;
    border: none;
    border-radius: 19px;
    background: url(https://mstatic.ofpay.com/marketing/upload/a9ae562749214593ae08e00fee3c1927.png) no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
}

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

.m-equity-sub {
    margin: 6px auto 0;
    max-width: 320px;
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

/* 虚拟权益 tabs */
.m-equity-tabs {
    margin: 12px -4px 0;
    padding: 0 4px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.m-equity-tabs::-webkit-scrollbar {
    display: none;
}

.m-equity-tab {
    flex: 0 0 auto;
    border: 0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    color: #666;
    background: #ffffff;
    white-space: nowrap;
}

.m-equity-tab.is-active {
    background: #0148A4;
    color: #ffffff;
}

.m-equity-virtual-grid {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
}

.m-equity-virtual-grid-inner {
    width: 100%;
}

/* 轮播容器 */
.m-equity-virtual-slider {
    width: 100%;
    overflow: hidden;
}

.m-equity-virtual-track {
    display: flex;
    transition: transform 0.4s ease;
}

.m-equity-virtual-slide {
    width: 100%;
    flex: 0 0 100%;
}

/* 3列网格布局 */
.m-equity-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 4px;
}

/* 上图下文卡片 */
.m-equity-brand-card {
    /* background: #ffffff; */
    /* border-radius: 8px; */
    /* padding: 12px 8px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); */
}

.m-equity-brand-img-wrap {
    width: 100%;
    /* height: 52px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.m-equity-brand-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.m-equity-brand-name {
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页指示器 */
.m-equity-virtual-dots {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.m-equity-virtual-dot {
    width: 6px;
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: rgba(42, 95, 168, 0.28);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.m-equity-virtual-dot.is-active {
    width: 18px;
    background: #2b5fa8;
}

/* 实物权益云图 */
.m-equity-physical {
    background: linear-gradient(180deg, #fafbfc 0%, #f0f3f8 45%, #fafbfc 100%);
    border-top: 1px solid #eceff4;
    border-bottom: 1px solid #eceff4;
    padding-bottom: 20px;
}

.m-equity-physical-sub {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.8;
    color: #8b9099;
    text-align: center;
}

.m-equity-physical-sub span {
    display: inline-block;
}

.m-equity-physical-sub .sep {
    margin: 0 6px;
    color: #cfd4dc;
}

/* 实物权益 Tab 切换 */
.m-equity-goods-tabs {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 10px;
}

.m-equity-goods-tab {
    border: 0;
    background: transparent;
    font-size: 14px;
    color: #6a6a6a;
    padding: 6px 10px;
    margin: 0 6px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    position: relative;
}

.m-equity-goods-tab.active {
    color: #2f2f2f;
}

.m-equity-goods-tab.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    width: 40px;
    height: 3px;
    transform: translateX(-50%);
    background: #0148A4;
}

.m-equity-goods-content {
    margin-top: 16px;
    /* padding: 12px; */
    min-height: auto;
    background: #fff;
    border-radius: 10px;
}

.m-equity-goods-panel {
    display: none;
}

.m-equity-goods-panel.active {
    display: block;
}

/* 实物权益网格布局 */
.m-equity-goods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 10px;
    padding: 4px;
}

.m-equity-goods-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background: #ffffff;
    border-radius: 8px;
    padding: 12px 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); */
}

.m-equity-goods-img-wrap {
    width: 100%;
    /* height: 52px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.m-equity-goods-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.m-equity-goods-name {
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-equity-physical-cloud-wrap {
    margin-top: 18px;
}

.m-equity-physical-cloud {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 260px;
    margin: 0 auto;
}

.m-equity-physical-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    background: radial-gradient(circle at 35% 30%, #5eb0ff 0%, #2a7fe8 38%, #1a5fc4 100%);
    box-shadow:
        0 10px 34px rgba(30, 110, 200, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.m-equity-physical-orb {
    position: absolute;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.m-equity-physical-orb-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    font-size: 10px;
    font-weight: 600;
    color: #4a5568;
    box-shadow:
        0 4px 16px rgba(15, 50, 100, 0.08),
        0 2px 6px rgba(15, 50, 100, 0.06);
}

.m-equity-physical-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.m-equity-physical-tag {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    color: #2a4678;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d7e0f0;
}

/* 我们的优势 */
.m-equity-advantage {
    background: #f7f8fc;
    padding: 20px 14px 24px;
}

.m-equity-advantage .m-equity-title {
    color: #000;
}

.m-equity-advantage .m-equity-sub {
    color: #666;
}

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

.m-equity-adv-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.m-equity-adv-card-media {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    overflow: hidden;
}

.m-equity-adv-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m-equity-adv-card-body {
    padding: 10px;
}

.m-equity-adv-card-title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

.m-equity-adv-card-desc {
    margin: 6px 0 0;
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 360px) {
    .m-equity-page section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .m-equity-virtual-grid {
        padding: 8px 8px 6px;
    }
}

