/* mobile-price.css - 价格页专属H5适配样式（修复tab溢出） */
@media (max-width: 1200px) {
    /* ========== 价格页顶部标题/标签适配 ========== */
    .top_main {
        padding: 0.2rem;
    }
    .top_main_title {
        font-size: 0.32rem;
        text-align: center;
        margin-bottom: 0.3rem;
        line-height: 1.4;
    }
    .top_main_tab {
        display: flex;
        justify-content: space-between;
        height: 30px;
        padding: 0;
        margin: 0;
        border:none;
        background: none;
        margin-bottom: 1rem;
        width: 100%;
    }
    .top_main_tab::-webkit-scrollbar {
        display: none;
    }
    .top_main_tab > div {
        padding: 6px 12px;
        white-space: nowrap;
        cursor: pointer;
        color: #666;
        text-align: center;
        font-size: 14px;
        height: 30px;
        line-height: 30px;
        width: auto;
    }
    .top_main_tab > div.active {
        color: #5746ED;
    }
    .top_main_tab .tab_center {
        margin: 0;
    }

    /* ========== 价格卡片适配 ========== */
    .price_online, .price_robot {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.2rem;
    }
    .price_online > div, .price_robot > div {
        width: 100%;
        background: #fff;
        border-radius: 0.1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        padding: 0.4rem 0.3rem;
        text-align: center;
    }
    .price_title {
        font-size: 0.24rem;
        font-weight: bold;
        margin-bottom: 0.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .price_title img {
        width: 0.2rem;
        height: auto;
        margin-left: 0.1rem;
    }
    .price_title_leave {
        color: #5746ED;
    }
    .price_price {
        font-size: 0.28rem;
        font-weight: bold;
        margin-bottom: 0.15rem;
        display: flex;
        align-items: baseline;
        justify-content: center;
        flex-wrap: wrap;
    }
    .price_price span:first-child {
        color: #5746ED;
        font-size: 0.32rem;
        margin-right: 0.05rem;
    }
    .price_price span:nth-child(2) {
        font-size: 0.2rem;
        margin-right: 0.1rem;
    }
    .price_price span:last-child {
        font-size: 0.16rem;
        color: #666;
    }
    .price_desc {
        font-size: 0.18rem;
        color: #666;
        line-height: 1.4;
        margin-bottom: 0.3rem;
        padding: 0 0.1rem;
    }
    .price_btn {
        display: block;
        width: 80%;
        height: 0.6rem;
        line-height: 0.6rem;
        background: #5746ED;
        color: #fff;
        border-radius: 0.3rem;
        font-size: 0.2rem;
        margin: 0 auto 0.3rem;
        text-align: center;
        cursor: pointer;
    }
    .price_btn_leave {
        background: #333;
    }
    .price_info_item {
        font-size: 0.18rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 0.15rem;
        padding-left: 0.2rem;
    }
    .price_info_item img {
        width: 0.18rem;
        height: auto;
        margin-right: 0.1rem;
    }

    /* ========== 定制服务板块适配 ========== */
    .price_internal {
        width: 95%;
        margin: 0 auto;
        background: #fff;
        border-radius: 0.1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        padding: 0.4rem 0.3rem;
    }
    .price_internal_top {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.3rem;
        width: auto;
    }
    .price_internal_top_left {
        text-align: center;
        margin-bottom: 0.2rem;
    }
    .price_internal_top_left_title {
        font-size: 0.24rem;
        font-weight: bold;
        margin-bottom: 0.1rem;
    }
    .price_internal_top_left_desc {
        font-size: 0.18rem;
        color: #666;
    }
    .price_internal_top_right {
        font-size: 0.28rem;
        font-weight: bold;
        color: #5746ED;
        display: flex;
        align-items: baseline;
    }
    .price_internal_top_right span:first-child {
        font-size: 0.32rem;
        margin-right: 0.05rem;
    }
    .price_internal_top_right span:nth-child(2) {
        font-size: 0.2rem;
        margin-right: 0.1rem;
    }
    .price_internal_item {
        font-size: 0.18rem;
        line-height: 1.5;
        margin-bottom: 0.2rem;
        display: flex;
        align-items: flex-start;
    }
    .price_internal_item img {
        width: 0.18rem;
        height: auto;
        margin-right: 0.1rem;
        margin-top: 0.05rem;
        flex: none;
    }

    /* ========== 功能对比列表适配 ========== */
    .price_list {
        padding: 0.2rem;
        margin-top: 0.5rem;
    }
    .price_list_title {
        font-size: 0.28rem;
        font-weight: bold;
        text-align: center;
        margin-bottom: 0.3rem;
    }
    .price_list_sub {
        display: flex;
        background: #f5f5f5;
        border-radius: 0.05rem 0.05rem 0 0;
        overflow: hidden;
        width: 100%; /* 确保列表宽度不溢出 */
        margin-bottom: 0;
    }
    .list_label_item, .list_label_base {
        padding: 0.15rem 0.1rem;
        font-size: 0.16rem;
        text-align: center;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
        box-sizing: border-box; /* 内边距计入宽度 */
        line-height: .5rem;
    }
    .list_label_item {
        width: 40%;
        text-align: left;
        padding-left: 0.2rem;
        background: #f9f9f9;
        align-items: center;
        display: flex;

    }
    .list_label_base {
        width: 30%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .price_list_sub_item {
        display: flex;
        width: 100%; /* 确保列表项宽度不溢出 */
    }
    .price_list_sub_item .list_label_item,
    .price_list_sub_item .list_label_base {
        padding: 0.2rem 0.1rem;
        font-size: 0.16rem;
        box-sizing: border-box;
        line-height: .3rem;
    }
    .icon_num {
        color: #5746ED;
        font-weight: bold;
    }
    .price_list_sub_item img {
        width: 0.18rem;
        height: auto;
    }

    /* ========== 底部板块适配 ========== */
    .forth {
        padding: 0.5rem 0.2rem;
        text-align: center;
        margin-top: 0.5rem;
    }
    .forth_title {
        font-size: 0.28rem;
        margin-bottom: 0.2rem;
    }
    .forth_desc {
        font-size: 0.18rem;
        color: #666;
        margin-bottom: 0.3rem;
    }
    .forth_btn {
        display: inline-block;
        padding: 0.15rem 0.5rem;
        background: #5746ED;
        color: #fff;
        border-radius: 0.3rem;
        font-size: 0.2rem;
    }
    .footer {
        display: flex;
        flex-wrap: wrap;
        padding: 0.5rem 0.2rem;
        background: #f9f9f9;
        margin-top: 0.5rem;
    }
    .footer > div {
        width: 50%;
        margin-bottom: 0.3rem;
    }
    .footer_title {
        font-size: 0.2rem;
        font-weight: bold;
        margin-bottom: 0.15rem;
    }
    .footer_item {
        font-size: 0.16rem;
        color: #666;
        margin-bottom: 0.1rem;
    }

    /* ========== 滚动动画适配 ========== */
    .price_online > div, .price_robot > div, .price_internal, .price_list_sub_item {
        opacity: 0;
        transform: translateY(0.3rem);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .price_online > div.visible, .price_robot > div.visible, .price_internal.visible, .price_list_sub_item.visible {
        opacity: 1;
        transform: translateY(0);
        margin: 0 auto;
        padding: 15px 0;
    }

    /* 隐藏桌面端多余元素 */
    .top_pic {
        display: none;
    }
}

/* 小屏手机（375px以下）极致适配 */
@media (max-width: 375px) {
    .top_main_title {
        font-size: 0.28rem;
    }
    /* 小屏进一步缩小tab字体和内边距 */
    .top_main_tab > div {
        font-size: 0.16rem;
        padding: 2px 5px;
        display: inline-block;
    }
    .price_title {
        font-size: 0.22rem;
    }
    .price_price span:first-child {
        font-size: 0.28rem;
    }
    .price_desc {
        font-size: 0.16rem;
    }
    .price_info_item, .price_internal_item {
        font-size: 0.16rem;
    }
    .price_list_title {
        font-size: 0.24rem;
    }
    .list_label_item, .list_label_base {
        font-size: 0.14rem;
        padding: 0.15rem 0.05rem;
    }
    .forth_title {
        font-size: 0.24rem;
    }
}

/* 桌面端隐藏价格页专属移动端样式 */
@media (min-width: 1201px) {
    /* 保持原有样式 */
}
