/* 免域Pro 首页扩展模块 — 独立视觉，非免域云/ stay33 拷贝 */

.mxp-section-subtitle {
    text-align: center;
    color: #86909c;
    font-size: 15px;
    margin-top: 12px;
    line-height: 1.6;
}

/* 快捷方块 — 轮播底部原位（仿免域云 Hui-quick） */
.mxp-quick-section {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 0 24px 14px;
    margin: 0;
    background: transparent;
    pointer-events: none;
}

.Hui-quick.mxp-hui-quick {
    pointer-events: auto;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.Hui-quick.mxp-hui-quick .Hui-itemBlock {
    text-decoration: none;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    height: 5.5rem;
    min-height: 5.5rem;
    max-height: 5.5rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(55, 99, 170, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform 0.3s cubic-bezier(0.34, 1.1, 0.64, 1),
        box-shadow 0.3s ease;
}

.Hui-quick.mxp-hui-quick .Hui-itemBlock:not(:last-child)::after {
    display: none;
}

.Hui-quick.mxp-hui-quick .Hui-itemBlock:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(55, 99, 170, 0.14);
}

.Hui-quick.mxp-hui-quick .Hui-itemBlock:hover .Hui-neirong .Hui-picture {
    transform: scale(1.04);
}

.Hui-quick.mxp-hui-quick .Hui-neirong {
    position: relative;
    flex: 1;
    min-height: 0;
    padding: 10px 14px 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.Hui-quick.mxp-hui-quick .Hui-picture {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(91, 143, 249, 0.12) 0%, rgba(93, 181, 255, 0.06) 100%);
    transition: transform 0.3s ease;
}

.Hui-quick.mxp-hui-quick .Hui-picture img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.Hui-quick.mxp-hui-quick .Hui-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-top: 0;
}

.Hui-quick.mxp-hui-quick .Hui-text span {
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.Hui-quick.mxp-hui-quick .Hui-text p {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.Hui-quick.mxp-hui-quick .Hui-buy {
    color: #fff;
    background: linear-gradient(90deg, var(--mxp-brand, #5b8ff9) 0%, #5db5ff 100%);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    border-radius: 0 0 12px 12px;
    flex-shrink: 0;
}

.Hui-quick.mxp-hui-quick .Hui-itemBlock:hover .Hui-buy {
    opacity: 0.95;
}

/* 合作伙伴 */
.mxp-partners-section {
    padding: 48px 0;
    background: #fafbfc;
}

.mxp-partners-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mxp-partners-head {
    text-align: center;
    margin-bottom: 32px;
}

.mxp-partners-title {
    font-size: 28px;
    font-weight: 600;
    color: #1d2129;
    margin: 0;
}

.mxp-partners-desc {
    margin: 10px 0 0;
    color: #86909c;
    font-size: 14px;
}

.mxp-partners-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px 48px;
}

.mxp-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-width: 100px;
    text-decoration: none;
    transition: opacity 0.25s, filter 0.25s;
    filter: grayscale(0.85);
    opacity: 0.75;
}

.mxp-partner-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.mxp-partner-item img {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
}

.mxp-partner-item span {
    font-size: 14px;
    color: #4e5969;
}

/* 行业方案扩展 */
#mxpSolutions,
#mxpPartners {
    scroll-margin-top: 88px;
}

.mxp-solutions-dynamic .industry-tab {
    position: relative;
    z-index: 2;
}

.mxp-solutions-dynamic .industry-tabs::before {
    background: var(--mxp-brand, #5b8ff9);
}

.mxp-solutions-dynamic .industry-tab.active {
    background-color: transparent;
}

.mxp-solutions-dynamic .industry-content-item:not(.active) .industry-content-main {
    box-shadow: none;
}

.mxp-solutions-dynamic .solution-preview::after,
.mxp-solutions-dynamic .mxp-solution-preview::after {
    background: linear-gradient(135deg, rgba(91, 143, 249, 0.12) 0%, rgba(67, 56, 202, 0.06) 100%);
}

.mxp-solutions-dynamic .mxp-solution-stats {
    display: flex;
    gap: 24px;
    margin: 20px 0 24px;
    flex-wrap: wrap;
}

.mxp-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mxp-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--mxp-brand, #5b8ff9);
    line-height: 1;
}

.mxp-stat-label {
    font-size: 12px;
    color: #86909c;
}

.mxp-solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.mxp-solution-layout .solution-image {
    flex: 1;
    min-width: 0;
    min-height: 280px;
}

.mxp-solution-preview {
    width: 100%;
    height: 280px;
    min-height: 280px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('../images/solutions/default.svg');
    position: relative;
    overflow: hidden;
}

.mxp-solution-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 143, 249, 0.12) 0%, rgba(67, 56, 202, 0.08) 100%);
    pointer-events: none;
}

.solution-preview.finance-bg,
.mxp-solution-preview.finance-bg { background-image: url('../images/solutions/finance.svg'); }

.solution-preview.retail-bg,
.mxp-solution-preview.retail-bg { background-image: url('../images/solutions/retail.svg'); }

.solution-preview.education-bg,
.mxp-solution-preview.education-bg { background-image: url('../images/solutions/education.svg'); }

.solution-preview.medical-bg,
.mxp-solution-preview.medical-bg { background-image: url('../images/solutions/medical.svg'); }

.solution-preview.internet-bg,
.mxp-solution-preview.internet-bg { background-image: url('../images/solutions/internet.svg'); }

.solution-preview.terminal-bg,
.mxp-solution-preview.terminal-bg { background-image: url('../images/solutions/terminal.svg'); }

.industry-solutions-section .solution-image {
    min-height: 280px;
    align-self: stretch;
}

.industry-solutions-section .solution-image img,
.industry-solutions-section .mxp-solution-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
}

a.solution-btn.mxp-solution-link {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* 右侧联系栏 */
.mxp-float-dock {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mxp-dock-panel {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef0f4;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mxp-dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    padding: 8px 4px;
    border-radius: 20px;
    color: #4e5969;
    text-decoration: none;
    font-size: 10px;
    gap: 4px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    border: none;
    background: transparent;
}

.mxp-dock-item img,
.mxp-dock-item svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mxp-dock-item:hover {
    background: #f2f7ff;
    color: var(--mxp-brand, #5b8ff9);
}

.mxp-dock-pop {
    display: none;
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
}

.mxp-dock-pop img {
    width: 100px;
    height: 100px;
    display: block;
}

.mxp-dock-wechat:hover .mxp-dock-pop {
    display: block;
}

.mxp-dock-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #eef0f4;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
}

.mxp-dock-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mxp-dock-top img {
    width: 18px;
    height: 18px;
}

.mxp-dock-top:hover {
    background: var(--mxp-brand, #5b8ff9);
    border-color: var(--mxp-brand, #5b8ff9);
}

.mxp-dock-top:hover img {
    filter: brightness(0) invert(1);
}

/* 页脚友链 */
.footer-friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 8px;
    font-size: 13px;
}

.footer-friend-links .friend-label {
    color: #86909c;
}

.footer-friend-links a {
    color: #4e5969;
    text-decoration: none;
}

.footer-friend-links a:hover {
    color: var(--mxp-brand, #5b8ff9);
}

.footer-company-name {
    font-size: 13px;
    color: #86909c;
    margin-top: 8px;
}

/* ========== 响应式：快捷入口 + 首页模块 ========== */

@media (max-width: 1200px) {
    .mxp-quick-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1024px) {
    .mxp-quick-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .Hui-quick.mxp-hui-quick {
        flex-wrap: wrap;
        gap: 8px;
    }

    .Hui-quick.mxp-hui-quick .Hui-itemBlock {
        flex: 1 1 calc(50% - 4px);
        min-width: calc(50% - 4px);
        height: 5.25rem;
        min-height: 5.25rem;
        max-height: 5.25rem;
    }

    .mxp-shop-inner {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .mxp-shop-side {
        grid-column: 1;
        grid-row: auto;
    }

    .mxp-experience-card {
        position: static;
    }

    .mxp-news-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mxp-quick-section {
        position: static;
        margin-top: 0;
        padding: 5vw max(16px, env(safe-area-inset-left, 16px)) 4vw max(16px, env(safe-area-inset-right, 16px));
        background: #f3f6fb;
    }

    .Hui-quick.mxp-hui-quick {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .Hui-quick.mxp-hui-quick .Hui-itemBlock {
        height: auto;
        min-height: 4.75rem;
        max-height: none;
        border-radius: 12px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .Hui-quick.mxp-hui-quick .Hui-neirong {
        padding: 10px 12px 4px;
        gap: 10px;
    }

    .Hui-quick.mxp-hui-quick .Hui-picture {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .Hui-quick.mxp-hui-quick .Hui-picture img {
        width: 22px;
        height: 22px;
    }

    .Hui-quick.mxp-hui-quick .Hui-text span {
        font-size: 14px;
    }

    .Hui-quick.mxp-hui-quick .Hui-text p {
        font-size: 11px;
    }

    .Hui-quick.mxp-hui-quick .Hui-buy {
        padding: 5px 8px;
        font-size: 10px;
        min-height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0 0 10px 10px;
    }

    .Hui-quick.mxp-hui-quick > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 4px);
        justify-self: center;
    }

    .mxp-shop-section {
        display: block;
    }

    .mxp-shop-inner {
        padding: 0 16px;
        gap: 20px;
    }

    .mxp-shop-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 4px;
    }

    .mxp-shop-title {
        font-size: clamp(22px, 5.8vw, 28px);
    }

    .mxp-shop-desc {
        font-size: 14px;
    }

    .mxp-shop-all {
        font-size: 13px;
    }

    .mxp-shop-tabs {
        gap: 6px;
        margin: 0 -4px;
        padding: 0 4px 6px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .mxp-shop-tab {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 13px;
        scroll-snap-align: start;
    }

    .mxp-shop-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mxp-shop--new .mxp-shop-head {
        min-height: 0;
        padding: 18px;
        align-items: flex-start;
    }

    .mxp-shop--new .mxp-shop-head > div {
        display: block;
    }

    .mxp-shop--new .mxp-shop-tabs {
        gap: 20px;
    }

    .mxp-shop--new .mxp-shop-card {
        min-height: 230px;
    }

    .mxp-shop-card {
        padding: 16px;
    }

    .mxp-shop-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mxp-shop-card-foot {
        flex-wrap: wrap;
        gap: 10px;
    }

    .mxp-shop-buy {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .mxp-experience-card {
        padding: 20px;
    }

    .mxp-experience-card .experience-preview {
        height: 160px;
    }

    .mxp-partners-section {
        padding: 36px 0;
    }

    .mxp-partners-inner {
        padding: 0 16px;
    }

    .mxp-partners-title {
        font-size: clamp(22px, 5.5vw, 26px);
    }

    .mxp-news-section {
        padding: 40px 0;
    }

    .mxp-news-inner {
        padding: 0 16px;
    }

    .mxp-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .mxp-news-title {
        font-size: clamp(22px, 5.8vw, 26px);
    }

    .mxp-news-item {
        flex-direction: column;
        padding: 16px;
        gap: 10px;
    }

    .mxp-news-modal {
        padding: 0;
        align-items: flex-end;
    }

    .mxp-news-modal-box {
        max-height: min(88vh, 640px);
        border-radius: 16px 16px 0 0;
        padding: 22px 18px max(22px, env(safe-area-inset-bottom, 22px));
    }

    .mxp-float-dock {
        right: max(8px, env(safe-area-inset-right, 8px));
        bottom: max(64px, calc(56px + env(safe-area-inset-bottom, 0px)));
    }

    .mxp-dock-item span {
        display: none;
    }

    .mxp-dock-item {
        width: 44px;
        height: 44px;
        padding: 10px;
    }

    .mxp-solution-preview,
    .industry-solutions-section .mxp-solution-img,
    .industry-solutions-section .solution-image img {
        height: 200px;
        min-height: 200px;
    }

    .mxp-solution-layout .solution-image {
        min-height: 200px;
    }

    .mxp-stat-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .Hui-quick.mxp-hui-quick {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding-bottom: 2px;
    }

    .Hui-quick.mxp-hui-quick::-webkit-scrollbar {
        display: none;
    }

    .Hui-quick.mxp-hui-quick .Hui-itemBlock {
        flex: 0 0 min(72vw, 280px);
        min-width: min(72vw, 280px);
        height: 4.5rem;
        min-height: 4.5rem;
        max-height: 4.5rem;
        scroll-snap-align: start;
    }

    .Hui-quick.mxp-hui-quick > :last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }

    .mxp-shop-specs {
        grid-template-columns: 1fr;
    }

    .mxp-shop-price .num {
        font-size: 20px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .Hui-quick.mxp-hui-quick .Hui-itemBlock:hover {
        transform: none;
        box-shadow: 0 6px 20px rgba(55, 99, 170, 0.1);
    }

    .Hui-quick.mxp-hui-quick .Hui-itemBlock:active {
        transform: scale(0.98);
        opacity: 0.96;
    }

    .mxp-shop-card:hover {
        box-shadow: none;
        border-color: #e8ebf0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .Hui-quick.mxp-hui-quick .Hui-itemBlock,
    .Hui-quick.mxp-hui-quick .Hui-picture,
    .mxp-shop-card,
    .mxp-experience-btn {
        transition: none;
    }
}

/* ========== 商品分组标签与后台推荐内容 ========== */
.mxp-group-tag {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 18px;
    padding: 1px 6px;
    border-radius: 2px;
    background: #df3f45;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
}

.mxp-shop-section .mxp-shop-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.mxp-shop-tab-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mxp-shop-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mxp-shop-group-title > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mxp-shop-recommendations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.mxp-shop-recommendations[hidden] {
    display: none;
}

.mxp-shop-recommendation {
    position: relative;
    min-width: 0;
    overflow: hidden;
    display: flex;
    border: 1px solid #dbe4f2;
    border-radius: 4px;
    background: #f5f8fd;
    color: #17233d;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(31, 49, 79, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mxp-shop-recommendation--square {
    aspect-ratio: 1 / 1;
    flex-direction: column;
}

.mxp-shop-recommendation--wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.mxp-shop-recommendation-copy {
    position: relative;
    z-index: 1;
    flex: 1 1 58%;
    min-width: 0;
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mxp-shop-recommendation-copy h3 {
    margin: 0;
    color: #17233d;
    font-size: 18px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.mxp-shop-recommendation-copy p {
    margin: 9px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mxp-shop-recommendation-action {
    margin-top: auto;
    padding-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2468f2;
    font-size: 13px;
    font-weight: 700;
}

.mxp-shop-recommendation-media {
    flex: 1 1 42%;
    min-width: 0;
    min-height: 0;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mxp-shop-recommendation--square .mxp-shop-recommendation-media {
    flex-basis: 42%;
    padding-top: 0;
}

.mxp-shop-recommendation-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
}

.mxp-shop-recommendation:hover {
    border-color: #79a5f5;
    box-shadow: 0 10px 24px rgba(36, 104, 242, 0.1);
    transform: translateY(-2px);
}

.mxp-shop-recommendation:focus-visible {
    outline: 2px solid #2468f2;
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    .mxp-shop-recommendations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .mxp-shop-recommendations {
        grid-template-columns: 1fr;
    }

    .mxp-shop-recommendation--wide {
        grid-column: span 1;
        aspect-ratio: auto;
        min-height: 220px;
    }

    .mxp-shop-recommendation--square {
        min-height: 260px;
    }

    .mxp-shop-recommendation-copy {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mxp-shop-recommendation {
        transition: none;
    }
}

/* 可选首页主题：红白色系，保留原版布局与模块开关 */
body.mxp-home-page.mxp-theme-red_white {
    --mxp-brand: #d92d20;
    --mxp-brand-strong: #b42318;
    --mxp-brand-soft: #fff1f0;
    --mxp-line: #f1c5c1;
    --mxp-ink: #1f2937;
    background: #ffffff;
    color: var(--mxp-ink);
}

body.mxp-home-page.mxp-theme-red_white .navbar {
    border-bottom-color: #f3d5d2;
    background: rgba(255, 255, 255, 0.96);
}

body.mxp-home-page.mxp-theme-red_white .nav-link:hover,
body.mxp-home-page.mxp-theme-red_white .nav-link.active,
body.mxp-home-page.mxp-theme-red_white .nav-item-hot,
body.mxp-home-page.mxp-theme-red_white .mxp-shop-tab.active,
body.mxp-home-page.mxp-theme-red_white .mxp-shop-group-title {
    color: var(--mxp-brand-strong);
}

body.mxp-home-page.mxp-theme-red_white .mxp-shop-tab.active::after,
body.mxp-home-page.mxp-theme-red_white .mxp-shop-group-card::before,
body.mxp-home-page.mxp-theme-red_white .industry-tab.active::before {
    background: var(--mxp-brand);
}

body.mxp-home-page.mxp-theme-red_white .mxp-shop-group-card,
body.mxp-home-page.mxp-theme-red_white .mxp-shop-tabs-wrap {
    border-color: var(--mxp-line);
}

body.mxp-home-page.mxp-theme-red_white .mxp-shop-group-card:hover {
    border-color: var(--mxp-brand);
    box-shadow: 0 12px 28px rgba(217, 45, 32, 0.12);
}

body.mxp-home-page.mxp-theme-red_white .mxp-shop-group-card:hover .mxp-shop-group-card-head {
    background: var(--mxp-brand-soft);
}

body.mxp-home-page.mxp-theme-red_white .register-btn,
body.mxp-home-page.mxp-theme-red_white .login-submit-btn,
body.mxp-home-page.mxp-theme-red_white .hero-slide-btn,
body.mxp-home-page.mxp-theme-red_white .mxp-max-hero__btn,
body.mxp-home-page.mxp-theme-red_white .mxp-max-solutions__btn,
body.mxp-home-page.mxp-theme-red_white .solution-btn,
body.mxp-home-page.mxp-theme-red_white .seo-ai-btn,
body.mxp-home-page.mxp-theme-red_white .experience-btn,
body.mxp-home-page.mxp-theme-red_white .Hui-quick.mxp-hui-quick .Hui-buy {
    border-color: var(--mxp-brand);
    background: var(--mxp-brand);
    color: #ffffff;
}

body.mxp-home-page.mxp-theme-red_white .mxp-max-hero__tab-progress,
body.mxp-home-page.mxp-theme-red_white .mxp-max-solutions__tab-progress,
body.mxp-home-page.mxp-theme-red_white .hero-swiper .swiper-pagination-bullet-active::before {
    background: var(--mxp-brand);
}

body.mxp-home-page.mxp-theme-red_white .mxp-shop-group-action,
body.mxp-home-page.mxp-theme-red_white .mxp-max-hero__tab.is-active,
body.mxp-home-page.mxp-theme-red_white .mxp-max-solutions__tab.is-active {
    color: var(--mxp-brand-strong);
}

body.mxp-home-page.mxp-theme-red_white .mxp-quick-section,
body.mxp-home-page.mxp-theme-red_white .mxp-shop-section,
body.mxp-home-page.mxp-theme-red_white .mxp-max-solutions,
body.mxp-home-page.mxp-theme-red_white .mxp-max-trust,
body.mxp-home-page.mxp-theme-red_white .seo-ai-section {
    background-color: #ffffff;
}

/* 原创元素：通过可关闭的 body 类统一启用，不改变原版 DOM 结构 */
body.mxp-home-page.mxp-elements-original {
    --mxp-creative-accent: var(--mxp-brand, #2468f2);
    --mxp-creative-ink: #171717;
    --mxp-creative-muted: #667085;
    --mxp-creative-line: rgba(36, 104, 242, 0.24);
    --mxp-creative-line: color-mix(in srgb, var(--mxp-creative-accent) 24%, transparent);
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section,
body.mxp-home-page.mxp-elements-original .mxp-max-solutions,
body.mxp-home-page.mxp-elements-original .mxp-max-trust,
body.mxp-home-page.mxp-elements-original .seo-ai-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section::before,
body.mxp-home-page.mxp-elements-original .mxp-max-solutions::before,
body.mxp-home-page.mxp-elements-original .mxp-max-trust::before,
body.mxp-home-page.mxp-elements-original .seo-ai-section::before {
    position: absolute;
    top: 28px;
    right: 34px;
    z-index: 0;
    color: rgba(36, 104, 242, 0.1);
    color: color-mix(in srgb, var(--mxp-creative-accent) 10%, transparent);
    content: 'MXP / SYSTEM';
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    pointer-events: none;
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section::after,
body.mxp-home-page.mxp-elements-original .mxp-max-solutions::after,
body.mxp-home-page.mxp-elements-original .mxp-max-trust::after,
body.mxp-home-page.mxp-elements-original .seo-ai-section::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(36, 104, 242, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 104, 242, 0.045) 1px, transparent 1px);
    background-image: linear-gradient(color-mix(in srgb, var(--mxp-creative-accent) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--mxp-creative-accent) 5%, transparent) 1px, transparent 1px);
    background-size: 32px 32px;
    content: '';
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
    pointer-events: none;
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section > *,
body.mxp-home-page.mxp-elements-original .mxp-max-solutions > *,
body.mxp-home-page.mxp-elements-original .mxp-max-trust > *,
body.mxp-home-page.mxp-elements-original .seo-ai-section > * {
    position: relative;
    z-index: 1;
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section h2,
body.mxp-home-page.mxp-elements-original .mxp-max-solutions h2,
body.mxp-home-page.mxp-elements-original .mxp-max-trust h2,
body.mxp-home-page.mxp-elements-original .seo-ai-title {
    position: relative;
    padding-left: 18px;
    color: var(--mxp-creative-ink);
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section h2::before,
body.mxp-home-page.mxp-elements-original .mxp-max-solutions h2::before,
body.mxp-home-page.mxp-elements-original .mxp-max-trust h2::before,
body.mxp-home-page.mxp-elements-original .seo-ai-title::before {
    position: absolute;
    top: 0.22em;
    bottom: 0.22em;
    left: 0;
    width: 4px;
    background: var(--mxp-creative-accent);
    content: '';
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section h2::after,
body.mxp-home-page.mxp-elements-original .mxp-max-solutions h2::after,
body.mxp-home-page.mxp-elements-original .mxp-max-trust h2::after,
body.mxp-home-page.mxp-elements-original .seo-ai-title::after {
    display: inline-block;
    margin-left: 12px;
    color: var(--mxp-creative-accent);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

body.mxp-home-page.mxp-elements-original .mxp-shop-section h2::after { content: '01'; }
body.mxp-home-page.mxp-elements-original .mxp-max-solutions h2::after { content: '02'; }
body.mxp-home-page.mxp-elements-original .mxp-max-trust h2::after { content: '03'; }
body.mxp-home-page.mxp-elements-original .seo-ai-title::after { content: '04'; }

body.mxp-home-page.mxp-elements-original .mxp-shop-group-card,
body.mxp-home-page.mxp-elements-original .cloud-product-card,
body.mxp-home-page.mxp-elements-original .industry-card,
body.mxp-home-page.mxp-elements-original .seo-ai-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.mxp-home-page.mxp-elements-original .mxp-shop-group-card:hover,
body.mxp-home-page.mxp-elements-original .cloud-product-card:hover,
body.mxp-home-page.mxp-elements-original .industry-card:hover,
body.mxp-home-page.mxp-elements-original .seo-ai-card:hover {
    border-color: var(--mxp-creative-accent);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.13);
    transform: translateY(-4px);
}

body.mxp-home-page.mxp-elements-original .mxp-shop-group-card::before,
body.mxp-home-page.mxp-elements-original .cloud-product-card::before,
body.mxp-home-page.mxp-elements-original .industry-card::before,
body.mxp-home-page.mxp-elements-original .seo-ai-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--mxp-creative-accent);
    content: '';
}

body.mxp-home-page.mxp-elements-original .mxp-shop-group-card::after {
    position: absolute;
    top: 12px;
    right: 13px;
    color: var(--mxp-creative-muted);
    content: '00';
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

body.mxp-home-page.mxp-elements-original .mxp-shop-group-card:nth-child(1)::after { content: '01'; }
body.mxp-home-page.mxp-elements-original .mxp-shop-group-card:nth-child(2)::after { content: '02'; }
body.mxp-home-page.mxp-elements-original .mxp-shop-group-card:nth-child(3)::after { content: '03'; }
body.mxp-home-page.mxp-elements-original .mxp-shop-group-card:nth-child(4)::after { content: '04'; }
body.mxp-home-page.mxp-elements-original .mxp-shop-group-card:nth-child(5)::after { content: '05'; }
body.mxp-home-page.mxp-elements-original .mxp-shop-group-card:nth-child(6)::after { content: '06'; }

body.mxp-home-page.mxp-elements-original .mxp-quick-section .Hui-itemBlock,
body.mxp-home-page.mxp-elements-original .mxp-max-quick__item {
    border: 1px solid var(--mxp-creative-line);
    background: rgba(255, 255, 255, 0.9);
}

body.mxp-home-page.mxp-elements-original .industry-solutions-section,
body.mxp-home-page.mxp-elements-original .cloud-products-section,
body.mxp-home-page.mxp-elements-original .security-compliance-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

body.mxp-home-page.mxp-elements-original .industry-solutions-section::before,
body.mxp-home-page.mxp-elements-original .cloud-products-section::before,
body.mxp-home-page.mxp-elements-original .security-compliance-section::before {
    position: absolute;
    top: 28px;
    right: 34px;
    z-index: 0;
    color: rgba(36, 104, 242, 0.1);
    color: color-mix(in srgb, var(--mxp-creative-accent) 10%, transparent);
    content: 'MXP / 00';
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

body.mxp-home-page.mxp-elements-original .industry-solutions-section::before { content: 'MXP / 02'; }
body.mxp-home-page.mxp-elements-original .cloud-products-section::before { content: 'MXP / 05'; }
body.mxp-home-page.mxp-elements-original .security-compliance-section::before { content: 'MXP / 06'; }

body.mxp-home-page.mxp-elements-original .industry-solutions-section::after,
body.mxp-home-page.mxp-elements-original .cloud-products-section::after,
body.mxp-home-page.mxp-elements-original .security-compliance-section::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(36, 104, 242, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 104, 242, 0.045) 1px, transparent 1px);
    background-image: linear-gradient(color-mix(in srgb, var(--mxp-creative-accent) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--mxp-creative-accent) 5%, transparent) 1px, transparent 1px);
    background-size: 32px 32px;
    content: '';
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 75%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 75%);
    pointer-events: none;
}

body.mxp-home-page.mxp-elements-original .industry-solutions-section > *,
body.mxp-home-page.mxp-elements-original .cloud-products-section > *,
body.mxp-home-page.mxp-elements-original .security-compliance-section > * {
    position: relative;
    z-index: 1;
}

body.mxp-home-page.mxp-elements-original .industry-solutions-title,
body.mxp-home-page.mxp-elements-original .cloud-products-main-title,
body.mxp-home-page.mxp-elements-original .security-compliance-section .main-title {
    position: relative;
    padding-left: 18px;
    color: var(--mxp-creative-ink);
}

body.mxp-home-page.mxp-elements-original .industry-solutions-title::before,
body.mxp-home-page.mxp-elements-original .cloud-products-main-title::before,
body.mxp-home-page.mxp-elements-original .security-compliance-section .main-title::before {
    position: absolute;
    top: 0.22em;
    bottom: 0.22em;
    left: 0;
    width: 4px;
    background: var(--mxp-creative-accent);
    content: '';
}

body.mxp-home-page.mxp-elements-original .industry-solutions-title::after,
body.mxp-home-page.mxp-elements-original .cloud-products-main-title::after,
body.mxp-home-page.mxp-elements-original .security-compliance-section .main-title::after {
    display: inline-block;
    margin-left: 12px;
    color: var(--mxp-creative-accent);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

body.mxp-home-page.mxp-elements-original .industry-solutions-title::after { content: '02'; }
body.mxp-home-page.mxp-elements-original .cloud-products-main-title::after { content: '05'; }
body.mxp-home-page.mxp-elements-original .security-compliance-section .main-title::after { content: '06'; }

.security-compliance-section--certifications .security-compliance-container {
    width: min(1200px, calc(100% - 48px));
    max-width: none;
    padding: 0;
}

.security-compliance-section--certifications .section-header {
    margin-bottom: 32px;
}

.security-compliance-section--certifications .mxp-security-subtitle {
    margin: 12px 0 0;
    color: #5d6673;
    font-size: 16px;
    line-height: 1.7;
}

.security-compliance-section--certifications .security-compliance-content {
    display: block;
}

.security-compliance-section--certifications .security-certifications {
    padding: 36px 40px;
    border: 1px solid #dfe7f2;
    border-radius: 6px;
    box-shadow: none;
}

.security-compliance-section--certifications .certification-item {
    min-width: 0;
    padding: 16px 8px;
}

@media (max-width: 768px) {
    .security-compliance-section--certifications .security-compliance-container {
        width: min(100% - 32px, 720px);
    }

    .security-compliance-section--certifications .security-certifications {
        padding: 24px 16px;
    }

    .security-compliance-section--certifications .mxp-security-subtitle {
        font-size: 14px;
    }
}

body.mxp-home-page.mxp-elements-original .solution-card,
body.mxp-home-page.mxp-elements-original .cloud-product-card,
body.mxp-home-page.mxp-elements-original .security-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.mxp-home-page.mxp-elements-original .solution-card:hover,
body.mxp-home-page.mxp-elements-original .cloud-product-card:hover,
body.mxp-home-page.mxp-elements-original .security-card:hover {
    border-color: var(--mxp-creative-accent);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.13);
    transform: translateY(-4px);
}

body.mxp-home-page.mxp-elements-original .solution-card::before,
body.mxp-home-page.mxp-elements-original .security-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--mxp-creative-accent);
    content: '';
}

@media (max-width: 768px) {
    body.mxp-home-page.mxp-elements-original .mxp-shop-section::before,
    body.mxp-home-page.mxp-elements-original .mxp-max-solutions::before,
    body.mxp-home-page.mxp-elements-original .mxp-max-trust::before,
    body.mxp-home-page.mxp-elements-original .seo-ai-section::before {
        top: 18px;
        right: 18px;
        font-size: 9px;
    }
}

/* ========== 首页商品 Tab ========== */
.mxp-shop-section {
    padding: 40px 0 64px;
    background: #fff;
}

.mxp-shop-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

.mxp-shop-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
}

.mxp-shop-title {
    font-size: 32px;
    font-weight: 600;
    color: #1d2129;
    margin: 0 0 8px;
}

.mxp-shop-desc {
    margin: 0;
    color: #86909c;
    font-size: 15px;
}

.mxp-shop-all {
    color: var(--mxp-brand, #5b8ff9);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.mxp-shop-tabs-wrap {
    grid-column: 1 / 2;
    position: relative;
    margin-bottom: 20px;
}

.mxp-shop-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.mxp-shop-tabs::-webkit-scrollbar {
    display: none;
}

.mxp-shop-tab {
    flex-shrink: 0;
    border: none;
    background: #f2f4f7;
    color: #4e5969;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.mxp-shop-tab.is-active {
    background: var(--mxp-brand, #5b8ff9);
    color: #fff;
}

.mxp-shop-tab-indicator {
    display: block;
    height: 0;
}

.mxp-shop-subtabs[hidden] {
    display: none;
}

.mxp-shop-subtabs {
    display: flex;
    width: 100%;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid #edf1f7;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.mxp-shop-subtabs::-webkit-scrollbar {
    display: none;
}

.mxp-shop-subtab {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 15px;
    border: 1px solid #dce3ee;
    border-radius: 4px;
    background: #fff;
    color: #596579;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mxp-shop-subtab:hover {
    border-color: #aabfe9;
    color: var(--mxp-brand, #5b8ff9);
}

.mxp-shop-subtab.is-active {
    border-color: var(--mxp-brand, #5b8ff9);
    background: #edf4ff;
    color: #245fc5;
    font-weight: 700;
}

.mxp-shop-subtab:focus-visible {
    outline: 2px solid var(--mxp-brand, #5b8ff9);
    outline-offset: 2px;
}

.mxp-shop-subtabs-status {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    color: #86909c;
    font-size: 13px;
}

.mxp-shop-panel {
    grid-column: 1 / 2;
    min-height: 200px;
}

.mxp-shop-side {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
}

.mxp-experience-card {
    position: sticky;
    top: 96px;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.mxp-experience-card .experience-header {
    text-align: center;
    margin-bottom: 24px;
}

.mxp-experience-card .experience-title {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin: 0 0 8px;
}

.mxp-experience-card .experience-preview {
    background: #f8f9fa;
    border-radius: 8px;
    height: 200px;
    margin-bottom: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mxp-experience-card .experience-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.mxp-experience-card .experience-content {
    text-align: center;
    margin-bottom: 24px;
}

.mxp-experience-card .experience-subtitle {
    font-size: 15px;
    font-weight: 500;
    color: #202124;
    margin: 0 0 6px;
}

.mxp-experience-card .experience-desc {
    font-size: 13px;
    color: #5f6368;
    line-height: 1.4;
    margin: 0;
}

.mxp-experience-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--mxp-brand, #5b8ff9);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.mxp-experience-btn:hover {
    background: #4078e8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 143, 249, 0.3);
}

.mxp-shop-loading {
    text-align: center;
    color: #86909c;
    padding: 40px;
}

.mxp-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.mxp-shop-card {
    border: 1px solid #e8ebf0;
    border-radius: 12px;
    padding: 20px;
    background: #fafbfc;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.mxp-shop-card:hover {
    border-color: #c9d8ff;
    box-shadow: 0 8px 24px rgba(91, 143, 249, 0.08);
}

.mxp-shop--new .mxp-shop-head {
    display: flex;
    align-items: center;
    min-height: 96px;
    padding: 20px 24px;
    border-left: 4px solid #2468f2;
    background: #f7f9fc;
}

.mxp-shop--new .mxp-shop-head > div {
    display: flex;
    align-items: baseline;
    gap: 18px;
    min-width: 0;
}

.mxp-shop--new .mxp-shop-desc {
    margin: 0;
}

.mxp-shop--new .mxp-shop-card {
    border-top: 3px solid #2468f2;
    padding-top: 24px;
    background: #fff;
}

.mxp-shop-card-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    object-fit: contain;
}

.mxp-shop-card-title {
    font-size: 16px;
    margin: 0 0 8px;
    color: #1d2129;
}

.mxp-shop-card-desc {
    font-size: 13px;
    color: #86909c;
    line-height: 1.5;
    margin: 0 0 12px;
    min-height: 40px;
}

.mxp-shop-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.mxp-shop-spec {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    font-size: 12px;
}

.mxp-shop-spec span {
    display: block;
    color: #86909c;
    margin-bottom: 4px;
}

.mxp-shop-spec strong {
    color: #1d2129;
    font-weight: 600;
}

.mxp-shop-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mxp-shop-price {
    color: #f53f3f;
    font-weight: 600;
}

.mxp-shop-price .num {
    font-size: 24px;
}

.mxp-shop-price .dec {
    font-size: 14px;
}

.mxp-shop-price .cycle {
    color: #86909c;
    font-size: 12px;
    font-weight: 400;
}

.mxp-shop-buy {
    background: var(--mxp-brand, #5b8ff9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.mxp-shop-empty {
    text-align: center;
    color: #86909c;
    padding: 48px 20px;
    background: #f7f8fa;
    border-radius: 12px;
}

.mxp-shop-head-tags,
.mxp-shop-card-topline {
    display: none;
}

.mxp-hezi-banner.hero-banner--new .mxp-quick-section {
    bottom: 22px;
    padding: 0 32px;
    z-index: 14;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick {
    max-width: 1280px;
    gap: 0;
    align-items: stretch;
    justify-content: stretch;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(11, 30, 70, 0.18);
    overflow: hidden;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-itemBlock {
    height: 96px;
    min-height: 96px;
    max-height: 96px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-itemBlock + .Hui-itemBlock {
    border-left: 1px solid #e7ecf5;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-neirong {
    padding: 18px 22px 12px;
    gap: 14px;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-picture {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff5ff 0%, #dde9ff 100%);
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-text span {
    color: #17233d;
    font-size: 16px;
    font-weight: 700;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-text p {
    color: #637083;
    font-size: 12px;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-buy {
    padding: 0 22px 14px 78px;
    border-radius: 0;
    background: transparent;
    color: #2468f2;
    text-align: left;
    font-weight: 700;
}

.mxp-hezi-banner.hero-banner--new .Hui-quick.mxp-hui-quick .Hui-buy::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
}

.mxp-hezi-banner.hero-banner--tencent .mxp-quick-section {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    padding: 0 32px;
    background: transparent;
}

.mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-itemBlock {
    box-sizing: border-box;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px 22px;
}

.mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-neirong {
    flex: 0 1 auto;
    width: auto;
    padding: 0;
    justify-content: center;
    gap: 16px;
}

.mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-text {
    align-items: flex-start;
    padding: 0;
    text-align: left;
}

.mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-buy {
    flex: 0 0 auto;
    margin-left: 2px;
    padding: 0;
}

.mxp-shop--new {
    padding: 56px 0 76px;
    background: #f3f6fb;
}

.mxp-shop--new .mxp-shop-inner {
    max-width: 1280px;
    grid-template-columns: minmax(0, 1fr) 308px;
    gap: 20px;
}

.mxp-shop--new .mxp-shop-head {
    min-height: 0;
    margin-bottom: 8px;
    padding: 0;
    border-left: 0;
    background: transparent;
}

.mxp-shop--new .mxp-shop-head > div {
    display: block;
}

.mxp-shop--new .mxp-shop-title {
    font-size: 30px;
    font-weight: 800;
    color: #102033;
}

.mxp-shop--new .mxp-shop-desc {
    color: #6b7688;
}

.mxp-shop--new .mxp-shop-head-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mxp-shop--new .mxp-shop-head-tags span {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border: 1px solid #dbe5f5;
    border-radius: 3px;
    background: #fff;
    color: #35506f;
    font-size: 12px;
    font-weight: 600;
}

.mxp-shop--new .mxp-shop-all {
    height: 36px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #cfdaf0;
    border-radius: 3px;
    background: #fff;
    color: #2468f2;
    font-weight: 700;
}

.mxp-shop--new .mxp-shop-tabs-wrap {
    margin-bottom: 0;
    padding: 13px 16px;
    border: 1px solid #e4eaf4;
    border-radius: 4px 4px 0 0;
    background: #fff;
}

.mxp-shop--new .mxp-shop-tabs {
    gap: 22px;
    padding-bottom: 0;
}

.mxp-shop--new .mxp-shop-tab {
    position: relative;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #4a5870;
    font-weight: 700;
}

.mxp-shop--new .mxp-shop-tab.is-active {
    color: #2468f2;
    background: transparent;
}

.mxp-shop--new .mxp-shop-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 3px;
    background: #2468f2;
}

.mxp-shop--new .mxp-shop-panel {
    padding: 18px;
    border: 1px solid #e4eaf4;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    background: #fff;
}

.mxp-shop--new .mxp-shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mxp-shop--new .mxp-shop-card {
    position: relative;
    min-height: 246px;
    padding: 18px;
    border: 1px solid #e5ebf5;
    border-top: 3px solid #2468f2;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.mxp-shop--new .mxp-shop-card:hover {
    transform: translateY(-2px);
    border-color: #b9cff8;
    box-shadow: 0 12px 28px rgba(26, 70, 140, 0.1);
}

.mxp-shop--new .mxp-shop-card-topline {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.mxp-shop--new .mxp-shop-card-topline span {
    height: 22px;
    padding: 0 8px;
    border-radius: 3px;
    background: #fff3e8;
    color: #e65416;
    font-size: 11px;
    line-height: 22px;
    font-weight: 700;
}

.mxp-shop--new .mxp-shop-card-topline span + span {
    background: #eaf2ff;
    color: #2468f2;
}

.mxp-shop--new .mxp-shop-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #142236;
}

.mxp-shop--new .mxp-shop-card-desc {
    min-height: 38px;
    color: #68768b;
}

.mxp-shop--new .mxp-shop-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.mxp-shop--new .mxp-shop-spec {
    padding: 7px 6px;
    border: 1px solid #edf1f7;
    background: #f7faff;
}

.mxp-shop--new .mxp-shop-buy {
    border-radius: 3px;
    background: #2468f2;
    font-weight: 700;
}

.mxp-shop--new .mxp-experience-card {
    border: 1px solid #e4eaf4;
    border-radius: 4px;
    box-shadow: none;
}

/* ========== Plus 商品推荐与全球基础设施 ========== */
.mxp-shop--plus {
    padding: 60px 0 72px;
    background: #fff;
}

.mxp-shop--plus .mxp-shop-inner {
    max-width: 1320px;
    display: block;
}

.mxp-shop--plus .mxp-shop-head {
    align-items: center;
    margin-bottom: 28px;
}

.mxp-shop--plus .mxp-shop-title {
    font-size: 34px;
    font-weight: 800;
    color: #14213d;
}

.mxp-shop--plus .mxp-shop-head-tags,
.mxp-shop--plus .mxp-shop-side {
    display: none;
}

.mxp-shop--plus .mxp-shop-tabs-wrap {
    margin-bottom: 22px;
    border-bottom: 1px solid #dfe6f5;
}

.mxp-shop--plus .mxp-shop-tabs {
    gap: 32px;
    padding-bottom: 0;
}

.mxp-shop--plus .mxp-shop-tab {
    position: relative;
    padding: 12px 2px 15px;
    border-radius: 0;
    background: transparent;
    color: #64708a;
    font-size: 15px;
    font-weight: 700;
}

.mxp-shop--plus .mxp-shop-tab.is-active {
    color: var(--mxp-brand, #5b8ff9);
    background: transparent;
}

.mxp-shop--plus .mxp-shop-tab.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--mxp-brand, #5b8ff9), #7b61ff);
}

.mxp-shop--plus .mxp-shop-panel {
    min-height: 280px;
}

.mxp-shop--plus .mxp-shop-grid {
    display: block;
}

.mxp-plus-products {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.8fr);
    gap: 18px;
    align-items: stretch;
}

.mxp-plus-group-info {
    min-width: 0;
    min-height: 100%;
    padding: 30px 28px;
    border: 1px solid #dce5f3;
    border-radius: 8px;
    background: #f7f9fc;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mxp-plus-group-parent {
    display: block;
    margin-bottom: 14px;
    color: var(--mxp-brand, #5b8ff9);
    font-size: 13px;
    font-weight: 700;
}

.mxp-plus-group-title {
    margin: 0 0 16px;
    color: #111827;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.mxp-plus-group-description {
    margin: 0;
    color: #4e5969;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.mxp-plus-group-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    padding: 24px;
    border: 1px dashed #dce3ee;
    border-radius: 8px;
    background: #fafbfc;
    color: #86909c;
    display: grid;
    place-items: center;
    box-sizing: border-box;
}

.mxp-plus-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.mxp-plus-regular {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mxp-shop--plus .mxp-plus-product {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #e1e8f6;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(48, 76, 140, 0.06);
}

.mxp-shop--plus .mxp-plus-product::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #5b8ff9, #7b61ff);
}

.mxp-shop--plus .mxp-plus-product--featured {
    min-height: 226px;
    padding: 24px;
    background: linear-gradient(135deg, #172d67 0%, #395fc1 62%, #7255d9 100%);
    border-color: transparent;
}

.mxp-shop--plus .mxp-plus-product--featured .mxp-shop-card-title,
.mxp-shop--plus .mxp-plus-product--featured .mxp-shop-spec strong {
    color: #fff;
}

.mxp-shop--plus .mxp-plus-product--featured .mxp-shop-card-desc,
.mxp-shop--plus .mxp-plus-product--featured .mxp-shop-spec span,
.mxp-shop--plus .mxp-plus-product--featured .mxp-shop-price .cycle {
    color: rgba(255, 255, 255, 0.72);
}

.mxp-shop--plus .mxp-plus-product--featured .mxp-shop-spec {
    background: rgba(255, 255, 255, 0.1);
}

.mxp-shop--plus .mxp-plus-product--featured .mxp-shop-buy {
    background: #fff;
    color: #345cc1;
}

.mxp-shop--plus .mxp-plus-product--regular {
    min-height: 219px;
}

.mxp-shop--plus .mxp-plus-product--regular .mxp-shop-card-desc {
    min-height: 38px;
}

.mxp-shop--plus .mxp-plus-product--regular .mxp-shop-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mxp-shop--plus .mxp-shop-card-topline {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.mxp-shop--plus .mxp-shop-card-topline span {
    padding: 3px 7px;
    border-radius: 3px;
    background: #edf3ff;
    color: #416bd0;
    font-size: 11px;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .mxp-plus-regular {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mxp-shop-subtabs {
        gap: 7px;
        margin-top: 10px;
        padding: 10px 0 3px;
        -webkit-overflow-scrolling: touch;
    }

    .mxp-shop-subtab {
        min-height: 40px;
        padding: 9px 14px;
    }

    .mxp-plus-group-info {
        min-height: 0;
        padding: 22px 20px;
    }

    .mxp-plus-group-parent {
        margin-bottom: 10px;
    }

    .mxp-plus-group-title {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .mxp-plus-group-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .mxp-plus-group-empty {
        min-height: 140px;
    }
}

.mxp-plus-network {
    padding: 68px 0;
    overflow: hidden;
    border-top: 1px solid #edf1f7;
    background: #fff !important;
    color: #111 !important;
}

.mxp-plus-network-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.mxp-plus-network-head {
    text-align: center;
    margin-bottom: 34px;
}

.mxp-plus-network-head h2 {
    margin: 0 0 12px;
    color: #111;
    font-size: 34px;
    font-weight: 800;
}

.mxp-plus-network-head p {
    margin: 0;
    color: #111;
    font-size: 15px;
}

.mxp-plus-network-body {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.mxp-plus-network-stats {
    display: grid;
    gap: 16px;
}

.mxp-plus-network-stats > div {
    padding: 20px 22px;
    border: 1px solid #e1e8f6;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(48, 76, 140, 0.07);
}

.mxp-plus-network-stats strong,
.mxp-plus-network-stats span {
    display: block;
}

.mxp-plus-network-stats strong {
    margin-bottom: 7px;
    font-size: 21px;
    color: #111;
}

.mxp-plus-network-stats span {
    color: #111;
    font-size: 13px;
}

.mxp-plus-network-visual {
    position: relative;
    width: 100%;
    height: 430px;
    min-height: 430px;
    background: #fff;
}

#mxpPlusGlobeCanvas,
.mxp-plus-network-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#mxpPlusGlobeCanvas {
    z-index: 2;
    display: block;
    cursor: grab;
    touch-action: none;
    outline: none;
    filter: saturate(1.15) contrast(1.12);
}

#mxpPlusGlobeCanvas.is-dragging {
    cursor: grabbing;
}

#mxpPlusGlobeCanvas:focus-visible {
    outline: 2px solid #2468f2;
    outline-offset: -4px;
}

.mxp-plus-network-fallback {
    z-index: 1;
    object-fit: contain;
    opacity: 0.88;
}

.mxp-plus-network-fallback.is-hidden {
    display: none;
}

/* ========== 公告资讯 ========== */
.mxp-news-section {
    padding: 56px 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
}

.mxp-news-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.mxp-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.mxp-news-title {
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1d2129;
}

.mxp-news-desc {
    margin: 0;
    color: #86909c;
    font-size: 15px;
}

.mxp-news-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mxp-news-filter {
    border: 1px solid #e8ebf0;
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    color: #4e5969;
}

.mxp-news-filter.is-active {
    background: var(--mxp-brand, #5b8ff9);
    border-color: var(--mxp-brand, #5b8ff9);
    color: #fff;
}

.mxp-news-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
}

.mxp-news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mxp-news-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e8ebf0;
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mxp-news-item.is-featured {
    border-color: #c9d8ff;
    box-shadow: 0 4px 20px rgba(91, 143, 249, 0.06);
}

.mxp-news-item:hover {
    border-color: var(--mxp-brand, #5b8ff9);
}

.mxp-news-badge {
    display: inline-block;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

.mxp-news-cat {
    font-size: 12px;
    color: #86909c;
}

.mxp-news-item-title {
    font-size: 16px;
    margin: 8px 0 6px;
    font-weight: 600;
}

.mxp-news-item-title a {
    color: #1d2129;
    text-decoration: none;
}

.mxp-news-item-title a:hover {
    color: var(--mxp-brand, #5b8ff9);
}

.mxp-news-summary {
    margin: 0;
    font-size: 13px;
    color: #86909c;
    line-height: 1.5;
}

.mxp-news-date {
    font-size: 13px;
    color: #c9cdd4;
    white-space: nowrap;
    flex-shrink: 0;
}

.mxp-news-aside-card {
    background: #fff;
    border: 1px solid #e8ebf0;
    border-radius: 12px;
    padding: 24px;
    position: sticky;
    top: 96px;
}

.mxp-news-aside-card h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.mxp-news-aside-card p {
    margin: 0 0 16px;
    font-size: 13px;
    color: #86909c;
    line-height: 1.6;
}

.mxp-news-aside-link {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: var(--mxp-brand, #5b8ff9);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
}

.mxp-news-aside-link.secondary {
    background: #f2f4f7;
    color: #4e5969;
}

.mxp-news-modal[hidden] {
    display: none !important;
}

.mxp-news-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mxp-news-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.mxp-news-modal-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 640px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    padding: 28px 32px;
    z-index: 1;
}

.mxp-news-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: #86909c;
}

.mxp-news-modal-body {
    font-size: 14px;
    line-height: 1.8;
    color: #4e5969;
}

/* Tencent desktop shortcuts: icon first, text second, centered with breathing room. */
@media (min-width: 769px) {
    .mxp-hezi-banner.hero-banner--tencent .mxp-quick-section {
        bottom: 22px;
        padding: 0 32px;
    }

    .mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-itemBlock {
        display: flex;
        height: 104px;
        min-height: 104px;
        max-height: 104px;
        padding: 20px 28px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-neirong {
        display: flex;
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
        padding: 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-picture {
        order: 0;
        flex: 0 0 42px;
    }

    .mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-text {
        order: 1;
        flex: 0 1 auto;
        min-width: 0;
        align-items: flex-start;
        text-align: left;
    }

    .mxp-hezi-banner.hero-banner--tencent .Hui-quick.mxp-hui-quick .Hui-buy {
        display: none !important;
    }
}

/* ========== 首页商品分组：一级文字导航 + 二级方块入口 ========== */
.mxp-shop-section .mxp-shop-inner {
    grid-template-columns: minmax(0, 1fr);
}

.mxp-shop-section .mxp-shop-head,
.mxp-shop-section .mxp-shop-tabs-wrap,
.mxp-shop-section .mxp-shop-panel {
    grid-column: 1;
}

.mxp-shop-section .mxp-shop-side {
    display: none;
}

.mxp-shop-section .mxp-shop-tabs-wrap {
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #dfe5ee;
    border-radius: 0;
    background: transparent;
}

.mxp-shop-section .mxp-shop-tabs {
    flex-wrap: wrap;
    gap: 10px 30px;
    overflow: visible;
    padding: 0;
}

.mxp-shop-section .mxp-shop-tab {
    position: relative;
    flex: 0 1 auto;
    max-width: 100%;
    min-height: 46px;
    padding: 0 2px 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #586579;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}

.mxp-shop-section .mxp-shop-tab::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--mxp-brand, #2468f2);
    opacity: 0;
    transform: scaleX(0.55);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mxp-shop-section .mxp-shop-tab:hover,
.mxp-shop-section .mxp-shop-tab.is-active {
    background: transparent;
    color: var(--mxp-brand, #2468f2);
}

.mxp-shop-section .mxp-shop-tab.is-active::after {
    bottom: -1px;
    opacity: 1;
    transform: scaleX(1);
}

.mxp-shop-section .mxp-shop-tab:focus-visible {
    outline: 2px solid var(--mxp-brand, #2468f2);
    outline-offset: 2px;
}

.mxp-shop-tab-indicator {
    display: none;
}

.mxp-shop-section .mxp-shop-grid,
.mxp-shop--new .mxp-shop-grid,
.mxp-shop--plus .mxp-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mxp-shop--plus .mxp-shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mxp-shop-group-card {
    min-width: 0;
    min-height: 184px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dfe4ec;
    border-radius: 4px;
    background: #fff;
    color: #1d2736;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(31, 49, 79, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mxp-shop-group-card-head {
    min-height: 44px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #e7eaf0;
    background: #f5f6f8;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.mxp-shop-group-parent {
    min-width: 0;
    overflow: hidden;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mxp-shop-group-level {
    flex: 0 0 auto;
    color: #98a2b3;
    font-size: 12px;
    font-weight: 500;
}

.mxp-shop-group-card-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 19px 17px 17px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.mxp-shop-group-title {
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.mxp-shop-group-description {
    margin-top: 9px;
    overflow: hidden;
    display: -webkit-box;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mxp-shop-group-action {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #2468f2;
    font-size: 13px;
    font-weight: 700;
}

.mxp-shop-group-action > span:last-child {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.mxp-shop-group-card:hover {
    border-color: #7da7f5;
    box-shadow: 0 10px 24px rgba(36, 104, 242, 0.1);
    transform: translateY(-2px);
}

.mxp-shop-group-card:hover .mxp-shop-group-card-head {
    background: #eef4ff;
}

.mxp-shop-group-card:hover .mxp-shop-group-title {
    color: #245fc5;
}

.mxp-shop-group-card:hover .mxp-shop-group-action > span:last-child {
    transform: translateX(3px);
}

.mxp-shop-group-card:focus-visible {
    outline: 2px solid var(--mxp-brand, #2468f2);
    outline-offset: 2px;
}

.mxp-shop--new .mxp-shop-tabs-wrap {
    margin-bottom: 0;
    padding: 0 18px;
    border: 1px solid #e4eaf4;
    border-radius: 4px 4px 0 0;
    background: #fff;
}

.mxp-shop--new .mxp-shop-tab {
    padding-top: 14px;
}

.mxp-shop--plus .mxp-shop-tabs-wrap {
    margin-bottom: 22px;
}

@media (max-width: 1200px) {
    .mxp-shop--plus .mxp-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .mxp-shop-section .mxp-shop-grid,
    .mxp-shop--new .mxp-shop-grid,
    .mxp-shop--plus .mxp-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mxp-shop-section .mxp-shop-tabs {
        gap: 22px;
        margin: 0;
        padding: 0 2px;
    }

    .mxp-shop-section .mxp-shop-tab {
        min-height: 44px;
        padding: 0 1px 12px;
        font-size: 14px;
    }

    .mxp-shop--new .mxp-shop-tabs-wrap {
        padding: 0 14px;
    }

    .mxp-shop--new .mxp-shop-tab {
        padding-top: 12px;
    }

    .mxp-shop-group-card {
        min-height: 168px;
    }

    .mxp-shop-group-description {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 560px) {
    .mxp-shop-section .mxp-shop-grid,
    .mxp-shop--new .mxp-shop-grid,
    .mxp-shop--plus .mxp-shop-grid {
        grid-template-columns: 1fr;
    }

    .mxp-shop-group-card {
        min-height: 156px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .mxp-shop-group-card:hover {
        border-color: #dfe4ec;
        box-shadow: 0 4px 12px rgba(31, 49, 79, 0.04);
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mxp-shop-section .mxp-shop-tab::after,
    .mxp-shop-group-card,
    .mxp-shop-group-card-head,
    .mxp-shop-group-title,
    .mxp-shop-group-action > span:last-child {
        transition: none;
    }
}

/* Original elements: let the shortcut rail occupy its full reserved area. */
body.mxp-home-page.mxp-elements-original .mxp-hezi-banner .mxp-quick-section {
    bottom: 0;
    padding-bottom: 0;
}

body.mxp-home-page.mxp-elements-original .mxp-hezi-banner .Hui-quick.mxp-hui-quick {
    align-items: stretch;
}

body.mxp-home-page.mxp-elements-original .mxp-hezi-banner .Hui-quick.mxp-hui-quick .Hui-itemBlock {
    align-self: stretch;
    border-color: var(--mxp-creative-line);
    background: rgba(255, 255, 255, 0.94);
}

@media (max-width: 768px) {
    body.mxp-home-page.mxp-elements-original .mxp-hezi-banner .mxp-quick-section {
        padding-bottom: 0;
    }

    body.mxp-home-page.mxp-elements-original .mxp-hezi-banner .Hui-quick.mxp-hui-quick {
        align-items: stretch;
        grid-auto-rows: 1fr;
    }

    body.mxp-home-page.mxp-elements-original .mxp-hezi-banner .Hui-quick.mxp-hui-quick .Hui-itemBlock {
        height: 100%;
        max-height: none;
    }
}
