/**
 * 默认主题 - 公共样式
 * 命名规范：tp- 前缀 + BEM 风格
 * 基于 Bootstrap 5 扩展
 */

/* ===== 变量 ===== */
:root {
    --tp-primary: #0d6efd;
    --tp-primary-dark: #0b5ed7;
    --tp-secondary: #6c757d;
    --tp-success: #198754;
    --tp-warning: #f59e0b;
    --tp-danger: #dc3545;
    --tp-light: #f8f9fa;
    --tp-dark: #212529;
    --tp-white: #ffffff;
    --tp-body: #333333;
    --tp-muted: #666666;
    --tp-border: #e9ecef;
    --tp-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --tp-radius: 8px;
    --tp-transition: all 0.3s ease;

    /* 统一容器宽度，与导航菜单同步 */
    --tp-container-xs: 100%;
    --tp-container-sm: 540px;
    --tp-container-md: 720px;
    --tp-container-lg: 960px;
    --tp-container-xl: 1140px;
    --tp-container-xxl: 1320px;
    --tp-container-wide: 1560px;
    --tp-container-uhd: 1720px;
}

/* ===== 基础重置 ===== */
html {
    font-size: 17px;
}

body {
    color: var(--tp-body);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--tp-transition);
}

a:hover {
    color: var(--tp-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===== 顶部条 ===== */
.tp-topbar {
    background-color: var(--tp-light);
    border-bottom: 1px solid var(--tp-border);
    font-size: 0.875rem;
    color: var(--tp-muted);
}

.tp-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
}

.tp-topbar__notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.tp-topbar__notice-icon {
    flex-shrink: 0;
    color: var(--tp-primary);
}

.tp-topbar__notice-scroll {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    height: 22px;
    line-height: 22px;
}

.tp-topbar__notice-list {
    display: flex;
    flex-direction: column;
    animation: tp-notice-scroll 12s linear infinite;
}

.tp-topbar__notice-list:hover {
    animation-play-state: paused;
}

.tp-topbar__notice-list span {
    display: block;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 1rem;
}

@keyframes tp-notice-scroll {
    0% { transform: translateY(0); }
    28% { transform: translateY(0); }
    33% { transform: translateY(-22px); }
    61% { transform: translateY(-22px); }
    66% { transform: translateY(-44px); }
    94% { transform: translateY(-44px); }
    100% { transform: translateY(0); }
}

.tp-topbar__contact {
    display: none;
}

.tp-topbar__user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.tp-topbar__user a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--tp-muted);
}

.tp-topbar__user a:hover {
    color: var(--tp-primary);
}

.tp-topbar__user-sep {
    width: 1px;
    height: 12px;
    background-color: var(--tp-border);
}

/* PC 顶栏多语言下拉（仅 .tp-topbar__lang，不影响其它） */
.tp-topbar__lang {
    position: relative;
    flex-shrink: 0;
}
.tp-topbar__lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tp-muted);
    font-size: inherit;
    line-height: 1;
    cursor: pointer;
}
.tp-topbar__lang-btn:hover,
.tp-topbar__lang.is-open .tp-topbar__lang-btn {
    color: var(--tp-primary);
}
.tp-topbar__lang-btn .fa-caret-down {
    font-size: 0.7em;
    transition: transform .15s;
}
.tp-topbar__lang.is-open .tp-topbar__lang-btn .fa-caret-down {
    transform: rotate(180deg);
}
.tp-topbar__lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1050;
    min-width: 96px;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: var(--tp-white, #fff);
    border: 1px solid var(--tp-border);
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.tp-topbar__lang-menu[hidden] {
    display: none !important;
}
.tp-topbar__lang-menu li {
    padding: 0.4rem 0.85rem;
    color: var(--tp-muted);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.3;
}
.tp-topbar__lang-menu li:hover {
    color: var(--tp-primary);
    background: var(--tp-light, #f8fafc);
}
.tp-topbar__lang-menu li.is-active {
    color: var(--tp-primary);
    font-weight: 600;
}

/* ===== 头部 ===== */
.tp-header {
    background-color: var(--tp-white);
    padding: 0;
}

.tp-header__inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100px;
    padding: 0.75rem 0;
}

.tp-header__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.tp-header__logo {
    height: 56px;
    width: auto;
}

.tp-header__title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--tp-dark);
    line-height: 1.2;
}

.tp-header__slogan {
    font-size: 0.8125rem;
    color: var(--tp-muted);
    letter-spacing: 1px;
}

.tp-header__center {
    flex: 1;
    min-width: 0;
    padding: 0 2.5rem;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.tp-header__search {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.tp-header__search .form-control {
    padding-right: 3rem;
    border-radius: 999px;
    border-color: var(--tp-border);
    height: 46px;
    padding-left: 1.25rem;
}

.tp-header__search .form-control:focus {
    border-color: var(--tp-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.tp-header__search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background-color: var(--tp-primary);
    color: var(--tp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tp-transition);
}

.tp-header__search-btn:hover {
    background-color: var(--tp-primary-dark);
}

.tp-header__hotline {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-shrink: 0;
}

.tp-header__hotline-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--tp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
}

.tp-header__hotline-text {
    text-align: right;
}

.tp-header__hotline-label {
    font-size: 0.8125rem;
    color: var(--tp-muted);
}

.tp-header__hotline-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tp-primary);
    font-family: "Arial", sans-serif;
}

@media (max-width: 991.98px) {
    .tp-header__center {
        display: none;
    }

    .tp-header__inner {
        justify-content: space-between;
    }

    .tp-header__brand {
        margin-right: 0;
    }
}

/* ===== 导航 ===== */
.tp-navbar {
    background-color: var(--tp-primary);
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.2);
}

.tp-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* 导航容器默认宽度 */
.tp-navbar > .container,
.tp-navbar > .tp-container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* 导航菜单占满容器 */
.tp-navbar .navbar-collapse {
    justify-content: flex-start;
}

.tp-navbar .navbar-nav {
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.tp-navbar .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.875rem 0.5rem;
    position: relative;
    text-align: center;
    flex: 1 1 auto;
    white-space: nowrap;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.tp-navbar .navbar-nav .nav-link:hover,
.tp-navbar .navbar-nav .nav-link.active {
    color: var(--tp-white);
    background-color: var(--tp-primary-dark);
}

.tp-navbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(13, 70, 160, 0.16);
    margin-top: 0;
    padding: 0.4rem 0;
    min-width: 188px;
    background-color: #fff;
}

/* 桌面：悬停展开二级，一级链接可直接点击跳转 */
@media (min-width: 992px) {
    .tp-navbar .nav-item.dropdown {
        position: relative;
    }

    .tp-navbar .nav-item.dropdown > .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1080;
        /* 向上重叠，避免鼠标移入二级时菜单消失 */
        margin-top: -2px;
        padding-top: 0.5rem;
        overflow: visible;
    }

    /* 悬停桥梁：填补一级与二级之间的空隙 */
    .tp-navbar .nav-item.dropdown > .dropdown-menu::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -10px;
        height: 12px;
    }

    /* 顶部小三角 */
    .tp-navbar .nav-item.dropdown > .dropdown-menu::after {
        content: '';
        position: absolute;
        left: 50%;
        top: -6px;
        width: 12px;
        height: 12px;
        margin-left: -6px;
        background: #fff;
        box-shadow: -2px -2px 4px rgba(13, 70, 160, 0.06);
        transform: rotate(45deg);
        border-radius: 2px;
        z-index: -1;
    }

    .tp-navbar .nav-item.dropdown:hover > .dropdown-menu,
    .tp-navbar .nav-item.dropdown:focus-within > .dropdown-menu,
    .tp-navbar .nav-item.dropdown.is-open > .dropdown-menu {
        display: block;
        animation: tp-nav-drop-in 0.16s ease-out;
    }

    .tp-navbar .nav-item.dropdown > .dropdown-toggle::after {
        margin-left: 0.35em;
        vertical-align: 0.15em;
        opacity: 0.85;
    }
}

@keyframes tp-nav-drop-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.tp-navbar .dropdown-item {
    padding: 0.55rem 1.35rem;
    font-size: 0.875rem;
    color: var(--tp-body);
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.tp-navbar .dropdown-item:hover,
.tp-navbar .dropdown-item:focus {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--tp-primary);
}

.tp-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
    padding: 0.4rem 0.6rem;
}

.tp-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.tp-navbar .nav-item {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: center;
}

/* 小于992：保持合理内边距 */
@media (max-width: 991.98px) {
    .tp-navbar > .container {
        max-width: 100%;
    }

    .tp-navbar .navbar-nav,
    .tp-navbar .nav-item {
        width: auto;
        justify-content: flex-start;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        text-align: left;
        flex: 0 0 auto;
        min-height: auto;
        justify-content: flex-start;
    }

    .tp-navbar .navbar-collapse {
        background-color: var(--tp-primary-dark);
        padding: 0.5rem 1rem;
        border-radius: 0 0 var(--tp-radius) var(--tp-radius);
    }

    .tp-navbar .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        display: none;
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        border-radius: 0;
        transform: none;
    }

    .tp-navbar .dropdown-menu.show {
        display: block;
    }

    .tp-navbar .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
    }

    .tp-navbar .dropdown-item:hover,
    .tp-navbar .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.08);
        color: #fff;
    }
}

/* 992 - 1199 */
@media (min-width: 992px) and (max-width: 1199px) {
    .tp-container,
    .tp-navbar > .container,
    .tp-navbar > .tp-container {
        max-width: 960px;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 0.9375rem;
        padding: 0.875rem 0.375rem;
    }
}

/* 1200 - 1359 */
@media (min-width: 1200px) and (max-width: 1359px) {
    .tp-container,
    .tp-navbar > .container,
    .tp-navbar > .tp-container {
        max-width: 1140px;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 0.9375rem;
        padding: 0.875rem 0.5rem;
    }
}

/* 1360 - 1439 */
@media (min-width: 1360px) and (max-width: 1439px) {
    .tp-container,
    .tp-navbar > .container,
    .tp-navbar > .tp-container {
        max-width: 1260px;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.9375rem 0.625rem;
    }
}

/* 1440 - 1599 */
@media (min-width: 1440px) and (max-width: 1599px) {
    .tp-container,
    .tp-navbar > .container,
    .tp-navbar > .tp-container {
        max-width: 1320px;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 1rem 0.75rem;
    }
}

/* 1600 - 1919 */
@media (min-width: 1600px) and (max-width: 1919px) {
    .tp-container,
    .tp-navbar > .container,
    .tp-navbar > .tp-container {
        max-width: 1500px;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 1.05rem;
        padding: 1rem 0.875rem;
    }
}

/* 1920 - 2559 */
@media (min-width: 1920px) and (max-width: 2559px) {
    .tp-container,
    .tp-navbar > .container,
    .tp-navbar > .tp-container {
        max-width: 1660px;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 1.15rem;
        padding: 1.125rem 1rem;
    }
}

/* 2560+ */
@media (min-width: 2560px) {
    .tp-container,
    .tp-navbar > .container,
    .tp-navbar > .tp-container {
        max-width: 1820px;
    }

    .tp-navbar .navbar-nav .nav-link {
        font-size: 1.3rem;
        padding: 1.25rem 1.25rem;
    }
}

/* ===== 搜索热词 ===== */
.tp-searchbar {
    background-color: var(--tp-white);
    border-bottom: 1px solid var(--tp-border);
    padding: 0.75rem 0;
}

.tp-searchbar__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tp-searchbar__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tp-dark);
}

.tp-searchbar__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tp-searchbar__tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--tp-light);
    border-radius: 999px;
    font-size: 0.8125rem;
    color: var(--tp-muted);
    transition: var(--tp-transition);
}

.tp-searchbar__tag:hover {
    background-color: var(--tp-primary);
    color: var(--tp-white);
}

/* ===== 公共版块 ===== */
.tp-section {
    padding: 4rem 0;
}

.tp-content {
    padding: 64px 0;
}

.tp-section--light {
    background-color: var(--tp-light);
}

.tp-section--primary,
.tp-section--support {
    background-color: #1a1d21;
    color: var(--tp-white);
}

.tp-section__head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tp-section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
}

.tp-section__head--row .tp-section__title {
    margin-bottom: 0.25rem;
}

.tp-section__head--row .tp-section__title::after {
    display: none;
}

.tp-section__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tp-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.tp-section__title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--tp-primary);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.tp-section--primary .tp-section__title,
.tp-section--support .tp-section__title {
    color: var(--tp-white);
}

.tp-section--primary .tp-section__title::after,
.tp-section--support .tp-section__title::after {
    background-color: rgba(255, 255, 255, 0.8);
}

.tp-section__subtitle {
    font-size: 0.875rem;
    color: var(--tp-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tp-section--primary .tp-section__subtitle,
.tp-section--support .tp-section__subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.tp-section__eyebrow {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--tp-dark);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tp-section__eyebrow span {
    font-weight: 600;
    color: var(--tp-primary);
}

.tp-section__eyebrow--light {
    color: rgba(255, 255, 255, 0.9);
}

.tp-section__more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--tp-primary);
    color: var(--tp-primary);
    border-radius: var(--tp-radius);
    font-size: 0.875rem;
    transition: var(--tp-transition);
}

.tp-section__more:hover {
    background-color: var(--tp-primary);
    color: var(--tp-white);
}

@media (max-width: 767.98px) {
    .tp-section__head--row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .tp-section__head--row > div {
        min-width: 0;
    }

    .tp-section__head--row .tp-section__title {
        font-size: 1.15rem;
        margin-bottom: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tp-section__head--row .tp-section__subtitle {
        font-size: 0.7rem;
    }

    .page-home .tp-section__head--row .tp-section__subtitle,
    .page-case .tp-section__head--row .tp-section__subtitle {
        display: none;
    }

    .page-home .tp-section__head--row .tp-section__title,
    .page-case .tp-section__head--row .tp-section__title {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .tp-section__head--row .tp-section__more {
        flex-shrink: 0;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 0.7rem;
        color: #9aa3b2;
        white-space: nowrap;
    }

    .tp-section__head--row .tp-section__more:hover {
        background: transparent;
        color: var(--tp-primary);
    }
}

/* ===== Hero Banner / Carousel ===== */
.tp-hero {
    position: relative;
    min-height: 880px;
    background-color: var(--tp-dark);
}

.tp-hero .carousel,
.tp-hero .carousel-inner,
.tp-hero .carousel-item {
    min-height: 880px;
    height: 880px;
}

.tp-hero .carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.tp-hero__body {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--tp-white);
}

.tp-hero__content {
    color: var(--tp-white);
}

.tp-hero__slogan {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: inline;
}

.tp-hero__desc {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    display: inline;
    margin-left: 0.75rem;
}

.tp-hero__headline {
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.tp-hero__features {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--tp-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tp-hero__feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1rem;
    color: var(--tp-white);
    white-space: nowrap;
}

.tp-hero__feature-item i {
    color: var(--tp-primary);
    font-size: 0.875rem;
}

.tp-hero__feature-sep {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.3);
}

.tp-hero .carousel-control-prev,
.tp-hero .carousel-control-next {
    width: 5%;
    opacity: 0.6;
    transition: var(--tp-transition);
}

.tp-hero .carousel-control-prev:hover,
.tp-hero .carousel-control-next:hover {
    opacity: 1;
}

.tp-hero .carousel-control-prev-icon,
.tp-hero .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.tp-hero .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
}

.tp-hero .carousel-indicators .active {
    background-color: var(--tp-white);
}

/* ===== 服务卡片 ===== */
.tp-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    background-color: var(--tp-white);
    transition: var(--tp-transition);
    border: 1px solid var(--tp-border);
}

.tp-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--tp-primary);
}

.tp-service-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 3.6;
}

.tp-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tp-transition);
}

.tp-service-card:hover .tp-service-card__media img {
    transform: scale(1.08);
}

.tp-service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.25rem;
}

.tp-service-card__title {
    color: var(--tp-white);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
}

.tp-service-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.tp-service-card__body .tp-service-card__title {
    color: var(--tp-dark);
    margin-bottom: 0.75rem;
}

/* 产品卡片：标题左对齐 */
.tp-product-card .tp-service-card__body {
    align-items: flex-start;
    text-align: left;
}

.tp-service-card__desc {
    font-size: 0.875rem;
    color: var(--tp-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.tp-service-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--tp-border);
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--tp-muted);
    transition: var(--tp-transition);
}

.tp-service-card__btn:hover {
    border-color: var(--tp-primary);
    background-color: var(--tp-primary);
    color: var(--tp-white);
}

/* ===== 关于我们 ===== */
.tp-about {
    overflow: hidden;
}

.tp-about__image {
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    height: 100%;
    min-height: 420px;
}

.tp-about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tp-about__body {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tp-about__head {
    margin-bottom: 2rem;
}

.tp-about__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tp-dark);
    margin-bottom: 0.25rem;
}

.tp-about__subtitle {
    font-size: 1.25rem;
    color: var(--tp-muted);
    text-transform: capitalize;
}

.tp-about__stats {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tp-about__stats-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
}

.tp-about__stats-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tp-primary);
    line-height: 1;
}

.tp-about__stats-unit {
    font-size: 1rem;
    color: var(--tp-muted);
}

.tp-about__stats-label {
    width: 100%;
    font-size: 0.875rem;
    color: var(--tp-muted);
    margin-top: 0.25rem;
}

.tp-about__highlight {
    background-color: var(--tp-primary);
    color: var(--tp-white);
    border-radius: var(--tp-radius);
    padding: 2rem;
    box-shadow: var(--tp-shadow);
}

.tp-about__highlight-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tp-about__highlight-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    opacity: 0.92;
    margin-bottom: 1.5rem;
}

.tp-section__more--white {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--tp-white);
}

.tp-section__more--white:hover {
    background-color: var(--tp-white);
    border-color: var(--tp-white);
    color: var(--tp-primary);
}

@media (max-width: 991.98px) {
    .tp-about__image {
        min-height: 320px;
    }

    .tp-about__stats {
        gap: 1.25rem;
    }

    .tp-about__stats-num {
        font-size: 2rem;
    }
}

/* ===== 服务支持 ===== */
.tp-support-card {
    text-align: center;
    padding: 2.5rem 1.25rem;
    transition: var(--tp-transition);
}

.tp-support-card__icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--tp-primary);
    color: var(--tp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    transition: var(--tp-transition);
}

.tp-support-card:hover .tp-support-card__icon {
    background-color: var(--tp-primary);
    color: var(--tp-white);
    transform: translateY(-4px);
}

.tp-support-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--tp-white);
}

.tp-support-card__line {
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 auto 1rem;
}

.tp-support-card__desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== 案例卡片 ===== */
.tp-case-card {
    position: relative;
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    background-color: var(--tp-white);
}

.tp-case-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.tp-case-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tp-transition);
}

.tp-case-card:hover .tp-case-card__media img {
    transform: scale(1.08);
}

.tp-case-card__body {
    padding: 1.25rem;
}

.tp-case-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 0.25rem;
}

.tp-case-card__meta {
    font-size: 0.8125rem;
    color: var(--tp-muted);
    margin: 0.5rem 0 0;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tp-case-card__tag {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 1;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: rgba(13, 110, 253, 0.92);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.tp-case-card__date {
    font-size: 0.8125rem;
    color: var(--tp-muted);
    margin: 0;
}

.tp-case-card__date i {
    margin-right: 0.25rem;
}

/* ===== 服务案例卡片（服务详情页） ===== */
.tp-serv-case {
    display: flex;
    flex-direction: column;
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    background-color: var(--tp-white);
    border: 1px solid var(--tp-border);
    transition: var(--tp-transition);
    height: 100%;
}
.tp-serv-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--tp-primary);
}
.tp-serv-case__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.tp-serv-case__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tp-transition);
}
.tp-serv-case:hover .tp-serv-case__media img {
    transform: scale(1.06);
}
.tp-serv-case__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.875rem 1rem;
}
.tp-serv-case__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 0.375rem;
    line-height: 1.5;
}
.tp-serv-case__summary {
    font-size: 0.8125rem;
    color: var(--tp-muted);
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== 团队卡片 ===== */
.tp-team-card {
    background-color: var(--tp-white);
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    text-align: center;
    transition: var(--tp-transition);
    height: 100%;
}

.tp-team-card:hover {
    transform: translateY(-6px);
}

.tp-team-card__avatar,
.tp-team-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.tp-team-card__avatar img,
.tp-team-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tp-transition);
}

.tp-team-card:hover .tp-team-card__avatar img,
.tp-team-card:hover .tp-team-card__media img {
    transform: scale(1.05);
}

.tp-team-card__social {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    opacity: 0;
    transition: var(--tp-transition);
}

.tp-team-card:hover .tp-team-card__social {
    opacity: 1;
}

.tp-team-card__social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--tp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tp-team-card__body {
    padding: 1.25rem;
}

.tp-team-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 0.25rem;
}

.tp-team-card__role {
    font-size: 0.875rem;
    color: var(--tp-primary);
    margin-bottom: 0.5rem;
}

.tp-team-card__desc {
    font-size: 0.8125rem;
    color: var(--tp-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* 部门卡片 */
.tp-dept-card {
    height: 100%;
    padding: 1.5rem 1.25rem;
    background: var(--tp-white);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    box-shadow: var(--tp-shadow);
    text-align: center;
    transition: var(--tp-transition);
}

.tp-dept-card:hover {
    border-color: var(--tp-primary);
    transform: translateY(-4px);
}

.tp-dept-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    color: var(--tp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.tp-dept-card__name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 0.5rem;
}

.tp-dept-card__desc {
    font-size: 0.875rem;
    color: var(--tp-muted);
    line-height: 1.7;
    margin: 0;
}

/* 公司相册 */
.tp-album-card {
    display: block;
    height: 100%;
    background: var(--tp-white);
    border-radius: var(--tp-radius);
    overflow: hidden;
    border: 1px solid var(--tp-border);
    box-shadow: var(--tp-shadow);
    color: inherit;
    text-decoration: none;
    transition: var(--tp-transition);
}

.tp-album-card:hover {
    border-color: var(--tp-primary);
    transform: translateY(-4px);
    color: inherit;
}

.tp-album-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tp-album-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tp-transition);
}

.tp-album-card:hover .tp-album-card__media img {
    transform: scale(1.06);
}

.tp-album-card__mask {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, 0.45);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--tp-transition);
}

.tp-album-card:hover .tp-album-card__mask {
    opacity: 1;
}

.tp-album-card__body {
    padding: 0.9rem 1rem 1.1rem;
}

.tp-album-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tp-dark);
    margin: 0 0 0.25rem;
}

.tp-album-card__desc {
    font-size: 0.8125rem;
    color: var(--tp-muted);
    margin: 0;
    line-height: 1.5;
}

/* 加入我们 CTA */
.tp-team-cta {
    padding: 2rem 2rem;
    border-radius: var(--tp-radius);
    background: linear-gradient(135deg, #0d6efd 0%, #1b3a8f 100%);
    color: #fff;
    box-shadow: var(--tp-shadow);
}

.tp-team-cta__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.tp-team-cta__text {
    margin: 0;
    opacity: 0.92;
    line-height: 1.7;
}

.tp-team-cta .btn-primary {
    background: #fff;
    border-color: #fff;
    color: #0d6efd;
    font-weight: 600;
}

.tp-team-cta .btn-primary:hover {
    background: #f8f9fa;
    border-color: #f8f9fa;
    color: #0a58ca;
}

.tp-content--muted {
    background: #f8f9fa;
}

/* 仅团队页局部样式 */
.tp-team-page .tp-team-page__intro-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--tp-shadow);
    display: block;
    object-fit: cover;
    aspect-ratio: 900 / 620;
}

.tp-team-page #team-members,
.tp-team-page #team-strengths,
.tp-team-page #team-album,
.tp-team-page #team-join {
    scroll-margin-top: 72px;
}

/* ===== 媒体列表（团队/相册：左图右文） ===== */
.tp-media-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #eef1f6;
    background: transparent;
}

.tp-media-item:first-child {
    padding-top: 0;
}

.tp-media-item:last-child {
    border-bottom: 0;
}

.tp-media-item__thumb {
    flex: 0 0 168px;
    width: 168px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f6;
}

.tp-media-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tp-media-item:hover .tp-media-item__thumb img {
    transform: scale(1.06);
}

.tp-media-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-media-item__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.45;
}

.tp-media-item__title a {
    color: #222;
    text-decoration: none;
}

.tp-media-item__title a:hover {
    color: #0d6efd;
}

.tp-media-item__badge {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.4rem;
    padding: 0.1rem 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    background: #e53935;
    border-radius: 3px;
}

.tp-media-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.tp-media-item__meta i {
    margin-right: 0.25rem;
}

.tp-media-item__desc {
    margin: 0;
    font-size: 0.875rem;
    color: #777;
    line-height: 1.7;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tp-news-side__link.is-active,
.tp-news-side__link.is-active .tp-news-side__info-title {
    color: #0d6efd;
    font-weight: 700;
}

.tp-news-side__link--thumb {
    align-items: flex-start;
}

.tp-news-side__thumb {
    flex: 0 0 72px;
    width: 72px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: #e1e7f0;
}

.tp-news-side__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 侧边列表小缩略图 */
.tp-news-side__thumb--sm {
    flex: 0 0 48px;
    width: 48px;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-top: 2px;
}
.tp-news-side__thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eef2f8, #dfe7f2);
    color: #8899b3;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .tp-media-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .tp-media-item__thumb {
        flex: none;
        width: 100%;
    }
}

/* ===== 新闻面板 / 侧栏（参考图：左图右文 + 置顶/最新） ===== */
.tp-panel {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem 1.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tp-side-panel {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.15rem 1.15rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tp-side-panel__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.tp-side-panel__bar {
    width: 4px;
    height: 1rem;
    border-radius: 2px;
    background: #e53935;
    flex-shrink: 0;
}

.tp-side-panel__title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

.tp-side-panel__cats {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-side-panel__cats li + li {
    border-top: 1px dashed #eef1f6;
}

.tp-side-panel__cats a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0;
    color: #444;
    text-decoration: none;
    font-size: 0.9375rem;
}

.tp-side-panel__cats a:hover,
.tp-side-panel__cats a.is-active {
    color: #0d6efd;
    font-weight: 600;
}

.tp-side-panel__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-side-panel__list > li + li {
    margin-top: 0.85rem;
}

.tp-side-panel__item {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.tp-side-panel__thumb {
    flex: 0 0 80px;
    width: 80px;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: #eef1f6;
}

.tp-side-panel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-side-panel__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.tp-side-panel__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tp-side-panel__name.is-hot {
    color: #e53935;
}

.tp-side-panel__item:hover .tp-side-panel__name {
    color: #0d6efd;
}

.tp-side-panel__item:hover .tp-side-panel__name.is-hot {
    color: #c62828;
}

.tp-side-panel__meta {
    font-size: 0.75rem;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-news-detail__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    line-height: 1.45;
    margin: 0 0 0.75rem;
}

.tp-news-detail__crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.8125rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.tp-news-detail__crumb a {
    color: #666;
    text-decoration: none;
}

.tp-news-detail__crumb a:hover {
    color: #0d6efd;
}

/* ===== 详情页返回上一页 ===== */
.tp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s;
}
.tp-back i {
    color: #0d6efd;
}
.tp-back:hover {
    color: #0d6efd;
}

.tp-news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.8125rem;
    color: #999;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef1f6;
}

.tp-news-detail__meta i {
    margin-right: 0.25rem;
}

.tp-news-detail__cover {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f5f7fa;
}

.tp-news-detail__cover img {
    width: 100%;
    display: block;
    min-height: 160px;
    object-fit: cover;
}

.tp-news-detail__body {
    color: #555;
    line-height: 1.9;
    font-size: 0.975rem;
}

.tp-news-detail__body .tp-news-detail__lead {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
    background: #f6f8fc;
    border-left: 4px solid #0d6efd;
    padding: 0.9rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.25rem;
}

.tp-news-detail__body h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin: 1.75rem 0 0.85rem;
}

.tp-news-detail__body p {
    margin-bottom: 1rem;
    text-align: justify;
}

.tp-news-detail__body ul {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
}

.tp-news-detail__body li {
    margin-bottom: 0.45rem;
}

.tp-news-detail__quote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid #dce9ff;
    color: #355a9a;
    font-size: 0.95rem;
    line-height: 1.8;
}

.tp-news-detail__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 0.5rem;
}

.tp-news-detail__gallery a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f6;
}

.tp-news-detail__gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tp-news-detail__gallery a:hover img {
    transform: scale(1.05);
}

.tp-news-detail__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eef1f6;
}

.tp-news-detail__tags-label {
    font-size: 0.875rem;
    color: #777;
}

.tp-news-detail__tags a {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #f1f4f9;
    color: #555;
    font-size: 0.8125rem;
    text-decoration: none;
}

.tp-news-detail__tags a:hover {
    background: #0d6efd;
    color: #fff;
}

.tp-news-detail__pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tp-news-detail__pager-item {
    display: block;
    padding: 0.9rem 1rem;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    background: #fafbfd;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.tp-news-detail__pager-item:hover {
    border-color: #cfe0ff;
    background: #f5f9ff;
    color: #0d6efd;
}

.tp-news-detail__pager-item small {
    display: block;
    color: #999;
    margin-bottom: 0.25rem;
}

.tp-news-detail__pager-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-news-detail__pager-item.is-empty {
    color: #bbb;
    cursor: default;
}

.tp-news-detail__pager-item.text-end {
    text-align: right;
}

.tp-news-related {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    padding: 0.35rem 0;
}

.tp-news-related__thumb {
    flex: 0 0 96px;
    width: 96px;
    aspect-ratio: 3 / 2;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f6;
}

.tp-news-related__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-news-related__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.tp-news-related__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tp-news-related:hover .tp-news-related__title {
    color: #0d6efd;
}

.tp-news-related__meta {
    font-size: 0.75rem;
    color: #999;
}

@media (max-width: 575.98px) {
    .tp-news-detail__gallery {
        grid-template-columns: 1fr;
    }

    .tp-news-detail__pager {
        grid-template-columns: 1fr;
    }
}

.tp-news-detail__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eef1f6;
    font-size: 0.875rem;
}

.tp-news-detail__nav a {
    color: #0d6efd;
    text-decoration: none;
}

.tp-news-detail__nav a:hover {
    text-decoration: underline;
}

.tp-news-detail__nav span {
    color: #999;
}

/* ===== 荣誉卡片 ===== */
.tp-honor-card {
    display: block;
    background-color: var(--tp-white);
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    border: 1px solid var(--tp-border);
    transition: var(--tp-transition);
}

.tp-honor-card:hover {
    border-color: var(--tp-primary);
    transform: translateY(-4px);
}

.tp-honor-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tp-honor-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-honor-card__body {
    padding: 1rem;
    text-align: center;
}

.tp-honor-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 0;
}

/* ===== 新闻卡片 ===== */
.tp-news-card {
    display: block;
    background-color: var(--tp-white);
    border-radius: var(--tp-radius);
    overflow: hidden;
    box-shadow: var(--tp-shadow);
    transition: var(--tp-transition);
}

.tp-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.tp-news-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 52 / 34;
}

.tp-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--tp-transition);
}

.tp-news-card:hover .tp-news-card__media img {
    transform: scale(1.08);
}

.tp-news-card__body {
    padding: 1.25rem;
}

.tp-news-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--tp-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tp-news-card__meta {
    font-size: 0.8125rem;
    color: var(--tp-muted);
    margin-bottom: 0.75rem;
}

.tp-news-card__desc {
    font-size: 0.875rem;
    color: var(--tp-muted);
    line-height: 1.7;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0;
}

/* ===== 新闻列表（横排） ===== */
.tp-news-list-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    background-color: var(--tp-white);
    border-radius: var(--tp-radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--tp-shadow);
}

.tp-news-list-row__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    color: var(--tp-body);
    font-size: 0.9375rem;
    transition: var(--tp-transition);
}

.tp-news-list-row__item:hover {
    color: var(--tp-primary);
}

.tp-news-list-row__dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--tp-border);
    transition: var(--tp-transition);
}

.tp-news-list-row__item:hover .tp-news-list-row__dot {
    background-color: var(--tp-primary);
}

.tp-news-list-row__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-news-list-row__date {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--tp-muted);
}

@media (max-width: 767.98px) {
    .tp-news-list-row__item {
        flex: 1 1 100%;
    }
}

/* ===== 新闻侧边列表 ===== */
.tp-news-side {
    background-color: var(--tp-white);
    border-radius: var(--tp-radius);
    box-shadow: var(--tp-shadow);
    padding: 1.5rem;
    height: 100%;
}

.tp-news-side__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--tp-primary);
}

.tp-news-side__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tp-dark);
}

.tp-news-side__more {
    font-size: 0.8125rem;
    color: var(--tp-muted);
}

.tp-news-side__more:hover {
    color: var(--tp-primary);
}

.tp-news-side__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tp-news-side__item {
    border-bottom: 1px dashed var(--tp-border);
    padding-bottom: 1rem;
}

.tp-news-side__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tp-news-side__link {
    display: flex;
    align-items: baseline;
    gap: 0.875rem;
    color: var(--tp-body);
    transition: var(--tp-transition);
}

.tp-news-side__link:hover {
    color: var(--tp-primary);
}

.tp-news-side__num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--tp-primary);
    color: var(--tp-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: "Arial", sans-serif;
}

.tp-news-side__info {
    flex: 1;
    min-width: 0;
}

.tp-news-side__info-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0.35rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tp-news-side__info-date {
    font-size: 0.75rem;
    color: var(--tp-muted);
}

/* ===== 合作伙伴（新闻资讯内） ===== */
.tp-partners {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tp-border);
}

.tp-partners__head {
    text-align: left;
    margin-bottom: 1.5rem;
}

.tp-partners__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tp-dark);
    display: inline-block;
    padding: 0 0 0 0.75rem;
    position: relative;
    border-left: 3px solid var(--tp-primary);
    line-height: 1.2;
}

.tp-partners__title::before,
.tp-partners__title::after {
    display: none;
}

.tp-partners__slider {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
}

.tp-partners__slider::-webkit-scrollbar {
    display: none;
}

.tp-partners__group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    min-width: max-content;
    margin-bottom: 1rem;
}

.tp-partners__group:last-child {
    margin-bottom: 0;
}

.tp-partners__item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--tp-muted);
    font-size: 0.875rem;
    transition: var(--tp-transition);
    flex-shrink: 0;
}

.tp-partners__logo {
    width: 160px;
    height: 90px;
    border-radius: var(--tp-radius);
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--tp-transition);
}

.tp-partners__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--tp-transition);
}

.tp-partners__item:hover {
    color: var(--tp-primary);
}

.tp-partners__item:hover .tp-partners__logo {
    background-color: #dee2e6;
}

.tp-partners__item:hover .tp-partners__logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.tp-partners__group--logo-only .tp-partners__item {
    gap: 0;
}

.tp-partners__group--name-only {
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--tp-border);
}

.tp-partners__group--name-only .tp-partners__item {
    flex-direction: row;
    gap: 0;
    padding: 0.35rem 0.875rem;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
}

.tp-partners__group--name-only .tp-partners__item:hover {
    border-color: var(--tp-primary);
    background-color: var(--tp-primary);
    color: var(--tp-white);
}

/* 友情链接 - 混合显示（LOGO+名称 / 纯LOGO / 纯名称） */
.tp-partners__body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem 1.5rem;
    text-align: left;
}

.tp-partners__item-logo-name,
.tp-partners__item-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--tp-muted);
    font-size: 0.875rem;
    transition: var(--tp-transition);
}

.tp-partners__item-logo-name:hover,
.tp-partners__item-logo:hover {
    color: var(--tp-primary);
}

.tp-partners__item-logo-name:hover .tp-partners__logo-box,
.tp-partners__item-logo:hover .tp-partners__logo-box {
    background-color: #dee2e6;
}

.tp-partners__item-logo-name:hover .tp-partners__logo-box img,
.tp-partners__item-logo:hover .tp-partners__logo-box img {
    filter: grayscale(0%);
    opacity: 1;
}

.tp-partners__logo-box {
    width: 140px;
    height: 70px;
    border-radius: var(--tp-radius);
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--tp-transition);
}

.tp-partners__logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--tp-transition);
}

.tp-partners__item-name {
    padding: 0.4rem 1rem;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    font-size: 0.9375rem;
    color: var(--tp-muted);
    transition: var(--tp-transition);
    white-space: nowrap;
}

.tp-partners__item-name:hover {
    border-color: var(--tp-primary);
    background-color: var(--tp-primary);
    color: var(--tp-white);
}

/* ===== 页脚 ===== */
.tp-footer {
    background-color: #1a1d21;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.tp-footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tp-white);
    margin-bottom: 1.25rem;
}

.tp-footer__desc {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.tp-footer__links li {
    margin-bottom: 0.625rem;
}

.tp-footer__links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.tp-footer__links a:hover {
    color: var(--tp-primary);
    padding-left: 4px;
}

.tp-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
}

.tp-footer__contact i {
    color: var(--tp-primary);
    margin-top: 0.25rem;
}

.tp-footer__qrcode {
    width: 110px;
    height: 110px;
    border-radius: var(--tp-radius);
    overflow: hidden;
    background-color: var(--tp-white);
    padding: 4px;
}

.tp-footer__qrcode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-footer__qrcode-text {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.tp-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    margin-top: 2.5rem;
    text-align: left;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.tp-footer__bottom > p {
    margin-bottom: 0.75rem;
    text-align: left;
}

.tp-footer__bottom a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.tp-footer__bottom a:hover {
    color: var(--tp-primary);
}

.tp-footer__legal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    text-align: left;
}

.tp-footer__friendlinks {
    margin: 0.85rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    text-align: left;
    width: 100%;
}

.tp-footer__friendlinks-label {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
    line-height: 32px;
    font-size: 0.875rem;
    text-align: left;
}

.tp-footer__friendlinks-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.55rem 1rem;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
}

/* 友情链接条目（页脚 + 中部区块共用） */
.tp-flink__item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    vertical-align: middle;
    text-decoration: none;
    color: inherit;
    line-height: 1.2;
    transition: var(--tp-transition);
}

.tp-flink__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.tp-flink__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.tp-flink__name {
    white-space: nowrap;
    font-size: 0.875rem;
}

.tp-flink__item--logo-name {
    flex-direction: row;
    align-items: center;
}

.tp-flink__item--logo-name .tp-flink__logo {
    width: 72px;
    height: 28px;
}

.tp-flink__item--logo-name .tp-flink__name {
    font-size: 0.875rem;
}

.tp-flink__item--logo .tp-flink__logo {
    width: 100px;
    height: 32px;
}

.tp-flink__item--name .tp-flink__name {
    font-size: 1rem;
    font-weight: 500;
}

.tp-footer__friendlinks .tp-flink__item {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.tp-footer__friendlinks .tp-flink__item--name .tp-flink__name {
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.tp-footer__friendlinks .tp-flink__item:hover {
    color: var(--tp-primary);
}

.tp-footer__friendlinks .tp-flink__item:hover .tp-flink__logo {
    background: rgba(255, 255, 255, 0.14);
}

.tp-partners__body .tp-flink__item {
    color: var(--tp-muted);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.45rem;
}

.tp-partners__body .tp-flink__item--name {
    flex-direction: row;
    align-items: center;
    padding: 0.4rem 1rem;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius);
    font-size: 1rem;
}

.tp-partners__body .tp-flink__item--name .tp-flink__name {
    font-size: 1rem;
    font-weight: 500;
}

.tp-partners__body .tp-flink__item--logo-name .tp-flink__logo,
.tp-partners__body .tp-flink__item--logo .tp-flink__logo {
    width: 140px;
    height: 70px;
    background-color: #e9ecef;
    border-radius: var(--tp-radius);
}

.tp-partners__body .tp-flink__logo img {
    filter: grayscale(100%);
    opacity: 0.7;
}

.tp-partners__body .tp-flink__item:hover {
    color: var(--tp-primary);
}

.tp-partners__body .tp-flink__item:hover .tp-flink__logo {
    background-color: #dee2e6;
}

.tp-partners__body .tp-flink__item:hover .tp-flink__logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.tp-partners__body .tp-flink__item--name:hover {
    border-color: var(--tp-primary);
    background-color: var(--tp-primary);
    color: var(--tp-white);
}

/* ===== 底部浮动工具条 ===== */
.tp-floatbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    height: 56px;
    background-color: var(--tp-white);
    border-top: 1px solid var(--tp-border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    display: none;
}

.tp-floatbar__list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    padding: 0;
}

.tp-floatbar__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    height: 100%;
    flex: 1;
    font-size: 0.75rem;
    color: var(--tp-muted);
    text-decoration: none;
}

.tp-floatbar__item i {
    font-size: 1.125rem;
}

.tp-floatbar__item:hover,
.tp-floatbar__item.active {
    color: var(--tp-primary);
}

.tp-floatbar__badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #e63946;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

/* ===== 联系页移动端：隐藏地图（不影响其它） ===== */
@media (max-width: 991.98px) {
    .page-contact .tp-map,
    .page-contact .page-contact-map,
    .page-contact .tp-map-full {
        display: none !important;
    }

    .page-contact .tp-map iframe {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .page-contact .tp-content {
        padding-bottom: 2.5rem;
    }
}

/*
 * 联系页 / 团队页：底部菜单强制贴齐可视区底部（解决滑到顶被裁切）
 * 仅移动端；PC 必须隐藏（此前 JS 误在桌面强制 display:block）
 */
@media (max-width: 991.98px) {
    body.page-contact,
    body.page-team,
    body.tp-team-page {
        padding-bottom: 56px !important;
    }

    body.page-contact .tp-floatbar,
    body.page-team .tp-floatbar,
    body.tp-team-page .tp-floatbar {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        z-index: 99999 !important;
        display: block !important;
        transform: none !important;
        -webkit-transform: none !important;
        filter: none !important;
        background-color: #fff !important;
        border-top: 1px solid var(--tp-border);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
        box-sizing: border-box !important;
    }

    body.page-contact .tp-floatbar__list,
    body.page-team .tp-floatbar__list,
    body.tp-team-page .tp-floatbar__list {
        height: 56px !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.page-contact .tp-floatbar__item,
    body.page-team .tp-floatbar__item,
    body.tp-team-page .tp-floatbar__item {
        height: 56px !important;
        min-height: 56px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        padding: 0 !important;
        line-height: 1.1 !important;
        flex: 1 !important;
    }

    body.page-contact .tp-floatbar__item i,
    body.page-team .tp-floatbar__item i,
    body.tp-team-page .tp-floatbar__item i {
        font-size: 1.125rem !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
    }

    body.page-contact .tp-floatbar__item span,
    body.page-team .tp-floatbar__item span,
    body.tp-team-page .tp-floatbar__item span {
        display: block !important;
        font-size: 0.6875rem !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* PC：联系页 / 团队页强制隐藏移动端底栏 */
@media (min-width: 992px) {
    body.page-contact .tp-floatbar,
    body.page-team .tp-floatbar,
    body.tp-team-page .tp-floatbar {
        display: none !important;
    }

    body.page-contact,
    body.page-team,
    body.tp-team-page {
        padding-bottom: 0 !important;
    }

    /* 联系信息 / 在线预约 左右等高 */
    .page-contact .tp-content > .tp-container > .row {
        align-items: stretch;
    }

    .page-contact .tp-content > .tp-container > .row > [class*="col-"] {
        display: flex;
    }

    .page-contact .tp-contact-panel,
    .page-contact .tp-form-card {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .page-contact .tp-contact-panel {
        background: linear-gradient(180deg, #f0f6ff 0%, #f8fbff 100%);
        border: 1px solid #dce9ff;
        border-radius: 12px;
        padding: 28px;
    }

    .page-contact .tp-contact-panel .tp-contact-info {
        flex: 1;
    }
}

/* ===== 移动端底部浮动栏：与新闻详情一致，固定高度，文字不被裁切 ===== */
@media (max-width: 991.98px) {
    .tp-floatbar {
        display: block;
        height: 56px;
        min-height: 56px;
        max-height: 56px;
        padding: 0;
        box-sizing: border-box;
        overflow: visible;
    }

    .tp-floatbar__list {
        height: 56px;
        align-items: center;
        justify-content: space-around;
        padding: 0;
    }

    .tp-floatbar__item {
        height: 56px;
        justify-content: center;
        align-items: center;
        gap: 2px;
        padding: 4px 0;
        line-height: 1.1;
        box-sizing: border-box;
    }

    .tp-floatbar__item i {
        font-size: 1.125rem;
        line-height: 1;
        flex-shrink: 0;
    }

    .tp-floatbar__item span {
        display: block;
        font-size: 0.6875rem;
        line-height: 1.15;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tp-floatbar__badge {
        top: 2px;
    }

    body {
        padding-bottom: 56px;
    }
}

/* ===== 新闻页移动端：分类图标 + 底部抽屉（默认隐藏，≤991px 显示） ===== */
.tp-news-catbar,
.tp-news-catpop,
.tp-news-catmask {
    display: none;
}

@media (max-width: 991.98px) {
    /* 强制隐藏内页大图头，消除顶部绿色空带（仅 .page-news，不影响其它页） */
    .page-news .tp-inner-hero {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: none !important;
    }

    .page-news .tp-inner-hero::after {
        display: none !important;
    }

    .page-news .tp-content {
        padding: 12px 0 24px;
        background: #f4f6fa;
        min-height: 60vh;
    }

    .page-news .tp-content > .tp-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-news .row.g-4 {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0.75rem;
    }

    /* 分类栏：列表区顶部，右侧为「分类」图标按钮 */
    .page-news .tp-news-catbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        border-radius: 12px;
        padding: 0.6rem 0.9rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    }

    .page-news .tp-news-catbar__current {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        font-size: 0.9375rem;
        font-weight: 700;
        color: #222;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .page-news .tp-news-catbar__current i {
        color: #e53935;
        flex-shrink: 0;
    }

    .page-news .tp-news-catbar__toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
        border: 1px solid #0d6efd;
        color: #0d6efd;
        background: #fff;
        border-radius: 999px;
        font-size: 0.8125rem;
        font-weight: 600;
        padding: 0.32rem 0.8rem;
    }

    .page-news .tp-news-catbar__toggle:active {
        background: #eef4ff;
    }

    .page-news .tp-panel {
        padding: 0.75rem 0.9rem 1rem;
        border-radius: 12px;
    }

    /* 移动端列表：保持左图右文，避免整列堆叠过高 */
    .page-news .tp-media-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.85rem 0;
    }

    .page-news .tp-media-item__thumb {
        flex: 0 0 96px;
        width: 96px;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }

    .page-news .tp-media-item__title {
        font-size: 0.9375rem;
        line-height: 1.4;
        margin-bottom: 0.35rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-news .tp-media-item__meta {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.35rem 0.75rem;
    }

    .page-news .tp-media-item__desc {
        display: none;
    }

    /* 隐藏侧边「新闻分类」面板（置顶推荐/最新文章保留） */
    .page-news .tp-side-panel--cats {
        display: none;
    }

    .page-news .col-lg-3 .tp-side-panel {
        margin-top: 0.75rem;
    }

    /* 遮罩 + 底部抽屉 */
    .page-news .tp-news-catmask {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1200;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .page-news .tp-news-catpop {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-radius: 16px 16px 0 0;
        z-index: 1201;
        max-height: 70vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    }

    .page-news .tp-news-catmask.is-open {
        opacity: 1;
        visibility: visible;
    }

    .page-news .tp-news-catpop.is-open {
        transform: translateY(0);
    }

    .page-news .tp-news-catpop__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1rem;
        font-weight: 700;
        color: #222;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid #eef1f6;
    }

    .page-news .tp-news-catpop__close {
        border: none;
        background: #f1f3f7;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        color: #666;
        font-size: 0.875rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .page-news .tp-news-catpop__list {
        list-style: none;
        margin: 0;
        padding: 0.4rem 0 0;
    }

    .page-news .tp-news-catpop__list li + li {
        border-top: 1px dashed #eef1f6;
    }

    .page-news .tp-news-catpop__list a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.8rem 0.2rem;
        color: #555;
        font-size: 0.9375rem;
        text-decoration: none;
    }

    .page-news .tp-news-catpop__list a i {
        color: #b0b8c4;
        width: 18px;
        flex-shrink: 0;
    }

    .page-news .tp-news-catpop__list a.is-active {
        color: #0d6efd;
        font-weight: 700;
    }

    .page-news .tp-news-catpop__list a.is-active i {
        color: #0d6efd;
    }
}

/* ===== 移动端 APP 顶栏 + 首页移动区块（默认隐藏，≤991px 显示） ===== */
.tp-app-head,
.tp-mhome,
.tp-app-product {
    display: none;
}

/* ===== 响应式 ===== */
@media (max-width: 991.98px) {
    .tp-header__hotline {
        display: none;
    }

    /* 移动端隐藏 PC 头部（顶部条 / 品牌头 / 导航栏） */
    .tp-topbar,
    .tp-header,
    .tp-navbar {
        display: none;
    }

    /* 移动端隐藏内页大图头（APP 顶栏已含返回与标题） */
    .tp-inner-hero {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* APP 顶栏 */
    .tp-app-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 48px;
        padding: 0 4px;
        background-color: var(--tp-white);
        border-bottom: 1px solid var(--tp-border);
        position: sticky;
        top: 0;
        z-index: 1020;
    }

    .tp-app-head__back,
    .tp-app-head__right {
        width: 42px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1c2430;
        font-size: 17px;
        text-decoration: none;
        flex-shrink: 0;
    }

    .tp-app-head__title {
        flex: 1;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        color: #1c2430;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 4px;
    }

    /* 首页隐藏返回按钮；会员首页隐藏整个 APP 顶栏（tab 页） */
    .page-home .tp-app-head__back {
        visibility: hidden;
        pointer-events: none;
    }

    .page-member .tp-app-head {
        display: none;
    }

    /* 产品、案例等一级入口页隐藏返回按钮 */
    .page-tab-main .tp-app-head__back {
        visibility: hidden;
        pointer-events: none;
    }

    /* 移动端隐藏搜索热词 */
    .tp-searchbar {
        display: none;
    }

    /* 移动端隐藏顶部会员/登录/注册入口 */
    .tp-topbar__user {
        display: none;
    }

    /* 移动端隐藏整个页脚 */
    .tp-footer {
        display: none;
    }

    body {
        padding-bottom: 56px;
    }

    .tp-hero,
    .tp-hero .carousel,
    .tp-hero .carousel-inner,
    .tp-hero .carousel-item {
        min-height: 220px;
        height: 220px;
    }

    .tp-hero__slogan {
        font-size: 1.5rem;
    }

    .tp-hero__desc {
        font-size: 0.875rem;
    }

    /* 首页移动端公告 + 菜单宫格 */
    .tp-mhome {
        display: block;
        background: #f4f6fa;
        padding: 12px;
    }

    .tp-mhome__notice {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        border-radius: 10px;
        padding: 10px 12px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .tp-mhome__notice > i {
        color: #e74c3c;
        font-size: 14px;
        flex-shrink: 0;
    }

    .tp-mhome__notice-track {
        flex: 1;
        overflow: hidden;
    }

    .tp-mhome__notice-marquee {
        display: inline-flex;
        white-space: nowrap;
        animation: tpMhomeMarquee 18s linear infinite;
    }

    .tp-mhome__notice-marquee span {
        padding-right: 24px;
        font-size: 13px;
        color: #4a5465;
    }

    @keyframes tpMhomeMarquee {
        from { transform: translateX(0); }
        to { transform: translateX(-50%); }
    }

    .tp-mhome__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
        background: #e9edf4;
        border-radius: 14px;
        overflow: hidden;
    }

    .tp-mhome__grid a {
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
        padding: 16px 2px 14px;
        color: #4a5465;
        text-decoration: none;
        font-size: 13px;
    }

    .tp-mhome__grid a i {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 19px;
        font-style: normal;
    }

    /* 首页移动端：生活服务卡片 */
    .tp-mhome__life {
        margin-top: 12px;
    }

    .tp-mhome__life-title {
        font-size: 17px;
        font-weight: 700;
        color: #1c2430;
        margin: 0 0 10px;
        line-height: 1.2;
    }

    .tp-mhome__life-cards {
        display: grid;
        grid-template-columns: 0.9fr 1.5fr;
        gap: 10px;
    }

    .tp-mhome__life-card {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 130px;
        padding: 12px;
        border-radius: 16px;
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        transition: transform .15s ease;
    }

    .tp-mhome__life-card:active {
        transform: translateY(1px);
    }

    .tp-mhome__life-card--green {
        background: linear-gradient(135deg, #e0f7e9 0%, #b8eecc 100%);
    }

    .tp-mhome__life-card--orange {
        background: linear-gradient(135deg, #fff0e6 0%, #ffe0d1 50%, #ffd1dc 100%);
    }

    .tp-mhome__life-card__body {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding-right: 50px;
    }

    .tp-mhome__life-card--orange .tp-mhome__life-card__body {
        padding-right: 60px;
    }

    .tp-mhome__life-card__title {
        font-size: 15px;
        font-weight: 800;
        color: #1c2430;
        line-height: 1.25;
    }

    .tp-mhome__life-card__desc {
        font-size: 11px;
        color: #5a6578;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tp-mhome__life-card__go {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        align-self: flex-start;
        margin-top: auto;
        padding-top: 6px;
        font-size: 14px;
        font-weight: 700;
        color: #1c2430;
    }

    .tp-mhome__life-card__go i {
        font-size: 10px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: rgba(0, 0, 0, .08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tp-mhome__life-card__pill {
        align-self: flex-start;
        margin-top: 4px;
        padding: 6px 12px;
        border-radius: 20px;
        background: linear-gradient(90deg, #ff9f43, #ff6b81);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
    }

    .tp-mhome__life-card__media {
        position: absolute;
        right: 6px;
        bottom: 6px;
        z-index: 2;
        width: 58px;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tp-mhome__life-card__media::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .45);
    }

    .tp-mhome__life-card__media i {
        position: relative;
        font-size: 28px;
        color: #2e8b57;
    }

    .tp-mhome__life-card--orange .tp-mhome__life-card__media {
        width: 70px;
        height: 70px;
        right: 4px;
        bottom: 4px;
    }

    .tp-mhome__life-card--orange .tp-mhome__life-card__media i {
        color: #e8596a;
        font-size: 34px;
    }

    .tp-mhome__life-card__tag {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 3;
        padding: 5px 9px;
        border-radius: 0 0 0 12px;
        background: linear-gradient(90deg, #ff9f43, #ff6b81);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
    }

    /* 产品中心页移动端电商列表 */
    .page-product .tp-content {
        display: none;
    }

    .page-product .tp-app-product {
        display: block;
        background: #f4f6fa;
        min-height: 80vh;
        padding: 12px 12px 24px;
    }

    .tp-app-product__search {
        position: relative;
        background: #fff;
        border-radius: 20px;
        padding: 8px 12px 8px 36px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    }

    .tp-app-product__search i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #9aa3b2;
        font-size: 14px;
    }

    .tp-app-product__search input {
        border: 0;
        width: 100%;
        font-size: 14px;
        outline: none;
        background: transparent;
        color: #1c2430;
    }

    .tp-app-product__search input::placeholder {
        color: #b6bfcc;
    }

    .tp-app-product__tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 12px;
        scrollbar-width: none;
    }

    .tp-app-product__tabs::-webkit-scrollbar {
        display: none;
    }

    .tp-app-product__tab {
        white-space: nowrap;
        padding: 6px 14px;
        border-radius: 16px;
        background: #fff;
        color: #4a5465;
        font-size: 13px;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        transition: all .15s ease;
    }

    .tp-app-product__tab:hover,
    .tp-app-product__tab.active {
        background: #0d6efd;
        color: #fff;
    }

    .tp-app-product__grid .col-6 {
        padding-left: 6px;
        padding-right: 6px;
    }

    .tp-app-product__grid {
        margin-left: -6px;
        margin-right: -6px;
    }

    .tp-app-product__card {
        display: block;
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
        transition: transform .15s ease, box-shadow .15s ease;
    }

    .tp-app-product__card:active {
        transform: translateY(1px);
        box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
    }

    .tp-app-product__media {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background: #f4f6fa;
    }

    .tp-app-product__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tp-app-product__corner {
        position: absolute;
        left: 6px;
        top: 6px;
        background: rgba(255, 77, 106, .95);
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        padding: 3px 6px;
        border-radius: 4px;
        line-height: 1;
        z-index: 2;
    }

    .tp-app-product__info {
        padding: 8px;
        display: flex;
        flex-direction: column;
    }

    .tp-app-product__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-bottom: 5px;
    }

    .tp-app-product__tag {
        font-size: 10px;
        line-height: 1;
        padding: 2px 5px;
        border-radius: 3px;
        color: #fff;
    }

    .tp-app-product__tag--brand {
        background: #1c2430;
    }

    .tp-app-product__tag--hot {
        background: #e74c3c;
    }

    .tp-app-product__tag--post {
        background: #20c997;
    }

    .tp-app-product__name {
        font-size: 14px;
        font-weight: 700;
        color: #1c2430;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
    }

    .tp-app-product__slogan {
        display: none;
    }

    .tp-app-product__sales {
        font-size: 11px;
        color: #9aa3b2;
        margin-bottom: 5px;
    }

    .tp-app-product__price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: auto;
        gap: 6px;
    }

    .tp-app-product__price {
        min-width: 0;
    }

    .tp-app-product__price b {
        font-size: 16px;
        color: #e74c3c;
        font-weight: 800;
    }

    .tp-app-product__price small {
        font-size: 10px;
        color: #9aa3b2;
        margin-left: 2px;
    }

    .tp-app-product__price s {
        font-size: 11px;
        color: #b6bfcc;
        margin-left: 4px;
    }

    .tp-app-product__btn {
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 9px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .tp-navbar .navbar-collapse {
        background-color: var(--tp-primary-dark);
        padding: 0.5rem 1rem;
        border-radius: 0 0 var(--tp-radius) var(--tp-radius);
    }

    .tp-navbar .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.1);
        box-shadow: none;
        display: none;
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        border-radius: 0;
        transform: none;
    }

    .tp-navbar .dropdown-menu.show {
        display: block;
    }

    .tp-navbar .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
    }

    .tp-section,
    .tp-content {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .tp-topbar__welcome {
        display: none;
    }

    .tp-topbar__inner {
        justify-content: center;
    }

    .tp-header__title {
        font-size: 1.125rem;
    }

    .tp-header__slogan {
        display: none;
    }

    .tp-hero,
    .tp-hero .carousel,
    .tp-hero .carousel-inner,
    .tp-hero .carousel-item {
        min-height: 180px;
        height: 180px;
    }

    .tp-hero__slogan {
        font-size: 1.375rem;
    }

    .tp-hero__desc {
        display: none;
    }

    .tp-hero__features {
        display: none;
    }

    /* 首页移动端隐藏部分板块：公司概况 / 服务支持 / 核心团队 / 荣誉展示 */
    .page-home .tp-about,
    .page-home .tp-section--support,
    .page-home .tp-section--team,
    .page-home .tp-section--honor {
        display: none;
    }

    /* 首页移动端隐藏友情链接 */
    .page-home .tp-partners {
        display: none;
    }

    /* 首页产品/服务卡片：电商风格双列网格卡片 */
    .page-home .tp-products .row,
    .page-home .tp-section--service .row {
        --bs-gutter-x: 0.75rem;
    }

    .page-home .tp-service-card {
        flex-direction: column;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
        border: none;
        overflow: hidden;
        transition: transform .15s ease, box-shadow .15s ease;
    }

    .page-home .tp-service-card:active {
        transform: translateY(1px);
        box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
    }

    .page-home .tp-service-card__media {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        background: #f4f6fa;
    }

    .page-home .tp-service-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-home .tp-service-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 6px;
        min-width: 0;
    }

    .page-home .tp-service-card__body .tp-service-card__title {
        font-size: 13px;
        font-weight: 700;
        color: #1c2430;
        margin-bottom: 2px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
    }

    /* 服务项目卡片标题超长一行截断 */
    .page-home .tp-section--service .tp-service-card__body .tp-service-card__title {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .page-home .tp-service-card__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        margin-bottom: 4px;
    }

    .page-home .tp-service-card__tag {
        display: inline-block;
        font-size: 9px;
        line-height: 1;
        padding: 2px 5px;
        border-radius: 3px;
        color: #fff;
    }

    .page-home .tp-service-card__tag--hot {
        background: #ff4d6a;
    }

    .page-home .tp-service-card__tag--rec {
        background: #ff9800;
    }

    .page-home .tp-service-card__desc {
        display: none;
    }

    .page-home .tp-service-card__sales {
        font-size: 10px;
        color: #9aa3b2;
        margin-bottom: 3px;
    }

    .page-home .tp-service-card__footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 4px;
        margin-top: auto;
    }

    .page-home .tp-service-card__footer .tp-service-card__price {
        justify-content: flex-start;
        gap: 4px;
        margin-bottom: 0;
        flex-wrap: wrap;
        min-width: 0;
    }

    .page-home .tp-service-card__footer .tp-price-now {
        font-size: 14px;
        color: #e74c3c;
        font-weight: 800;
    }

    .page-home .tp-service-card__footer .tp-price-now small {
        font-size: 9px;
        color: #9aa3b2;
        font-weight: 400;
        margin-left: 1px;
    }

    .page-home .tp-service-card__footer .tp-price-old {
        font-size: 10px;
        color: #b6bfcc;
    }

    .page-home .tp-service-card__footer .tp-service-card__btn {
        min-width: auto;
        padding: 3px 9px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 10px;
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
        color: #fff;
        border: none;
        flex-shrink: 0;
    }

    .page-home .tp-service-card__footer .tp-service-card__btn:hover {
        opacity: .92;
        color: #fff;
    }

    /* 产品分类页移动端：分类 tab + 电商卡片 */
    .page-procat .row.g-5 {
        flex-direction: column;
    }

    .page-procat .row.g-5 > .col-lg-3 {
        order: -1;
    }

    .page-procat .row.g-5 > .col-lg-9 {
        padding-left: 0;
        padding-right: 0;
    }

    .page-procat .tp-section__head {
        text-align: left;
        margin-bottom: 14px;
    }

    .page-procat .tp-section__head .tp-section__title {
        font-size: 18px;
    }

    .page-procat .tp-lead {
        font-size: 12px;
        color: #7a8494;
        margin-bottom: 12px;
    }

    .page-procat .tp-serv-side {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px 12px;
        background: #fff;
        border: none;
        border-radius: 12px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
        margin-bottom: 14px;
        scrollbar-width: none;
    }

    .page-procat .tp-serv-side::-webkit-scrollbar {
        display: none;
    }

    .page-procat .tp-serv-side__title {
        display: none;
    }

    .page-procat .tp-serv-side__item {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 6px 14px;
        border-radius: 16px;
        background: #f4f6fa;
        color: #445;
        font-size: 13px;
        line-height: 1.4;
    }

    .page-procat .tp-form-card {
        display: none;
    }

    .page-procat .tp-service-card {
        flex-direction: column;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
        border: none;
        overflow: hidden;
        transition: transform .15s ease, box-shadow .15s ease;
    }

    .page-procat .tp-service-card:active {
        transform: translateY(1px);
        box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
    }

    .page-procat .tp-service-card__media {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        background: #f4f6fa;
    }

    .page-procat .tp-service-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-procat .tp-service-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 6px;
        min-width: 0;
    }

    .page-procat .tp-service-card__body .tp-service-card__title {
        font-size: 13px;
        font-weight: 700;
        color: #1c2430;
        margin-bottom: 2px;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        line-height: 1.4;
    }

    .page-procat .tp-service-card__desc {
        display: none;
    }

    .page-procat .tp-service-card__footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 4px;
        margin-top: auto;
    }

    .page-procat .tp-service-card__footer .tp-service-card__price {
        justify-content: flex-start;
        gap: 4px;
        margin-bottom: 0;
        flex-wrap: wrap;
        min-width: 0;
    }

    .page-procat .tp-service-card__footer .tp-price-now {
        font-size: 14px;
        color: #e74c3c;
        font-weight: 800;
    }

    .page-procat .tp-service-card__footer .tp-price-now small {
        font-size: 9px;
        color: #9aa3b2;
        font-weight: 400;
        margin-left: 1px;
    }

    .page-procat .tp-service-card__footer .tp-price-old {
        font-size: 10px;
        color: #b6bfcc;
    }

    .page-procat .tp-service-card__footer .tp-service-card__btn {
        min-width: auto;
        padding: 3px 9px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 10px;
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
        color: #fff;
        border: none;
        flex-shrink: 0;
    }

    /* 产品详情页移动端：电商详情风格 */
    .page-prodetail {
        padding-bottom: 64px;
    }

    .page-prodetail .tp-floatbar {
        display: none;
    }

    /* 移动端统一隐藏“返回上一页” */
    .tp-back {
        display: none;
    }

    .page-prodetail .tp-prod {
        padding: 0;
        border: none;
        overflow: hidden;
    }

    .page-prodetail .tp-prod .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    .page-prodetail .tp-prod__img {
        aspect-ratio: 1 / 1;
        border-radius: 0;
    }

    .page-prodetail .tp-prod-gallery {
        flex-direction: column-reverse;
        gap: 10px;
    }
    .page-prodetail .tp-prod-gallery__thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
    }
    .page-prodetail .tp-prod-gallery__thumb {
        width: 64px;
        height: 64px;
        flex-shrink: 0;
    }
    .page-prodetail .tp-prod-gallery__stage {
        border-radius: 0;
        border: none;
        background: #fff;
    }

    .page-prodetail .col-md-7 {
        padding: 14px;
    }

    .page-prodetail .tp-prod__name {
        font-size: 18px;
        line-height: 1.4;
    }

    .page-prodetail .tp-prod__name small {
        display: block;
        font-size: 11px;
        color: #9aa3b2;
        margin: 2px 0 0;
    }

    .page-prodetail .tp-prod__price {
        margin: 8px 0 4px;
    }

    .page-prodetail .tp-prod__price-now {
        font-size: 26px;
    }

    .page-prodetail .tp-prod__sale {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .page-prodetail .tp-prod__desc {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .page-prodetail .tp-spec-group__label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .page-prodetail .tp-spec-option {
        padding: 6px 12px;
        font-size: 12px;
    }

    .page-prodetail .tp-prod__buy {
        display: none;
    }

    .page-prodetail .tp-prod__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 14px;
    }

    .page-prodetail .tp-prod__feature {
        font-size: 12px;
        padding: 8px 10px;
    }

    .page-prodetail .tp-buy-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 14px;
        margin: 0 14px 14px;
    }
    .page-prodetail .tp-buy-flow--b2c {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .page-prodetail .tp-buy-flow--b2c .tp-buy-flow__arrow {
        display: none;
    }
    .page-prodetail .tp-buy-flow__note {
        margin: 0 14px 14px;
    }

    /* 侧栏：隐藏分类与咨询，同分类产品横向小卡 */
    .page-prodetail .tp-detail-aside .tp-serv-side,
    .page-prodetail .tp-detail-aside .tp-form-card {
        display: none;
    }

    .page-prodetail .tp-detail-aside .tp-news-side {
        margin-top: 20px;
    }

    .page-prodetail .tp-news-side__list {
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .page-prodetail .tp-news-side__list::-webkit-scrollbar {
        display: none;
    }

    .page-prodetail .tp-news-side__item {
        flex: 0 0 auto;
        width: 140px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .page-prodetail .tp-news-side__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: #fff;
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
        height: 100%;
    }

    .page-prodetail .tp-news-side__num {
        display: none;
    }

    .page-prodetail .tp-news-side__info-title {
        font-size: 13px;
        font-weight: 700;
        color: #1c2430;
        margin: 0;
    }

    .page-prodetail .tp-news-side__info-date {
        font-size: 12px;
        color: #e74c3c;
        margin: 0;
    }

    /* 移动端底部操作栏 */
    .page-prodetail .tp-mobile-buybar {
        display: flex;
        align-items: center;
        gap: 8px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1031;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #eef1f6;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
    }

    .page-prodetail .tp-mobile-buybar .tp-qty {
        flex-shrink: 0;
    }

    .page-prodetail .tp-mobile-buybar .tp-qty button,
    .page-prodetail .tp-mobile-buybar .tp-qty input {
        height: 40px;
    }

    .page-prodetail .tp-mobile-buybar__cart,
    .page-prodetail .tp-mobile-buybar__buy {
        flex: 1;
        height: 40px;
        border: none;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
    }

    .page-prodetail .tp-mobile-buybar__cart {
        background: linear-gradient(135deg, #ffb03a, #ff8a00);
    }

    .page-prodetail .tp-mobile-buybar__buy {
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
    }

    /* 服务列表页移动端：两列电商卡片（参考首页服务区） */
    .page-service .row.g-4 {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }

    .page-service .tp-service-card {
        flex-direction: column;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
        border: none;
        overflow: hidden;
        transition: transform .15s ease, box-shadow .15s ease;
    }

    .page-service .tp-service-card:active {
        transform: translateY(1px);
        box-shadow: 0 1px 5px rgba(0, 0, 0, .05);
    }

    .page-service .tp-service-card__media {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        background: #f4f6fa;
    }

    .page-service .tp-service-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-service .tp-service-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 6px;
        min-width: 0;
    }

    .page-service .tp-service-card__title {
        font-size: 13px;
        font-weight: 700;
        color: #1c2430;
        margin-bottom: 2px;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        line-height: 1.4;
    }

    .page-service .tp-service-card__desc {
        display: none;
    }

    .page-service .tp-service-card__btn {
        margin-top: auto;
        align-self: flex-start;
        font-size: 10px;
        font-weight: 600;
        padding: 3px 9px;
        border-radius: 10px;
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
        color: #fff;
        border: none;
    }

    /* 服务详情页移动端 */
    .page-servdetail {
        padding-bottom: 76px;
    }

    .page-servdetail .tp-floatbar {
        display: none;
    }

    .page-servdetail .tp-content {
        padding: 16px 0 40px;
        background: #f5f7fa;
    }

    .page-servdetail .tp-back {
        display: none;
    }

    .page-servdetail .tp-serv-hero {
        border-radius: 0;
        box-shadow: none;
        margin: 0 -16px 16px;
    }

    .page-servdetail .tp-serv-hero img {
        aspect-ratio: 1 / 1;
    }

    .page-servdetail .col-lg-8 {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-servdetail .tp-serv-block {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    }

    .page-servdetail .tp-serv-block .tp-section__head {
        margin-bottom: 12px;
    }

    .page-servdetail .tp-section__head .tp-section__title {
        font-size: 17px;
    }

    .page-servdetail .tp-section__title::after {
        left: 0;
        transform: none;
        margin-left: 0;
        margin-right: 0;
    }

    .page-servdetail .tp-section__subtitle {
        display: none;
    }

    .page-servdetail .col-lg-8 > .tp-section__more {
        display: none;
    }

    .page-servdetail .tp-lead {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .page-servdetail .tp-prose {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 0;
    }

    .page-servdetail .tp-serv-meta {
        display: flex;
        gap: 12px;
        margin: 0 0 16px;
    }

    .page-servdetail .tp-serv-meta__item {
        flex: 1;
        padding: 16px 6px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    }

    .page-servdetail .tp-serv-meta__num {
        font-size: 16px;
    }

    .page-servdetail .tp-serv-meta__label {
        font-size: 11px;
    }

    .page-servdetail .tp-list-check {
        padding: 0;
        margin-bottom: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .page-servdetail .tp-list-check li {
        font-size: 13px;
        line-height: 1.6;
        padding-left: 22px;
        margin-bottom: 10px;
    }

    .page-servdetail .tp-list-check li:last-child {
        margin-bottom: 0;
    }

    .page-servdetail .tp-section__more {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12px;
        border-radius: 24px;
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
        color: #fff;
        font-weight: 600;
        font-size: 14px;
        border: none;
    }

    .page-servdetail .tp-serv-side,
    .page-servdetail .tp-form-card {
        display: none;
    }

    .page-servdetail .tp-news-side {
        margin-top: 16px;
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    }

    .page-servdetail .tp-news-side__list {
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .page-servdetail .tp-news-side__list::-webkit-scrollbar {
        display: none;
    }

    .page-servdetail .tp-news-side__item {
        flex: 0 0 auto;
        width: 140px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .page-servdetail .tp-news-side__link {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: #fff;
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
        height: 100%;
    }

    .page-servdetail .tp-news-side__num {
        display: none;
    }

    .page-servdetail .tp-news-side__info-title {
        font-size: 13px;
        font-weight: 700;
        color: #1c2430;
        margin: 0;
    }

    .page-servdetail .tp-news-side__info-date {
        font-size: 12px;
        color: #9aa3b2;
        margin: 0;
    }

    .page-servdetail .tp-mobile-servbar {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1031;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #eef1f6;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
    }

    .page-servdetail .tp-mobile-servbar__book {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 40px;
        border-radius: 20px;
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }

    /* 团队页移动端：卡片间距与产品中心页一致 */
    .page-team .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    /* 团队页移动端：成员两列电商卡片（参考产品列表） */
    .page-team .tp-case-card {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
        transition: transform .15s ease, box-shadow .15s ease;
    }

    .page-team .tp-case-card:active {
        transform: translateY(1px);
        box-shadow: 0 1px 6px rgba(0, 0, 0, .05);
    }

    .page-team .tp-case-card__media {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        background: #f4f6fa;
    }

    .page-team .tp-case-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .page-team .tp-case-card__tag {
        left: 6px;
        top: 6px;
        font-size: 10px;
        padding: 3px 6px;
        border-radius: 4px;
        line-height: 1.2;
    }

    .page-team .tp-case-card__body {
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
    }

    .page-team .tp-case-card__title {
        font-size: 14px;
        font-weight: 700;
        color: #1c2430;
        margin-bottom: 4px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-team .tp-case-card__date {
        font-size: 12px;
        font-weight: 600;
        color: #0d6efd;
        margin-bottom: 6px;
    }

    .page-team .tp-case-card__meta {
        font-size: 11px;
        color: #9aa3b2;
        line-height: 1.5;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 团队优势：移动端两列 */
    .page-team .tp-dept-card {
        padding: 14px 10px;
    }

    .page-team .tp-dept-card__icon {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }

    .page-team .tp-dept-card__name {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .page-team .tp-dept-card__desc {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .tp-section,
    .tp-content {
        padding: 2.5rem 0;
    }

    .tp-section__title {
        font-size: 1.5rem;
    }

    .tp-floatbar {
        display: block;
        height: 56px;
        min-height: 56px;
        max-height: 56px;
        padding: 0;
        box-sizing: border-box;
        overflow: visible;
    }

    /* 移动端隐藏悬浮购物车按钮，入口在底部菜单 */
    #tp-cart-fab {
        display: none;
    }

    body {
        padding-bottom: 56px;
    }

    /* 首页热门新闻标题：超长单行省略 */
    .page-home .tp-news-side__info-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* ============ 内页头部 ============ */
.tp-inner-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 96px 0 72px;
    color: #fff;
}
.tp-inner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, .72), rgba(8, 70, 165, .78));
}
.tp-inner-hero__body {
    position: relative;
    z-index: 2;
}
.tp-inner-hero__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 6px;
}
.tp-inner-hero__sub {
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 14px;
}
.tp-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}
.tp-breadcrumb a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
}
.tp-breadcrumb a:hover {
    color: #fff;
}
.tp-breadcrumb__sep {
    margin: 0 8px;
    opacity: .6;
}
.tp-breadcrumb__current {
    color: #fff;
}

/* ============ 内容页通用 ============ */
.tp-prose p {
    line-height: 2;
    color: #555;
    margin-bottom: 18px;
}
.tp-lead {
    font-size: 18px;
    color: #666;
    line-height: 1.9;
}
.tp-list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tp-list-check li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.8;
}
.tp-list-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #0d6efd;
}

/* 服务详情侧栏 */
.tp-serv-side {
    background: #f6f8fc;
    border: 1px solid #e9eef5;
    border-radius: 12px;
    padding: 22px;
}
.tp-serv-side__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3e9f2;
}
.tp-serv-side__item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #445;
    text-decoration: none;
    transition: .2s;
}
.tp-serv-side__item:hover,
.tp-serv-side__item.active {
    background: #0d6efd;
    color: #fff;
}
/* 服务详情大图（参考产品详情） */
.tp-serv-hero {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
    margin-bottom: 28px;
}

.tp-serv-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.tp-serv-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin: 28px 0;
}
.tp-serv-meta__item {
    flex: 1 1 160px;
    background: #f6f8fc;
    border-radius: 10px;
    padding: 18px 20px;
}
.tp-serv-meta__num {
    font-size: 26px;
    font-weight: 700;
    color: #0d6efd;
}
.tp-serv-meta__label {
    color: #777;
    font-size: 14px;
}

/* 新闻列表 */
.tp-article {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 18px;
    transition: .2s;
}
.tp-article:hover {
    box-shadow: 0 10px 30px rgba(13, 110, 253, .1);
    transform: translateY(-2px);
}
.tp-article__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.tp-article__title a {
    color: #222;
    text-decoration: none;
}
.tp-article__title a:hover {
    color: #0d6efd;
}
.tp-article__meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}
.tp-article__meta i {
    margin-right: 4px;
}
.tp-article__desc {
    color: #666;
    line-height: 1.8;
}
.tp-news-side {
    background: #f6f8fc;
    border-radius: 12px;
    padding: 22px;
}
.tp-news-side__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.tp-news-side__title {
    font-weight: 700;
}
.tp-news-side__more {
    font-size: 13px;
    color: #0d6efd;
    text-decoration: none;
}
.tp-news-side__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tp-news-side__item {
    border-bottom: 1px dashed #e1e7f0;
}
.tp-news-side__link {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 12px 0;
    text-decoration: none;
    color: #444;
}
.tp-news-side__link:hover {
    color: #0d6efd;
}
.tp-news-side__num {
    flex: 0 0 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    font-size: 13px;
}
.tp-news-side__info-title {
    font-size: 14px;
    margin: 0 0 4px;
}
.tp-news-side__info-date {
    font-size: 12px;
    color: #aaa;
}

/* 联系我们 */
.tp-contact-info {
    background: #f6f8fc;
    border-radius: 12px;
    padding: 28px;
}
.tp-contact-info__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #e1e7f0;
}
.tp-contact-info__item:last-child {
    border-bottom: 0;
}
.tp-contact-info__icon {
    flex: 0 0 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border-radius: 10px;
    background: #0d6efd;
    color: #fff;
    font-size: 18px;
}
.tp-contact-info__label {
    font-size: 13px;
    color: #999;
}
.tp-contact-info__value {
    font-size: 16px;
    color: #222;
    font-weight: 600;
}
.tp-form-card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 28px;
}
.tp-map {
    height: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: #e9eef5;
}

.tp-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 页尾地图（宽度随容器自适应，高度按 16:9 自动） */
.tp-map-full {
    width: 100%;
    padding: 40px 0 48px;
    background: #f6f8fc;
}

.tp-map-full__frame {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #e9eef5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9eef5;
}

.tp-map-full iframe,
.tp-map-full__frame iframe {
    display: block;
    width: 100%;
    height: auto;
    min-height: 380px;
    aspect-ratio: 21 / 9;
    border: 0;
    background: #e9eef5;
}

.tp-map-full__addr {
    font-size: 0.9375rem;
    color: #555;
}

.tp-map-full__addr a {
    color: #0d6efd;
    text-decoration: none;
}

.tp-map-full__addr a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .tp-map-full {
        padding: 24px 0;
    }

    .tp-map-full iframe,
    .tp-map-full__frame iframe {
        min-height: 280px;
        aspect-ratio: 16 / 9;
    }
}

/* 企业文化 */
.tp-value-card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    height: 100%;
    transition: .2s;
}
.tp-value-card:hover {
    box-shadow: 0 12px 34px rgba(13, 110, 253, .12);
    transform: translateY(-3px);
}
.tp-value-card__icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0d6efd, #3b8bff);
    color: #fff;
    font-size: 26px;
}
.tp-value-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.tp-value-card__desc {
    color: #666;
    line-height: 1.8;
}
/* 企业文化动态子内容：等分铺满一行、卡片等高且更高 */
#tpCultureItems:not(:empty) {
    margin-top: 40px;
}
#tpCultureItems > [class*="col-"] {
    display: flex;
}
#tpCultureItems .tp-value-card {
    width: 100%;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 荣誉页 */
.tp-honor-card--badge {
    position: relative;
}
.tp-honor-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #0d6efd, #3b8bff);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
}
.tp-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0;
}
.tp-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #0d6efd, #3b8bff);
    opacity: .25;
}
.tp-timeline__item {
    position: relative;
    width: 50%;
    padding: 0 40px 26px 0;
}
.tp-timeline__item:last-child {
    padding-bottom: 0;
}
.tp-timeline__item--right {
    margin-left: 50%;
    padding: 0 0 26px 40px;
}
.tp-timeline__dot {
    position: absolute;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .15);
}
.tp-timeline__item .tp-timeline__dot {
    right: -9px;
}
.tp-timeline__item--right .tp-timeline__dot {
    left: -9px;
}
.tp-timeline__card {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 16px 20px;
    transition: .2s;
}
.tp-timeline__card:hover {
    box-shadow: 0 10px 30px rgba(13, 110, 253, .1);
    transform: translateY(-3px);
}
.tp-timeline__item:not(.tp-timeline__item--right) .tp-timeline__card {
    text-align: right;
}
@media (max-width: 767.98px) {
    .tp-timeline::before {
        left: 20px;
        transform: none;
    }
    .tp-timeline__item,
    .tp-timeline__item--right {
        width: 100%;
        margin-left: 0;
        padding: 0 0 26px 56px;
    }
    .tp-timeline__item .tp-timeline__dot,
    .tp-timeline__item--right .tp-timeline__dot {
        left: 12px;
        right: auto;
    }
    .tp-timeline__item:not(.tp-timeline__item--right) .tp-timeline__card {
        text-align: left;
    }
}

/* ===== 荣誉页移动端（图片边距对齐产品中心 6px gutter） ===== */
@media (max-width: 767.98px) {
    .page-honor .tp-content > .tp-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-honor .tp-content .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
        margin-left: -6px;
        margin-right: -6px;
    }

    .page-honor .tp-content .row.g-4 > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    .page-honor .tp-about__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }

    .page-honor .tp-about__stats-item {
        justify-content: center;
    }

    .page-honor .tp-about__stats-num {
        font-size: 1.875rem;
    }

    .page-honor .tp-honor-card__media {
        position: relative;
    }

    .page-honor .tp-honor-card__icon {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        line-height: 38px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0d6efd, #3b8bff);
        color: #fff;
        text-align: center;
        font-size: 15px;
        box-shadow: 0 4px 12px rgba(13, 110, 253, .3);
    }

    .page-honor .tp-honor-card__body {
        padding: 0.75rem 0.75rem 1rem;
    }

    .page-honor .tp-honor-card__desc {
        font-size: 0.8125rem;
        color: #888;
        line-height: 1.5;
        margin: 6px 0 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-honor .tp-value-card {
        padding: 22px 18px;
    }

    .page-honor .tp-value-card__icon {
        width: 56px;
        height: 56px;
        line-height: 56px;
        font-size: 22px;
        margin-bottom: 14px;
    }

    .page-honor .tp-timeline__card {
        padding: 14px 16px;
    }

    .page-honor .tp-honor-cta {
        padding: 36px 0;
    }

    .page-honor .tp-honor-cta__title {
        font-size: 20px;
    }

    .page-honor .tp-honor-cta__desc {
        margin-bottom: 18px;
    }
}

.tp-timeline__year {
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 4px;
    font-size: 16px;
}
.tp-timeline__desc {
    color: #666;
    line-height: 1.7;
    margin: 0;
}
.tp-honor-cta {
    background: linear-gradient(135deg, #0d6efd, #3b8bff);
    color: #fff;
    padding: 56px 0;
}
.tp-honor-cta__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}
.tp-honor-cta__desc {
    opacity: .85;
    margin-bottom: 22px;
}

/* ===== 产品中心 PC 分类栏 ===== */
.tp-product-cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.75rem;
    background: #f6f8fc;
    border: 1px solid #e9eef5;
    border-radius: 10px;
}

.tp-product-cats__label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #445;
    margin-right: 0.15rem;
    flex-shrink: 0;
}

.tp-product-cats__item {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.85rem;
    font-size: 0.875rem;
    color: #555;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #fff;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.tp-product-cats__item:hover {
    color: var(--tp-primary);
    border-color: #cfe0ff;
    background: #f5f9ff;
}

.tp-product-cats__item.is-active {
    color: #fff;
    background: var(--tp-primary);
    border-color: var(--tp-primary);
    font-weight: 600;
}

.page-product #tp-product-grid.is-loading {
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* ===== 产品列表价格 ===== */
.tp-service-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}
.tp-price-now {
    color: #e63946;
    font-weight: 700;
    font-size: 18px;
}
.tp-price-now small {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}
.tp-price-old {
    color: #bbb;
    font-size: 13px;
}

/* 价格 + 按钮同一行 */
.tp-service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.tp-service-card__footer .tp-service-card__price {
    justify-content: flex-start;
    margin-bottom: 0;
}
.tp-service-card__footer .tp-price-now {
    font-size: 24px;
}
.tp-service-card__footer .tp-price-now small {
    font-size: 13px;
}
.tp-service-card__footer .tp-service-card__btn {
    min-width: 108px;
    padding: 0.55rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
}

/* ===== 产品详情 ===== */
.tp-prod {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 14px;
    padding: 24px;
}
.tp-prod__img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}
.tp-prod__name {
    font-size: 24px;
    font-weight: 700;
}
.tp-prod__name small {
    font-size: 14px;
    color: #999;
    font-weight: 400;
    margin-left: 6px;
}
.tp-prod__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 14px 0 6px;
}
.tp-prod__price-now {
    color: #e63946;
    font-size: 30px;
    font-weight: 700;
}
.tp-prod__price-now b {
    font-weight: 700;
}
.tp-prod__price-unit {
    color: #999;
}
.tp-prod__price-old {
    color: #bbb;
}
.tp-prod__sale {
    color: #999;
    font-size: 13px;
    margin-bottom: 10px;
}
.tp-prod__desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}
.tp-prod__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.tp-prod__feature {
    background: #f6f8fc;
    border-radius: 10px;
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
}
.tp-prod__feature i {
    color: #0d6efd;
    margin-right: 6px;
}

/* 商品图库 */
.tp-prod-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}
.tp-prod-gallery__thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: none;
}
.tp-prod-gallery__thumbs::-webkit-scrollbar {
    display: none;
}
.tp-prod-gallery__thumb {
    width: 88px;
    height: 88px;
    flex-shrink: 0;
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s ease;
}
.tp-prod-gallery__thumb.active,
.tp-prod-gallery__thumb:hover {
    border-color: #e1251b;
}
.tp-prod-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.tp-prod-gallery__stage {
    position: relative;
    flex: 1;
    min-width: 0;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}
.tp-prod-gallery__main {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.tp-prod-gallery__main--hidden {
    display: none;
}
.tp-prod-gallery__video {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #000;
}
.tp-prod-gallery__thumb--video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(135deg, #1b2735, #2c3e50);
    color: #fff;
    font-size: 12px;
    line-height: 1;
}
.tp-prod-gallery__thumb--video i {
    font-size: 22px;
    color: #fff;
    opacity: .95;
}
.tp-prod-gallery__thumb--video span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    padding: 0 2px;
}

/* 规格选择 */
.tp-spec-group {
    margin-bottom: 16px;
}
.tp-spec-group__label {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}
.tp-spec-group__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tp-spec-option {
    border: 1px solid #dde3ec;
    background: #fff;
    color: #333;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    transition: .2s;
}
.tp-spec-option:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}
.tp-spec-option.active {
    border-color: #0d6efd;
    background: #e7f0ff;
    color: #0d6efd;
    font-weight: 600;
}
.tp-sku-info {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 10px 14px;
    margin-bottom: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
}
.tp-sku-info b { color: #0d6efd; }
.tp-sku-info__stock { font-size: 13px; }
.tp-sku-info__stock.in-stock { color: #16a34a; }
.tp-sku-info__stock.out-stock { color: #dc2626; }
.tp-sku-info__code { font-size: 12px; color: #94a3b8; }

/* 收藏按钮 */
.tp-prod__fav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #e3e7ef;
    border-radius: 8px;
    background: #fff;
    color: #8a94a6;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.tp-prod__fav i {
    color: #b6bfcc;
    transition: all .2s;
}
.tp-prod__fav:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}
.tp-prod__fav:hover i {
    color: #e74c3c;
}
.tp-prod__fav.active {
    border-color: #e74c3c;
    background: #fff5f5;
    color: #e74c3c;
}
.tp-prod__fav.active i {
    color: #e74c3c;
}

/* 商品图上的收藏按钮 */
.tp-prod-gallery__fav {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    z-index: 2;
}
.tp-prod-gallery__fav i {
    font-size: 18px;
}

/* 用户评价区块（产品详情页） */
.tp-rev-overview {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fafbfd;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 16px;
}
.tp-rev-overview__score {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.tp-rev-overview__score b {
    font-size: 42px;
    line-height: 1;
    color: #ff8a00;
}
.tp-rev-overview__score span {
    font-size: 13px;
    color: #8a94a6;
}
.tp-rev-overview__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tp-rev-stars i {
    color: #ffb400;
    margin-right: 2px;
}
.tp-rev-stars i.far {
    color: #d5dbe4;
}
.tp-rev-overview__count {
    font-size: 13px;
    color: #8a94a6;
}
.tp-rev-overview__count b {
    color: #1c2430;
}
.tp-rev-list {
    display: flex;
    flex-direction: column;
}
.tp-rev-item {
    padding: 18px 4px;
    border-bottom: 1px dashed #eef1f6;
}
.tp-rev-item:last-child {
    border-bottom: none;
}
.tp-rev-item__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.tp-rev-item__avatar {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4e9fff, #0d6efd);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.tp-rev-item__user {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tp-rev-item__user b {
    font-size: 14px;
    color: #1c2430;
}
.tp-rev-item__date {
    font-size: 12px;
    color: #aeb6c2;
}
.tp-rev-item__stars i {
    color: #ffb400;
    font-size: 13px;
    margin-right: 1px;
}
.tp-rev-item__stars i.far {
    color: #d5dbe4;
}
.tp-rev-item__content {
    font-size: 14px;
    line-height: 1.7;
    color: #4a5468;
    margin: 0 0 8px 52px;
}
.tp-rev-item__reply {
    font-size: 13px;
    line-height: 1.6;
    color: #8a94a6;
    background: #f6f8fc;
    border-radius: 8px;
    padding: 10px 14px;
    margin-left: 52px;
}
.tp-rev-empty {
    text-align: center;
    padding: 48px 0;
    color: #b6bfcc;
}
.tp-rev-empty i {
    font-size: 42px;
    display: block;
    margin-bottom: 12px;
}

/* 评价分页 */
.tp-rev-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
}
.tp-rev-pager a,
.tp-rev-pager span {
    min-width: 34px;
    height: 34px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #e4e8ef;
    color: #55606f;
    text-decoration: none;
    padding: 0 8px;
    box-sizing: border-box;
}
.tp-rev-pager a:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}
.tp-rev-pager .active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
.tp-rev-pager__total {
    min-width: auto !important;
    border: none !important;
    color: #8a94a6 !important;
    font-size: 13px !important;
    padding: 0 10px !important;
    height: auto !important;
    line-height: 34px !important;
}

/* 数量与操作 */
.tp-prod__buy {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.tp-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dde3ec;
    border-radius: 8px;
    overflow: hidden;
}
.tp-qty button {
    width: 34px;
    height: 36px;
    border: 0;
    background: #f6f8fc;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}
.tp-qty button:hover {
    background: #e7f0ff;
    color: #0d6efd;
}
.tp-qty input {
    width: 46px;
    height: 36px;
    border: 0;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
    background: #fff;
}
#tp-cart-tip {
    display: none;
    color: #16a34a;
    margin-top: 10px;
}
#tp-cart-tip.show {
    display: block;
}

/* 购买流程（商品详情：标准 B2C） */
.tp-buy-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: #f6f8fc;
    border-radius: 12px;
    padding: 20px;
}
.tp-buy-flow--b2c {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 4px;
}
.tp-buy-flow--b2c .tp-buy-flow__step {
    flex: 1 1 120px;
    min-width: 110px;
}
.tp-buy-flow__arrow {
    flex: 0 0 auto;
    color: #c5cedb;
    font-size: 12px;
    padding: 0 2px;
}
.tp-buy-flow__step {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tp-buy-flow__num {
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: #d5deea;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.tp-buy-flow__step.active .tp-buy-flow__num {
    background: #0d6efd;
    color: #fff;
}
.tp-buy-flow__step b {
    display: block;
    font-size: 14px;
}
.tp-buy-flow__step small {
    color: #999;
    font-size: 12px;
}
.tp-buy-flow__note {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: 10px;
}
.tp-buy-flow__note > p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #667085;
    line-height: 1.7;
}
.tp-buy-flow__note > p i {
    color: #0d6efd;
    margin-right: 6px;
}
.tp-buy-flow__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== 购物车 ===== */
/* 产品详情移动端底部操作栏（桌面默认隐藏） */
.tp-mobile-buybar {
    display: none;
}

/* 服务详情移动端底部预约栏（桌面默认隐藏） */
.tp-mobile-servbar {
    display: none;
}

#tp-cart-fab {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #0d6efd, #3b8bff);
    color: #fff;
    font-size: 20px;
    box-shadow: 0 8px 22px rgba(13, 110, 253, .35);
    z-index: 1050;
    cursor: pointer;
}
#tp-cart-fab .tp-cart-fab__count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #e63946;
    font-size: 11px;
    text-align: center;
}
/* 右下角悬浮“返回顶部”：位于购物车浮钮上方，滚动后显示 */
.tp-backtop {
    position: fixed;
    right: 22px;
    bottom: 88px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #6b7280;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(13, 110, 253, .14), 0 2px 8px rgba(15, 23, 42, .08);
    cursor: pointer;
    z-index: 1049;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, color .2s ease, background .2s ease;
}
.tp-backtop:hover {
    background: linear-gradient(135deg, #0d6efd, #3b8bff);
    color: #fff;
}
.tp-backtop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
@media (max-width: 991.98px) {
    .tp-backtop {
        right: 16px;
        bottom: 76px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
#tp-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 1051;
}
#tp-cart-overlay.open {
    opacity: 1;
    visibility: visible;
}
#tp-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 92vw;
    background: #fff;
    z-index: 1052;
    transform: translateX(100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .12);
}
#tp-cart-drawer.open {
    transform: translateX(0);
}
.tp-cart-drawer__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #eef1f6;
    font-size: 16px;
    font-weight: 700;
}
.tp-cart-drawer__head button {
    border: 0;
    background: none;
    font-size: 18px;
    color: #999;
}
.tp-cart-drawer__head-ops {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tp-cart-drawer__head-ops #tp-cart-clear {
    font-size: 13px;
    color: #b23b3b;
    padding: 2px 8px;
    border: 1px solid #f0d4d4;
    border-radius: 5px;
    background: #fff8f8;
}
.tp-cart-drawer__head-ops #tp-cart-clear:hover {
    background: #fdecec;
}
/* 订单确认视图 */
.tp-co-head {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.tp-co-items {
    border: 1px dashed #e3e9f2;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    max-height: 200px;
    overflow-y: auto;
}
.tp-co-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
}
.tp-co-item__name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #444;
}
.tp-co-item__qty {
    color: #999;
    flex-shrink: 0;
}
.tp-co-item__price {
    color: #e63946;
    font-weight: 600;
    flex-shrink: 0;
}
.tp-co-total {
    text-align: right;
    font-size: 14px;
    margin-bottom: 12px;
}
.tp-co-total b {
    color: #e63946;
    font-size: 19px;
}
.tp-co-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tp-co-field {
    display: block;
}
.tp-co-field span {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}
.tp-co-field em {
    color: #e63946;
    font-style: normal;
}
.tp-co-field input,
.tp-co-field textarea {
    width: 100%;
    border: 1px solid #dfe6f0;
    border-radius: 7px;
    padding: 8px 10px;
    font-size: 14px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
}
.tp-co-field input:focus,
.tp-co-field textarea:focus {
    border-color: #0d6efd;
}
.tp-co-order-no {
    font-size: 14px;
    color: #555;
}
.tp-co-order-no b {
    color: #0d6efd;
}
.tp-cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 18px;
}
.tp-cart-empty {
    text-align: center;
    color: #aaa;
    padding: 60px 0;
}
.tp-cart-empty i {
    font-size: 44px;
    display: block;
    margin-bottom: 12px;
}
.tp-cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed #eef1f6;
}
.tp-cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}
.tp-cart-item__info {
    flex: 1;
    min-width: 0;
}
.tp-cart-item__name {
    font-weight: 600;
    font-size: 14px;
}
.tp-cart-item__spec {
    color: #999;
    font-size: 12px;
    margin: 2px 0 8px;
}
.tp-cart-item__bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tp-cart-item__price {
    color: #e63946;
    font-weight: 700;
    font-size: 14px;
}
.tp-cart-item__ops {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e3e9f2;
    border-radius: 6px;
}
.tp-cart-item__ops button {
    width: 26px;
    height: 26px;
    border: 0;
    background: #f6f8fc;
    cursor: pointer;
}
.tp-cart-item__ops span {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
}
.tp-cart-item__del {
    border: 0;
    background: none;
    color: #bbb;
    cursor: pointer;
    margin-left: auto;
}
.tp-cart-drawer__foot {
    padding: 14px 18px;
    border-top: 1px solid #eef1f6;
}
.tp-cart-drawer__total {
    margin-bottom: 10px;
    font-size: 15px;
}
.tp-cart-drawer__total b {
    color: #e63946;
    font-size: 20px;
}

/* ===== 案例详情 ===== */
.tp-case-detail__cover {
    width: 100%;
    border-radius: 14px;
}
.tp-case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    background: #f6f8fc;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 18px;
    color: #555;
    font-size: 14px;
}
.tp-case-meta i {
    color: #0d6efd;
    margin-right: 5px;
}
.tp-case-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}
.tp-case-gallery img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.tp-case-card__more {
    display: inline-block;
    color: #0d6efd;
    font-size: 13px;
    margin-top: 4px;
}

/* ===== 详情页右侧（仅 product/case/service detail，不影响新闻等） ===== */
.tp-detail-aside {
    min-width: 0;
}

.tp-detail-aside > .tp-serv-side,
.tp-detail-aside > .tp-news-side,
.tp-detail-aside > .tp-form-card {
    height: auto !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.tp-detail-aside .tp-serv-side__item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-detail-aside .tp-news-side__list {
    gap: 0;
}

.tp-detail-aside .tp-news-side__item {
    padding-bottom: 0.85rem;
    margin: 0;
}

.tp-detail-aside .tp-news-side__item:last-child {
    padding-bottom: 0;
}

.tp-detail-aside .tp-news-side__link {
    align-items: flex-start;
    min-width: 0;
    text-decoration: none;
}

.tp-detail-aside .tp-news-side__link.is-active .tp-news-side__info-title {
    color: #0d6efd;
    font-weight: 700;
}

.tp-detail-aside .tp-news-side__info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.tp-detail-aside .tp-news-side__info-title {
    margin: 0 0 0.25rem;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tp-detail-aside .tp-news-side__info-date {
    margin: 0;
}

.tp-detail-aside .tp-news-side__num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.tp-detail-aside .tp-form-card {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .tp-buy-flow {
        grid-template-columns: repeat(2, 1fr);
    }
    .tp-buy-flow--b2c {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .tp-buy-flow--b2c .tp-buy-flow__arrow {
        display: none;
    }
}

/* ============================================================
   TP80 全局字体放大（一级菜单除外）
   ------------------------------------------------------------
   html 根字号由 17px 提升至 19px，所有 rem 尺寸整体放大约 12%；
   导航一级菜单 .tp-navbar .navbar-nav .nav-link 在各断点固定为
   原始像素大小保持不变；内页固定的 px 字号适度上调。
   ============================================================ */
html {
    font-size: 19px;
}

/* 一级菜单保持原大小（换算自原 17px 根字号） */
.tp-navbar .navbar-nav .nav-link {
    font-size: 17px;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .tp-navbar .navbar-nav .nav-link { font-size: 15.9375px; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
    .tp-navbar .navbar-nav .nav-link { font-size: 15.9375px; }
}
@media (min-width: 1360px) and (max-width: 1439px) {
    .tp-navbar .navbar-nav .nav-link { font-size: 17px; }
}
@media (min-width: 1440px) and (max-width: 1599px) {
    .tp-navbar .navbar-nav .nav-link { font-size: 17px; }
}
@media (min-width: 1600px) and (max-width: 1919px) {
    .tp-navbar .navbar-nav .nav-link { font-size: 17.85px; }
}
@media (min-width: 1920px) and (max-width: 2559px) {
    .tp-navbar .navbar-nav .nav-link { font-size: 19.55px; }
}
@media (min-width: 2560px) {
    .tp-navbar .navbar-nav .nav-link { font-size: 22.1px; }
}

/* ===== 内页 px 字号适度上调 ===== */
.tp-inner-hero__title { font-size: 40px; }
.tp-breadcrumb { font-size: 16px; }
.tp-lead { font-size: 20px; }
.tp-serv-side__title { font-size: 18px; }
.tp-serv-meta__num { font-size: 29px; }
.tp-serv-meta__label { font-size: 16px; }
.tp-article__title { font-size: 20px; }
.tp-article__meta { font-size: 15px; }
.tp-news-side__more { font-size: 15px; }
.tp-news-side__info-title { font-size: 16px; }
.tp-news-side__info-date { font-size: 14px; }
.tp-contact-info__icon { font-size: 20px; }
.tp-contact-info__label { font-size: 15px; }
.tp-contact-info__value { font-size: 18px; }
.tp-value-card__icon { font-size: 29px; }
.tp-value-card__title { font-size: 20px; }
.tp-honor-card__badge { font-size: 14px; }
.tp-timeline__year { font-size: 18px; }
.tp-honor-cta__title { font-size: 29px; }
.tp-price-now { font-size: 20px; }
.tp-price-now small { font-size: 14px; }
.tp-price-old { font-size: 15px; }
.tp-service-card__footer .tp-price-now { font-size: 27px; }
.tp-service-card__footer .tp-price-now small { font-size: 15px; }
.tp-prod__name { font-size: 27px; }
.tp-prod__name small { font-size: 16px; }
.tp-prod__price-now { font-size: 33px; }
.tp-prod__sale { font-size: 15px; }
.tp-prod__feature { font-size: 16px; }
.tp-spec-group__label { font-size: 16px; }
.tp-spec-option { font-size: 16px; }
.tp-qty button { font-size: 18px; }
.tp-buy-flow__step b { font-size: 16px; }
.tp-buy-flow__step small { font-size: 14px; }
#tp-cart-fab { font-size: 22px; }
.tp-cart-drawer__head { font-size: 18px; }
.tp-cart-drawer__head button { font-size: 20px; }
.tp-cart-empty i { font-size: 48px; }
.tp-cart-item__name { font-size: 16px; }
.tp-cart-item__spec { font-size: 14px; }
.tp-cart-item__price { font-size: 16px; }
.tp-cart-drawer__total { font-size: 17px; }
.tp-cart-drawer__total b { font-size: 22px; }
.tp-case-meta { font-size: 16px; }
.tp-case-card__more { font-size: 15px; }

/* ============================================================
   TP80 案例详情页移动端优化（仅作用于 .page-case-detail）
   ------------------------------------------------------------
   案例详情页 /case/1 等。所有规则以 .page-case-detail 限定，
   不影响其它页面的显示。
   ============================================================ */
@media (max-width: 991.98px) {
    .page-case-detail .tp-content {
        padding: 32px 0;
    }
    .page-case-detail .tp-back {
        font-size: 15px;
    }
    .page-case-detail .tp-case-meta {
        gap: 10px 18px;
    }
    .page-case-detail .tp-case-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .page-case-detail .row {
        --bs-gutter-x: 1rem;
    }
    .page-case-detail .tp-case-detail__cover {
        border-radius: 10px;
    }
    .page-case-detail .tp-case-meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 14px;
        padding: 14px 16px;
        font-size: 15px;
    }
    .page-case-detail .tp-case-gallery {
        gap: 8px;
    }
    .page-case-detail .tp-prose p {
        font-size: 15px;
        line-height: 1.9;
    }
    /* 上一篇/下一篇：防止长标题在小屏溢出 */
    .page-case-detail .tp-article {
        min-width: 0;
    }
    .page-case-detail .tp-article__title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

@media (max-width: 575.98px) {
    .page-case-detail .tp-back {
        margin-bottom: 0.75rem;
    }
    .page-case-detail .tp-case-meta {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   TP80 新闻详情页移动端优化（仅作用于 .page-news-detail）
   ------------------------------------------------------------
   新闻详情页 /news/company/1.html 等。所有规则以
   .page-news-detail 限定，不影响其它页面的显示。
   ============================================================ */
@media (max-width: 991.98px) {
    /* 详情页顶部已有封面大图，上下边距统一为 40px 更紧凑 */
    .page-news-detail .tp-content {
        padding: 40px 0;
    }
    /* 卡片间距与产品中心页一致：16px */
    .page-news-detail .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    .page-news-detail .tp-news-detail__title {
        font-size: 1.3rem;
    }
    .page-news-detail .tp-news-detail__meta {
        gap: 0.5rem 1rem;
    }
}

@media (max-width: 767.98px) {
    .page-news-detail .tp-news-detail__title {
        font-size: 1.15rem;
        margin-bottom: 0.6rem;
    }
    .page-news-detail .tp-news-detail__crumb {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    .page-news-detail .tp-news-detail__meta {
        gap: 0.4rem 0.85rem;
        font-size: 0.75rem;
        margin-bottom: 0.9rem;
        padding-bottom: 0.75rem;
    }
    .page-news-detail .tp-news-detail__cover {
        border-radius: 8px;
        margin-bottom: 1.25rem;
    }
    .page-news-detail .tp-news-detail__body {
        font-size: 0.925rem;
        line-height: 1.85;
    }
    .page-news-detail .tp-news-detail__body h2 {
        font-size: 1.05rem;
        margin: 1.5rem 0 0.7rem;
    }
    .page-news-detail .tp-news-detail__lead {
        font-size: 0.95rem;
        padding: 0.7rem 0.85rem;
    }
    .page-news-detail .tp-news-detail__quote {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
    .page-news-detail .tp-news-detail__pager {
        gap: 0.5rem;
    }
    .page-news-detail .tp-news-detail__pager-item {
        padding: 0.75rem 0.85rem;
    }
    .page-news-detail .tp-news-detail__pager-item strong {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 0.85rem;
    }
    .page-news-detail .tp-news-related {
        gap: 0.65rem;
    }
    .page-news-detail .tp-news-related__thumb {
        flex: 0 0 80px;
        width: 80px;
    }
    .page-news-detail .tp-news-related__title {
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .page-news-detail .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    .page-news-detail .tp-news-related__thumb {
        flex: 0 0 72px;
        width: 72px;
    }
}

/* ============================================================
   TP80 排行列表（推荐页 / 热门页通用）
   ------------------------------------------------------------
   与热销榜 APP 截图保持一致的横向卡片布局。
   ============================================================ */
.page-product-recommend,
.page-product-hot {
    background: linear-gradient(180deg, #f5f0ff 0%, #faf8ff 340px, #f8f9fa 680px);
}

.page-product-recommend .tp-inner-hero,
.page-product-hot .tp-inner-hero {
    background: transparent !important;
    color: #1f2937;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.page-product-recommend .tp-inner-hero::after,
.page-product-hot .tp-inner-hero::after {
    display: none !important;
}

.page-product-recommend .tp-inner-hero__body,
.page-product-hot .tp-inner-hero__body {
    position: relative;
    z-index: 1;
}

.page-product-recommend .tp-breadcrumb,
.page-product-hot .tp-breadcrumb,
.page-product-recommend .tp-breadcrumb a,
.page-product-hot .tp-breadcrumb a {
    color: #6b7280;
}

.page-product-recommend .tp-breadcrumb__current,
.page-product-hot .tp-breadcrumb__current {
    color: #374151;
}

.tp-rank-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    margin-top: 0.5rem;
}

.tp-rank-hero__text {
    flex: 1;
}

.tp-rank-hero__pretitle {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #4b5563;
}

.tp-rank-hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    color: #111827;
}

.tp-rank-hero__sub {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 0;
}

.tp-rank-hero__decor {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    margin-left: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 7px;
}

.tp-rank-hero__bar {
    width: 26px;
    border-radius: 14px 14px 4px 4px;
    background: linear-gradient(180deg, #8b5cf6 0%, #c4b5fd 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

.tp-rank-hero__bar:nth-child(1) {
    height: 55%;
    opacity: 0.45;
}

.tp-rank-hero__bar:nth-child(2) {
    height: 78%;
    opacity: 0.65;
}

.tp-rank-hero__bar:nth-child(3) {
    height: 100%;
    opacity: 0.9;
}

.tp-rank-hero__bar:nth-child(4) {
    height: 68%;
    opacity: 0.55;
}

.tp-rank-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
}

.tp-rank-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--tp-transition, all 0.3s ease);
}

.tp-rank-item:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

.tp-rank-media {
    position: relative;
    width: 120px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.tp-rank-img-wrap {
    position: relative;
    width: 100%;
    background: #f3f4f6;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tp-rank-img-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    border-radius: 10px;
}

.tp-rank-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-weight: 700;
    font-size: 0.95rem;
    background: #f1f3f5;
    color: var(--tp-body, #333);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 2;
}

.tp-rank-badge--1 {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #fff;
}

.tp-rank-badge--2 {
    background: linear-gradient(135deg, #d1d5db, #9ca3af);
    color: #fff;
}

.tp-rank-badge--3 {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #fff;
}

.tp-rank-tag {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.35rem 0.75rem;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.75rem;
    border-radius: 999px;
    text-align: left;
    font-weight: 500;
}

.tp-rank-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.tp-rank-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--tp-dark, #212529);
}

.tp-rank-sale {
    color: #ff4d4f;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tp-rank-sale i {
    margin-left: 0.15rem;
}

.tp-rank-review-box {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.75rem;
}

.tp-rank-review {
    color: var(--tp-muted, #666);
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
}

.tp-rank-comment {
    color: var(--tp-muted, #666);
    font-size: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.tp-rank-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.tp-rank-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
    font-size: 0.9rem;
    color: var(--tp-dark, #212529);
    font-weight: 400;
}

.tp-rank-price b {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.tp-rank-price small {
    font-size: 0.8rem;
    color: var(--tp-muted, #666);
    font-weight: 400;
}

.tp-rank-buy {
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--tp-dark, #212529);
    border-color: var(--tp-dark, #212529);
    color: #fff;
}

.tp-rank-buy:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

@media (max-width: 991.98px) {
    .tp-rank-hero__title {
        font-size: 2.25rem;
    }

    .tp-rank-hero__decor {
        width: 120px;
        height: 120px;
        margin-left: 1rem;
        gap: 5px;
    }

    .tp-rank-hero__bar {
        width: 20px;
        border-radius: 10px 10px 3px 3px;
    }

    .tp-rank-media {
        width: 110px;
    }

    .tp-rank-img-wrap {
        padding: 8px;
        border-radius: 14px;
    }

    .tp-rank-name {
        font-size: 1rem;
    }

    .tp-rank-comment {
        -webkit-line-clamp: 1;
    }

    .tp-rank-price b {
        font-size: 1.4rem;
    }

    .tp-rank-buy {
        padding: 0.45rem 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .page-product-recommend .tp-inner-hero,
    .page-product-hot .tp-inner-hero {
        display: block !important;
        height: auto !important;
        margin: 0 !important;
        overflow: visible !important;
        padding: 64px 0 1.25rem !important;
    }

    .page-product-recommend .tp-inner-hero::after,
    .page-product-hot .tp-inner-hero::after {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .page-product-recommend .tp-breadcrumb,
    .page-product-hot .tp-breadcrumb {
        display: none;
    }

    .page-product-recommend .tp-inner-hero,
    .page-product-hot .tp-inner-hero {
        padding-top: 58px !important;
        padding-bottom: 1rem !important;
    }

    .tp-rank-hero {
        min-height: 110px;
    }

    .tp-rank-hero__pretitle {
        font-size: 0.95rem;
    }

    .tp-rank-hero__title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .tp-rank-hero__sub {
        font-size: 0.75rem;
    }

    .tp-rank-hero__decor {
        width: 90px;
        height: 90px;
        margin-left: 0.75rem;
        gap: 4px;
    }

    .tp-rank-hero__bar {
        width: 16px;
        border-radius: 8px 8px 3px 3px;
    }

    .tp-rank-item {
        gap: 0.85rem;
        padding: 0.85rem;
        border-radius: 16px;
    }

    .tp-rank-media {
        width: 120px;
        gap: 0.5rem;
    }

    .tp-rank-img-wrap {
        padding: 8px;
        border-radius: 14px;
    }

    .tp-rank-img-wrap img {
        border-radius: 10px;
    }

    .tp-rank-badge {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        top: -7px;
        left: -7px;
        border-width: 2px;
    }

    .tp-rank-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.55rem;
    }

    .tp-rank-name {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .tp-rank-sale,
    .tp-rank-review,
    .tp-rank-comment {
        font-size: 0.72rem;
    }

    .tp-rank-sale {
        margin-bottom: 0.3rem;
    }

    .tp-rank-review-box {
        padding: 0.45rem 0.6rem;
        margin-bottom: 0.45rem;
        border-radius: 8px;
    }

    .tp-rank-price {
        font-size: 0.8rem;
    }

    .tp-rank-price b {
        font-size: 1.15rem;
    }

    .tp-rank-buy {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* ===== 新闻首页：幻灯片 + 分类区块（仅 .page-news） ===== */
.page-news .tp-news-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.page-news .tp-news-carousel__link {
    display: block;
    position: relative;
}

.page-news .tp-news-carousel__img {
    height: 420px;
    object-fit: cover;
}

.page-news .tp-news-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 100%);
}

/* ===== 新闻首页：幻灯片 + 分类区块（仅 .page-news） ===== */
.page-news .tp-news-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.page-news .tp-news-carousel__link {
    display: block;
    position: relative;
}

.page-news .tp-news-carousel__img {
    height: 420px;
    object-fit: cover;
}

.page-news .tp-news-carousel__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 100%);
    color: #fff;
}

.page-news .tp-news-carousel__cat {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.page-news .tp-news-carousel__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.page-news .tp-news-carousel__summary {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.page-news .tp-news-carousel .carousel-indicators {
    margin-bottom: 0.4rem;
}

.page-news .tp-news-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.page-news .tp-news-block__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #eef1f6;
}

.page-news .tp-news-block__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.page-news .tp-news-block__sub {
    font-size: 0.8125rem;
    color: #8a94a6;
    margin: 0.2rem 0 0;
}

.page-news .tp-news-block__more {
    flex-shrink: 0;
    color: #0d6efd;
    font-size: 0.875rem;
    text-decoration: none;
}

.page-news .tp-news-block__more:hover {
    color: #0a58ca;
}

.page-news .tp-media-item--sm {
    padding: 0.75rem 0;
}

.page-news .tp-media-item--sm .tp-media-item__thumb {
    flex-basis: 120px;
    width: 120px;
}

.page-news .tp-media-item--sm .tp-media-item__desc {
    font-size: 0.8125rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-news .tp-media-item--sm .tp-media-item__title {
    font-size: 0.9375rem;
}

@media (max-width: 991.98px) {
    .page-news .tp-news-carousel__img {
        height: 220px;
    }
}

/* ===== 商品详情页选卡（仅 .page-prodetail） ===== */
.page-prodetail .tp-tabs {
    margin-top: 44px;
}

.page-prodetail .tp-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 42px;
    padding-bottom: 0;
    border-bottom: 1px solid var(--tp-border, #e9ecef);
}

.page-prodetail .tp-tabs__btn {
    position: relative;
    margin: 0;
    padding: 14px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color: var(--tp-muted, #666);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    transition: color 0.25s ease;
}

.page-prodetail .tp-tabs__btn:hover {
    color: #e1251b;
}

.page-prodetail .tp-tabs__btn.active {
    color: #e1251b;
    font-weight: 600;
}

.page-prodetail .tp-tabs__btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: #e1251b;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.page-prodetail .tp-tabs__btn.active::after {
    opacity: 1;
}

.page-prodetail .tp-tabs__pane {
    display: none;
    padding: 28px 4px 4px;
    animation: tp-tab-fade 0.25s ease;
}

.page-prodetail .tp-tabs__pane.active {
    display: block;
}

@keyframes tp-tab-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.page-prodetail .tp-tabs__pane img {
    max-width: 100%;
}

.page-prodetail .tp-combo-block {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

/* 组合 / 活动：图文区下方全宽左右分栏，填满左侧空白；仅一侧有内容时铺满 */
.page-prodetail .tp-combo-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.page-prodetail .tp-combo-layout:has(> .tp-combo-layout__col--combo):has(> .tp-combo-layout__col--act) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.page-prodetail .tp-combo-layout__col .tp-tabs__sub:first-child {
    margin-top: 0;
}

.page-prodetail .tp-combo-layout__col {
    min-width: 0; /* 保证内部横向滚动可生效，不被内容撑破 */
}

.page-prodetail .tp-combo-layout__col--combo .tp-tabs__sub + .tp-tabs__sub,
.page-prodetail .tp-combo-layout__col--combo .tp-combo-sum + .tp-tabs__sub {
    margin-top: 22px;
}

@media (max-width: 767.98px) {
    .page-prodetail .tp-combo-layout:has(> .tp-combo-layout__col--combo):has(> .tp-combo-layout__col--act) {
        grid-template-columns: 1fr;
    }
}

.page-prodetail .tp-combo-block .tp-tabs__sub:first-child {
    margin-top: 0;
}

.page-prodetail .tp-tabs__sub {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--tp-dark, #212529);
}

/* 活动角标 */
.page-prodetail .tp-prod__act {
    display: inline-block;
    vertical-align: 5px;
    margin-left: 12px;
    padding: 3px 10px 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.page-prodetail .tp-prod__act:hover {
    color: #fff;
    opacity: 0.9;
}

.page-prodetail .tp-prod__act i {
    margin-right: 4px;
}

.page-prodetail .tp-prod__act--flash {
    background: linear-gradient(135deg, #ff5252, #e53935);
}

.page-prodetail .tp-prod__act--discount {
    background: linear-gradient(135deg, #ffb74d, #fb8c00);
}

.page-prodetail .tp-prod__act--coupon,
.page-prodetail .tp-prod__act--new_coupon,
.page-prodetail .tp-prod__act--coupon_pack {
    background: linear-gradient(135deg, #5c8dff, #0d6efd);
}

.page-prodetail .tp-prod__act--red_packet {
    background: linear-gradient(135deg, #b39ddb, #7e57c2);
}

.page-prodetail .tp-prod__act--share {
    background: linear-gradient(135deg, #66bb6a, #2e7d32);
}

/* 活动展示条 */
.page-prodetail .tp-prod__activity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.page-prodetail .tp-prod__activity-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.page-prodetail .tp-prod__activity-tag--flash {
    background: linear-gradient(135deg, #ff5252, #e53935);
}
.page-prodetail .tp-prod__activity-tag--discount {
    background: linear-gradient(135deg, #ffb74d, #fb8c00);
}
.page-prodetail .tp-prod__activity-tag--coupon,
.page-prodetail .tp-prod__activity-tag--new_coupon,
.page-prodetail .tp-prod__activity-tag--coupon_pack {
    background: linear-gradient(135deg, #5c8dff, #0d6efd);
}
.page-prodetail .tp-prod__activity-countdown {
    font-size: 13px;
    color: #e1251b;
}
.page-prodetail .tp-prod__activity-countdown i {
    margin-right: 4px;
}
.page-prodetail .tp-prod__promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: #fff5f5;
    border: 1px solid #ffd4d4;
    border-radius: 8px;
    margin-bottom: 14px;
    color: #c45c5c;
    font-size: 14px;
}
.page-prodetail .tp-prod__promo-main {
    display: flex;
    align-items: center;
    gap: 8px;
}
.page-prodetail .tp-prod__promo-main i {
    color: #e1251b;
}
.page-prodetail .tp-prod__promo-main em.tp-prod__promo-pack {
    font-style: normal;
    font-weight: 700;
    color: #e1251b;
}

/* 组合商品成员清单（横向橱窗卡片，一行排布；成员多时可左右滑动，卡片不换行不变形） */
.page-prodetail .tp-combo-scroll {
    position: relative;
    min-width: 0;
}

.page-prodetail .tp-combo-scroll__btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-58%);
    width: 34px;
    height: 34px;
    border: 1px solid #e4e8ef;
    border-radius: 50%;
    background: #fff;
    color: #4a5568;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.page-prodetail .tp-combo-scroll__btn:hover {
    color: #0d6efd;
    border-color: #bfd4ff;
}

.page-prodetail .tp-combo-scroll__btn:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.page-prodetail .tp-combo-scroll__btn--prev { left: 0; }
.page-prodetail .tp-combo-scroll__btn--next { right: 0; }

.page-prodetail .tp-combo-scroll.is-scrollable .tp-combo-scroll__btn {
    display: inline-flex;
}

.page-prodetail .tp-combo-scroll.is-scrollable .tp-combo-members {
    padding-left: 40px;
    padding-right: 40px;
}

.page-prodetail .tp-combo-members {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 14px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #b8c0cc transparent;
}

.page-prodetail .tp-combo-members::-webkit-scrollbar {
    height: 8px;
}

.page-prodetail .tp-combo-members::-webkit-scrollbar-thumb {
    background: #b8c0cc;
    border-radius: 4px;
}

.page-prodetail .tp-combo-members::-webkit-scrollbar-track {
    background: #eef1f6;
    border-radius: 4px;
}

.page-prodetail .tp-combo-member {
    flex: 0 0 165px;
    width: 165px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #eef1f6;
    border-radius: 12px;
    scroll-snap-align: start;
    transition: box-shadow 0.25s ease;
}

.page-prodetail .tp-combo-member:hover {
    box-shadow: var(--tp-shadow, 0 4px 20px rgba(0, 0, 0, 0.08));
}

.page-prodetail .tp-combo-member img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.page-prodetail .tp-combo-member__info {
    width: 100%;
    min-width: 0;
}

.page-prodetail .tp-combo-member__info b {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--tp-dark, #212529);
    min-height: 42px;
}

.page-prodetail .tp-combo-member__info span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--tp-muted, #666);
}

.page-prodetail .tp-combo-member__price {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
}

.page-prodetail .tp-combo-member__market {
    font-size: 13px;
    color: var(--tp-muted, #999);
    text-decoration: line-through;
}

.page-prodetail .tp-combo-member__sale {
    font-size: 15px;
    font-weight: 700;
    color: var(--tp-danger, #e53946);
}

.page-prodetail .tp-combo-member.is-off {
    opacity: 0.55;
}

.page-prodetail .tp-combo-sum {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 14px;
    font-size: 14px;
}

.page-prodetail .tp-combo-sum__market {
    color: var(--tp-muted, #999);
}

.page-prodetail .tp-combo-sum__market s {
    text-decoration: line-through;
}

.page-prodetail .tp-combo-sum__sale {
    color: var(--tp-muted, #666);
}

.page-prodetail .tp-combo-sum__sale b {
    font-size: 22px;
    color: var(--tp-danger, #e53946);
    margin-left: 4px;
}

/* 被组合引用的推荐组合 */
.page-prodetail .tp-rel-combos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.page-prodetail .tp-rel-combo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #eef1f6;
    border-radius: 10px;
    text-decoration: none;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-prodetail .tp-rel-combo:hover {
    box-shadow: var(--tp-shadow, 0 4px 20px rgba(0, 0, 0, 0.08));
    transform: translateY(-2px);
    text-decoration: none;
}

.page-prodetail .tp-rel-combo img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-prodetail .tp-rel-combo div {
    flex: 1;
    min-width: 0;
}

.page-prodetail .tp-rel-combo b {
    display: block;
    font-size: 14px;
    color: var(--tp-dark, #212529);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-prodetail .tp-rel-combo span {
    display: block;
    margin-top: 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tp-danger, #e53946);
}

.page-prodetail .tp-rel-combo i {
    color: #c3cad6;
    flex-shrink: 0;
}

/* 参与活动规则（购买区下方展示位：绑定营销活动的商品用，替代“包含本商品的组合”） */
.page-prodetail .tp-act-rules {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.page-prodetail .tp-act-rule {
    border: 1px solid #eef1f6;
    border-radius: 10px;
    padding: 14px;
    background: #fbfcff;
}
.page-prodetail .tp-act-rule__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.page-prodetail .tp-act-rule__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.page-prodetail .tp-act-rule__tag--flash {
    background: linear-gradient(135deg, #ff5252, #e53935);
}
.page-prodetail .tp-act-rule__tag--discount {
    background: linear-gradient(135deg, #ffb74d, #fb8c00);
}
.page-prodetail .tp-act-rule__tag--coupon,
.page-prodetail .tp-act-rule__tag--new_coupon,
.page-prodetail .tp-act-rule__tag--coupon_pack {
    background: linear-gradient(135deg, #5c8dff, #0d6efd);
}
.page-prodetail .tp-act-rule__tag--red_packet {
    background: linear-gradient(135deg, #b39ddb, #7e57c2);
}
.page-prodetail .tp-act-rule__tag--share {
    background: linear-gradient(135deg, #66bb6a, #2e7d32);
}
.page-prodetail .tp-act-rule__go {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #0d6efd;
    text-decoration: none;
}
.page-prodetail .tp-act-rule__go:hover {
    color: #0a58ca;
    text-decoration: underline;
}
.page-prodetail .tp-act-rule__brief {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--tp-muted, #666);
}
.page-prodetail .tp-act-rule__items {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.page-prodetail .tp-act-rule__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    background: #fff;
    border: 1px dashed #dfe5f0;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.8;
    color: #444;
}
.page-prodetail .tp-act-rule__item b {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--tp-dark, #212529);
}
.page-prodetail .tp-act-rule__item span {
    flex: 1;
    min-width: 0;
}

@media (max-width: 575.98px) {
    .page-prodetail .tp-tabs__nav {
        gap: 0 26px;
    }
    .page-prodetail .tp-tabs__btn {
        padding: 11px 1px;
        font-size: 14px;
    }
}

/* ============================================================
   商品封面右下角收藏角标（.tp-card-fav，配 fav-card.js）
   仅作用于带 .tp-card-fav 的商品卡/榜单封面，不影响其它元素
   ============================================================ */
.tp-card-fav {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .18);
    color: #64748b;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: color .15s ease, background .15s ease, transform .15s ease;
}
.tp-card-fav:hover {
    color: #e74c3c;
    transform: scale(1.08);
}
.tp-card-fav.is-on {
    color: #fff;
    background: #e74c3c;
}
.tp-card-fav.tp-card-fav--busy {
    opacity: .55;
    pointer-events: none;
}

/* ============================================================
   H5 全局适配（≤991.98）：防横向溢出、图片不变形、购物车/结算等
   仅移动端生效，桌面布局不变
   ============================================================ */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
img, video, svg {
    max-width: 100%;
    height: auto;
}
@media (max-width: 991.98px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .tp-container,
    .container {
        max-width: 100% !important;
        padding-left: 12px;
        padding-right: 12px;
    }
    .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
    .tp-content {
        padding-top: 12px;
        padding-bottom: 72px; /* 底部 floatbar */
    }
    table {
        max-width: 100%;
    }
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* 通用卡片/栅格：避免固定宽撑破屏幕 */
    .tp-card,
    .tp-panel,
    .tp-member__panel,
    .tp-co-card,
    .tp-cart-card {
        max-width: 100%;
        box-sizing: border-box;
    }
    input, select, textarea, button, .form-control, .form-select {
        max-width: 100%;
        box-sizing: border-box;
    }
    /* 产品中心列表：Bootstrap 双列（对齐首页推荐），防内容撑破导致单列半宽 */
    .page-product .tp-wf-grid {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    .page-product .tp-wf-grid > [class*="col-"] {
        min-width: 0;
    }
    .page-product .tp-wf-grid .tp-service-card {
        flex-direction: column;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
        border: none;
        overflow: hidden;
        max-width: 100%;
        min-width: 0;
    }
    .page-product .tp-wf-grid .tp-service-card:hover {
        transform: none;
    }
    .page-product .tp-wf-grid .tp-service-card__media {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 0;
        background: #f4f6fa;
    }
    .page-product .tp-wf-grid .tp-service-card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .page-product .tp-wf-grid .tp-service-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 8px 8px 10px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .page-product .tp-wf-grid .tp-service-card__body .tp-service-card__title {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 2px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
        width: 100%;
    }
    .page-product .tp-wf-grid .tp-service-card__desc {
        display: none;
    }
    .page-product .tp-wf-grid .tp-service-card__tags {
        margin-bottom: 4px;
    }
    .page-product .tp-wf-grid .tp-service-card__tag {
        font-size: 10px;
        padding: 1px 5px;
    }
    .page-product .tp-wf-grid .tp-service-card__footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 4px;
        margin-top: auto;
    }
    .page-product .tp-wf-grid .tp-service-card__footer .tp-service-card__price {
        justify-content: flex-start;
        gap: 4px;
        margin-bottom: 0;
        flex-wrap: wrap;
        min-width: 0;
        flex: 1 1 auto;
    }
    .page-product .tp-wf-grid .tp-service-card__footer .tp-price-now {
        font-size: 14px !important;
        color: #e74c3c;
        font-weight: 800;
        white-space: nowrap;
    }
    .page-product .tp-wf-grid .tp-service-card__footer .tp-price-now small {
        font-size: 9px !important;
        color: #9aa3b2;
        font-weight: 400;
        margin-left: 1px;
    }
    .page-product .tp-wf-grid .tp-service-card__footer .tp-price-old {
        font-size: 10px;
        color: #b6bfcc;
    }
    .page-product .tp-wf-grid .tp-service-card__footer .tp-service-card__btn {
        min-width: auto;
        padding: 3px 9px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 10px;
        background: linear-gradient(135deg, #ff4d6a, #e74c3c);
        color: #fff;
        border: none;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .page-product .tp-wf-card,
    .page-product .tp-card {
        min-width: 0;
    }
    .page-product .tp-card__title,
    .page-product .tp-wf-card__title {
        word-break: break-word;
    }
    /* 商品详情活动步骤：取消过大 min-width */
    .page-prodetail .tp-bargain__pstep,
    .page-prodetail .tp-help__pstep,
    .page-prodetail [class*="__pstep"] {
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }
    .page-prodetail .tp-bargain__steps,
    .page-prodetail .tp-help__steps {
        flex-wrap: wrap !important;
    }
    /* 购物车页 */
    .page-cart .tp-cart-page__item {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
        align-items: flex-start;
    }
    .page-cart .tp-cart-page__thumb {
        width: 72px;
        height: 72px;
        flex: 0 0 72px;
    }
    .page-cart .tp-cart-page__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }
    .page-cart .tp-cart-page__info {
        flex: 1 1 calc(100% - 100px);
        min-width: 0;
    }
    .page-cart .tp-cart-page__name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.4;
    }
    .page-cart .tp-cart-page__ops {
        flex: 1 1 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
        justify-content: space-between;
        padding-left: 82px;
        margin-top: 4px;
    }
    .page-cart .tp-cart-page__del {
        position: static;
        margin-left: auto;
    }
    .page-cart .tp-cart-side {
        position: static !important;
        margin-top: 12px;
    }
    .page-cart .tp-cart-side .btn,
    .page-checkout .tp-co-side .btn {
        width: 100%;
        min-height: 44px;
    }
    /* 结算页 */
    .page-checkout .tp-addr-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
    }
    .page-checkout .tp-addr-item__main {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
        align-items: center;
    }
    .page-checkout .tp-addr-item__main b,
    .page-checkout .tp-addr-item__main em {
        min-width: 0;
        word-break: break-all;
    }
    .page-checkout .tp-addr-item__ops {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }
    .page-checkout .tp-co-region {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .page-checkout .tp-pay-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    .page-checkout .tp-pay-item__name,
    .page-checkout .tp-pay-item__desc {
        word-break: break-word;
    }
    .page-checkout .tp-co-side {
        position: static !important;
        margin-top: 8px;
    }
    .page-checkout .tp-co-side__item {
        display: grid;
        grid-template-columns: 48px 1fr auto;
        gap: 8px;
        align-items: center;
    }
    .page-checkout .tp-co-side__item img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        border-radius: 6px;
    }
    .page-checkout .tp-co-side__item-name {
        min-width: 0;
        font-size: 13px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .page-checkout .tp-co-coupon select {
        width: 100% !important;
        max-width: 100% !important;
    }
    .page-checkout .tp-co-success {
        padding: 24px 12px;
    }
    /* 登录/注册：避开底部导航 */
    body.tp-page-auth {
        padding-bottom: 56px;
    }
    body.tp-page-auth .tp-auth {
        padding: 12px 0 24px;
    }
    /* 内页大图/轮播 */
    .tp-banner img,
    .tp-hero img,
    .tp-swiper img,
    .carousel-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    /* 新闻/案例/服务列表防撑破 */
    .page-news .tp-news-item,
    .page-case .tp-case-card,
    .page-service .tp-service-card,
    .page-team .tp-team-card {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    html {
        font-size: 15px;
    }
    .page-product .tp-wf-grid {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
    .page-cart .tp-cart-page__ops {
        padding-left: 0;
    }
    .page-checkout .tp-co-card__head {
        flex-wrap: wrap;
        gap: 8px;
    }
    .page-checkout .tp-co-side__item {
        grid-template-columns: 40px 1fr;
    }
    .page-checkout .tp-co-side__item-price {
        grid-column: 2;
        justify-self: start;
    }
}

/* 详情富文本正文（Markdown/HTML 渲染后） */
.tp-richtext,
.tp-prod__content,
.tp-news-detail__body,
.tp-prose {
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.tp-richtext > *:first-child,
.tp-prod__content > *:first-child,
.tp-news-detail__body > *:first-child,
.tp-prose > *:first-child { margin-top: 0; }
.tp-richtext h1, .tp-prod__content h1, .tp-news-detail__body h1, .tp-prose h1,
.tp-richtext h2, .tp-prod__content h2, .tp-news-detail__body h2, .tp-prose h2,
.tp-richtext h3, .tp-prod__content h3, .tp-news-detail__body h3, .tp-prose h3,
.tp-richtext h4, .tp-prod__content h4, .tp-news-detail__body h4, .tp-prose h4 {
    margin: 1.25em 0 .6em;
    font-weight: 700;
    line-height: 1.35;
}
.tp-richtext p, .tp-prod__content p, .tp-news-detail__body p, .tp-prose p,
.tp-richtext ul, .tp-prod__content ul, .tp-news-detail__body ul, .tp-prose ul,
.tp-richtext ol, .tp-prod__content ol, .tp-news-detail__body ol, .tp-prose ol {
    margin: 0 0 1em;
}
.tp-richtext ul, .tp-prod__content ul, .tp-news-detail__body ul, .tp-prose ul,
.tp-richtext ol, .tp-prod__content ol, .tp-news-detail__body ol, .tp-prose ol {
    padding-left: 1.4em;
}
.tp-richtext img, .tp-prod__content img, .tp-news-detail__body img, .tp-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.tp-richtext blockquote, .tp-prod__content blockquote, .tp-news-detail__body blockquote, .tp-prose blockquote {
    margin: 0 0 1em;
    padding: .6em 1em;
    border-left: 3px solid #c9d4c9;
    background: rgba(0,0,0,.03);
    color: #555;
}
.tp-richtext pre, .tp-prod__content pre, .tp-news-detail__body pre, .tp-prose pre {
    margin: 0 0 1em;
    padding: .8em 1em;
    overflow: auto;
    background: #f6f8f6;
    border-radius: 6px;
}
.tp-richtext code, .tp-prod__content code, .tp-news-detail__body code, .tp-prose code {
    font-size: .92em;
}

