/* 首页移动端适配 */
body {
    background: #f3f5fa;
}

.home-header-mobile {
    display: none;
}

.scm-homepage-root {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: linear-gradient(180deg, #f8f9fc 0%, #f3f5fa 48%, #eef1f7 100%);
    padding-bottom: 32px;
    display: block;
}

.scm-homepage-inner {
    width: 85vw;
    margin-left: 7.5vw;
    padding-left: 0;
    box-sizing: border-box;
    gap: 16px;
}

.scm-home-main {
    gap: 14px;
    align-items: stretch;
}

.scm-home-main .q-ma-xs {
    margin: 0 !important;
}

.scm-home-hero {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.scm-home-hero .q-img__container,
.scm-home-hero img {
    border-radius: 14px;
}

.scm-home-sidebar,
.scm-home-center,
.scm-home-side-banners {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    background: #fff;
}

.scm-home-sidebar .q-list {
    border: none !important;
    border-radius: 12px;
    overflow: hidden;
}

.scm-home-sidebar .bg-light-blue {
    background: linear-gradient(135deg, #4fc3f7 0%, #039be5 100%) !important;
}

.scm-home-carousel {
    width: calc((85vw - 250px) * 16 / 19);
    height: calc((85vw - 250px) * 8 / 19);
    border-radius: 12px;
    overflow: hidden;
}

.scm-home-carousel .q-carousel__slide {
    border-radius: 12px;
    overflow: hidden;
}

.scm-home-sidebar {
    width: 210px;
}

.scm-home-sidebar .q-list {
    width: 210px;
}

.scm-home-sidebar .q-scroll-area {
    height: calc((85vw - 250px) * 8 / 19 - 50px);
}

.scm-home-side-banners .q-img {
    width: calc((85vw - 250px) * 3 / 19);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.scm-home-side-banners .q-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

/* 区块标题切图：圆角 + 底部渐隐，避免与下方内容硬切 */
.scm-section-banner {
    padding: 20px 0 10px !important;
    position: relative;
}

.scm-section-banner::after {
    content: '';
    display: block;
    width: 92%;
    height: 1px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, rgba(3, 155, 229, 0.18), transparent);
}

.scm-section-banner-img {
    width: 100%;
    max-width: 100%;
    height: calc(85vw * 50 / 960);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(3, 155, 229, 0.12);
    position: relative;
}

.scm-section-banner-img .q-img__container,
.scm-section-banner-img img {
    border-radius: 12px;
}

.scm-section-banner-img::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(248, 249, 252, 0.85) 100%);
    border-radius: 0 0 12px 12px;
}

.scm-homepage-inner > .q-card {
    background: transparent;
    box-shadow: none;
}

.scm-homepage-inner > .q-card > div > div + div {
    margin-top: 8px;
}

.scm-brand-sidebar {
    width: 210px;
    flex-shrink: 0;
}

.scm-brand-sidebar .q-list {
    border-radius: 12px;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.scm-brand-sidebar .bg-light-blue {
    background: linear-gradient(135deg, #4fc3f7 0%, #039be5 100%) !important;
}

.scm-brand-topics-scroll {
    height: 350px;
    width: 210px;
}

.scm-brand-content {
    width: calc(100% - 220px);
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 4px;
}

.scm-brand-content .q-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.scm-brand-content .q-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.scm-brand-layout {
    gap: 12px;
}

.scm-product-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.scm-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.scm-product-card .q-img {
    border-radius: 10px 10px 0 0;
}

.scm-product-name {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 0 4px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.45;
    color: #0288d1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

@media (max-width: 768px) {
    .title_bar {
        display: none !important;
    }

    .home-header-mobile {
        display: block;
        width: 92vw;
        margin: 0 auto 12px;
        box-sizing: border-box;
    }

    .home-header-mobile__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 4px 8px;
    }

    .home-header-mobile__logo {
        font-size: 20px;
        font-weight: 700;
        color: #4b53f5;
        text-decoration: none;
        line-height: 1.2;
    }

    .home-header-mobile__doc {
        flex-shrink: 0;
        padding: 6px 12px;
        border-radius: 999px;
        background: #f0f1ff;
        color: #4b53f5;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

    .home-header-mobile__tabs {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 2px 4px;
    }

    .home-header-mobile__tabs a {
        flex: 0 0 auto;
        padding: 8px 14px;
        border-radius: 999px;
        background: #f5f6ff;
        color: #555;
        font-size: 14px;
        text-decoration: none;
        white-space: nowrap;
    }

    .home-header-mobile__tabs a.is-active {
        background: #4b53f5;
        color: #fff;
        font-weight: 600;
    }

    .scm-homepage-inner {
        width: 100% !important;
        padding-left: 4vw !important;
        padding-right: 4vw !important;
        box-sizing: border-box;
    }

    .scm-home-main {
        flex-wrap: wrap !important;
    }

    .scm-home-sidebar {
        width: 100% !important;
    }

    .scm-home-sidebar .q-list {
        width: 100% !important;
    }

    .scm-home-sidebar .q-scroll-area {
        height: auto !important;
        max-height: 220px;
    }

    .scm-home-center {
        width: 100%;
    }

    .scm-home-carousel {
        width: 100% !important;
        height: 52vw !important;
    }

    .scm-home-side-banners {
        flex-direction: column !important;
        width: 100%;
        gap: 8px;
    }

    .scm-home-side-banners .q-img {
        width: 100% !important;
    }

    .scm-home-hero {
        width: 100% !important;
        height: auto !important;
        max-height: none;
        border-radius: 12px;
    }

    .scm-section-banner-img {
        width: 100% !important;
        height: auto !important;
        max-height: none;
        border-radius: 10px;
    }

    .scm-home-sidebar,
    .scm-home-center,
    .scm-home-side-banners {
        border-radius: 10px;
    }

    .scm-brand-layout {
        flex-direction: column !important;
    }

    .scm-brand-sidebar {
        width: 100% !important;
    }

    .scm-brand-topics-scroll {
        width: 100% !important;
        height: auto !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .scm-brand-topics-scroll .q-scrollarea__container,
    .scm-brand-topics-scroll .q-scrollarea__content {
        overflow: visible !important;
        height: auto !important;
    }

    .scm-brand-topics-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        min-width: 100%;
    }

    .scm-brand-topics-head {
        flex: 0 0 auto;
        min-width: 72px;
    }

    .scm-brand-topic-item {
        flex: 0 0 auto;
        min-width: 96px;
    }

    .scm-brand-content {
        width: 100% !important;
        padding: 12px 0 0 !important;
    }

    .scm-product-card {
        padding: 4px;
        box-sizing: border-box;
    }

    .scm-brand-widget .q-btn-toggle,
    .q-card .q-btn-toggle {
        flex-wrap: wrap !important;
        width: 100%;
    }

    .pool-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 4vw;
        box-sizing: border-box;
    }

    #app {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .mall-sub-nav a[href*="openplatform"] {
        color: #4b53f5;
        font-weight: 600;
    }

    .q-col-gutter-md > div,
    .q-col-gutter-sm > div {
        padding-top: 8px;
    }

    /* 公司简介页 */
    .about-page .newindex_about {
        width: 100% !important;
        margin: 32px auto 0 !important;
        padding: 0 4vw;
        box-sizing: border-box;
    }

    .about-page .newindex_about_left,
    .about-page .newindex_about_right {
        float: none !important;
        width: 100% !important;
    }

    .about-page .newindex_about_right {
        margin-bottom: 20px;
    }

    .about-page .right_top {
        font-size: 22px !important;
        margin: 0 0 16px !important;
        color: #d2a145 !important;
    }

    .about-page .right_content {
        font-size: 15px !important;
        line-height: 1.75;
    }

    .about-page .about-company-img {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .about-page .gonewLfet {
        width: 100% !important;
        margin: 32px 0 0 !important;
        padding: 28px 4vw !important;
    }

    .about-page .gonewLfet .newindex_about_left,
    .about-page .gonewLfet .newindex_about_right {
        padding: 16px 0;
    }

    .about-page .gonewLfet .newindex_about_left {
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 8px;
        padding-bottom: 24px;
    }

    .about-page .com_uito {
        font-size: 18px;
    }

    .about-page .com_text {
        font-size: 14px;
    }

    .about-page .about-section-title {
        font-size: 18px;
        padding: 0 4vw;
    }

    .about-page .prevdoc {
        flex-wrap: wrap;
        margin-top: 24px;
        gap: 16px 0;
    }

    .about-page .prodcs {
        width: 50% !important;
    }

    .about-page .about-history {
        margin-top: 32px;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .about-page .about-history img {
        width: auto;
        min-width: 100%;
        max-width: none;
        height: auto;
    }

    .about-page .about-bottom-space {
        height: 40px;
    }

    /* 卡券宝页 */
    .card-page .card-main,
    .card-page .plan-main {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 4vw 24px !important;
    }

    .card-page .bar {
        font-size: 14px !important;
        min-height: 44px !important;
        border-radius: 6px;
        margin: 8px 0;
    }

    .card-page .card-step-area {
        height: auto !important;
        margin: 12px 0 16px;
    }

    .card-page .card-step-area_bg--desktop {
        display: none !important;
    }

    .card-page .card-step-tabs {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 12px;
    }

    .card-page .card-step1,
    .card-page .card-step2,
    .card-page .card-step3 {
        position: static !important;
        flex: 1;
        width: auto !important;
        left: auto !important;
        top: auto !important;
    }

    .card-page .card-step-content {
        position: static !important;
        width: 100% !important;
        top: auto !important;
    }

    .card-page .card-brands {
        height: auto !important;
        min-height: 0 !important;
        background: #fafafa !important;
        border-radius: 8px;
        padding: 16px 12px;
        margin-top: 12px;
    }

    .card-page .brands {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        flex-direction: column !important;
        align-items: center;
        gap: 12px;
    }

    .card-page .brands > img {
        width: 100% !important;
        max-width: 320px;
        height: auto !important;
    }

    .card-page .contactus {
        left: auto !important;
        right: 12px !important;
        top: auto !important;
        bottom: 96px !important;
        width: 56px !important;
        height: 68px !important;
        min-width: 56px;
        min-height: 68px;
    }

    .card-page .contactus > img {
        margin: 8px auto 0 !important;
        width: 40px !important;
        height: 40px !important;
        display: block;
    }

    .card-page .contact2 {
        width: 72vw !important;
        height: 72vw !important;
        max-width: 300px !important;
        max-height: 300px !important;
    }
}
