/* ==========================================================================
   desktop.css —— 桌面端增量覆盖层
   --------------------------------------------------------------------------
   规则约定：
   1. 本文件所有规则都包裹在 @media (min-width: 1024px) 中，
      并且 <link> 标签同时带有 media="(min-width: 1024px)"，
      1023px 及以下设备（手机/小平板）物理上不可能受到任何影响。
   2. 为了稳定压过页面内联 <style> 与既有 css 的 !important 规则，
      全局覆盖统一使用 html body 前缀提升优先级。
   3. 页面级规则通过 <html> 上的 mao-pc-{page} class 定位（由
      Mao/desktop_shell.php 的 mao_desktop_render_head() 注入）。
   ========================================================================== */

@media (min-width: 1024px) {

    /* ======================================================================
       0. 设计变量
       ====================================================================== */
    html {
        /* 全站桌面端：视口全宽铺平，仅保留左右安全边距（无 1560px 窄栏） */
        --mao-desktop-gutter: 40px;
        --mao-desktop-max: none;
        --mao-desktop-content: none;
        --mao-desktop-narrow: none;
        --mao-desktop-read: min(920px, calc(100vw - var(--mao-desktop-gutter) * 2));
        --mao-desktop-bleed-width: calc(100% + 2 * var(--mao-desktop-gutter));
        --mao-desktop-bleed-margin: calc(-1 * var(--mao-desktop-gutter));
        --mao-desktop-bg: #f5f5f7;
        --mao-desktop-card-bg: #ffffff;
        --mao-desktop-text: #1d1d1f;
        --mao-desktop-muted: #6e6e73;
        --mao-desktop-radius: 18px;
        --mao-desktop-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
        --mao-desktop-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
        --mao-desktop-nav-height: 64px;
    }

    /* ======================================================================
       1. 全局解锁：取消手机壳 500px 窄条限制（Mao.min.css body 规则）
       ====================================================================== */
    html {
        width: 100%;
        min-width: 100%;
    }

    html body {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: none !important;
        min-height: 100vh;
        margin: 0 !important;
        background-color: var(--mao-desktop-bg);
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    /* bui/fui 容器解除窄宽与移动端定位约束 */
    html body .bui-page {
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: calc(100vh - var(--mao-desktop-nav-height)) !important;
        overflow: visible !important;
        background: transparent;
    }

    html body .fui-page-group,
    html body .fui-page,
    html body .fui-content {
        position: static !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    /* ======================================================================
       2. 隐藏移动端导航壳（桌面统一使用 mao-desktop-nav）
       ====================================================================== */
    html body .apple-menu-toggle,
    html body .apple-sidebar,
    html body .apple-sidebar-overlay,
    html body .shared-home-nav {
        display: none !important;
    }

    /* 首页顶部 fui-notice 导航条（含汉堡按钮的那条） */
    html.mao-pc-home body .fui-notice {
        display: none !important;
    }

    /* 列表页旧 bui-bar 顶栏 */
    html.mao-pc-list body header.bui-bar {
        display: none !important;
    }

    /* ======================================================================
       3. 桌面导航条（Mao/desktop_shell.php 渲染，默认 display:none）
       ====================================================================== */
    html body .mao-desktop-nav {
        display: block !important;
        position: sticky;
        top: 0;
        z-index: 1300;
        width: 100%;
        background: rgba(255, 255, 255, 0.92);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        backdrop-filter: saturate(180%) blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    .mao-desktop-nav-inner {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 var(--mao-desktop-gutter);
        box-sizing: border-box;
        height: var(--mao-desktop-nav-height);
        display: flex;
        align-items: center;
        gap: 28px;
    }

    .mao-desktop-logo {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }

    .mao-desktop-logo img {
        display: block;
        width: auto;
        height: auto;
        max-height: 40px;
        max-width: 150px;
        object-fit: contain;
    }

    .mao-desktop-links {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 0;
    }

    html body .mao-desktop-links .mao-desktop-link {
        display: inline-flex;
        align-items: center;
        padding: 8px 13px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.01em;
        line-height: 1;
        color: var(--mao-desktop-text);
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.18s ease, color 0.18s ease;
    }

    html body .mao-desktop-links .mao-desktop-link:hover {
        background: rgba(0, 0, 0, 0.06);
        color: #000000;
    }

    html body .mao-desktop-links .mao-desktop-link.active {
        background: #000000;
        color: #ffffff;
    }

    .mao-desktop-caret {
        font-size: 10px;
        margin-left: 5px;
        color: inherit;
    }

    /* 分类下拉 */
    .mao-desktop-drop {
        position: relative;
    }

    .mao-desktop-drop-panel {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        min-width: 260px;
        max-width: min(420px, calc(100vw - 48px));
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 18px 22px;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
        box-sizing: border-box;
    }

    .mao-desktop-drop:hover .mao-desktop-drop-panel,
    .mao-desktop-drop:focus-within .mao-desktop-drop-panel {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        align-items: start;
    }

    .mao-desktop-drop-group {
        min-width: 0;
    }

    .mao-desktop-drop-title {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--mao-desktop-muted);
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    html body .mao-desktop-drop-item {
        display: block;
        padding: 6px 8px;
        margin: 0 -8px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        color: var(--mao-desktop-text);
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: background-color 0.15s ease;
    }

    html body .mao-desktop-drop-item:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    /* 右侧动作区：账户 + 购物车 */
    .mao-desktop-actions {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    html body .mao-desktop-account {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.16);
        font-size: 13px;
        font-weight: 500;
        color: var(--mao-desktop-text);
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.18s ease, border-color 0.18s ease;
    }

    html body .mao-desktop-account:hover {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.3);
    }

    .mao-desktop-account svg {
        width: 16px;
        height: 16px;
    }

    html body .mao-desktop-cart {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: var(--mao-desktop-text);
        text-decoration: none;
        transition: background-color 0.18s ease;
    }

    html body .mao-desktop-cart:hover {
        background: rgba(0, 0, 0, 0.06);
    }

    .mao-desktop-cart svg {
        width: 22px;
        height: 22px;
    }

    html body .mao-desktop-cart .cart-count-badge {
        position: absolute;
        top: 1px;
        right: -3px;
        min-width: 17px;
        height: 17px;
        border-radius: 999px;
        background: #ff3b30;
        color: #ffffff;
        font-size: 10px;
        font-weight: 600;
        line-height: 17px;
        text-align: center;
        padding: 0 4px;
    }

    /* ======================================================================
       4. 通用版式：footer / 共享商品网格 / 通用排版
       ====================================================================== */

    /* 黑底 footer：全宽贴边（避免 100vw 引发左偏/裁切） */
    html body .shared-home-footer {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 56px var(--mao-desktop-gutter) 48px;
        box-sizing: border-box;
    }

    html body .shared-home-footer > div,
    html body .shared-home-footer > details {
        width: 100%;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* 在带 gutter 的父容器内突破至视口左右边缘 */
    html.mao-pc-home body .banner-carousel,
    html.mao-pc-home body .home-promo-bar,
    html.mao-pc-home body .fui-content.navbar .fui-cell-group .fui-cell-group > div[style*="background: #000000"],
    html.mao-pc-home body .fui-content.navbar .fui-cell-group .fui-cell-group > div[style*="background:#000000"],
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background: #000000"],
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background:#000000"] {
        width: var(--mao-desktop-bleed-width) !important;
        max-width: none !important;
        margin-left: var(--mao-desktop-bleed-margin) !important;
        margin-right: var(--mao-desktop-bleed-margin) !important;
        box-sizing: border-box !important;
    }

    /* Footer Trustpilot 行：桌面横排多栏 */
    html body .shared-home-footer > div[style*="background: #ffffff"],
    html body .shared-home-footer > div[style*="background:#ffffff"],
    html.mao-pc-home body .fui-content.navbar > div[style*="background: #ffffff"],
    html.mao-pc-home body .fui-content.navbar > div[style*="background:#ffffff"],
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background: #ffffff"],
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background:#ffffff"] {
        width: 100%;
        max-width: none !important;
        padding: 16px 24px !important;
        gap: 20px !important;
        box-sizing: border-box;
    }

    html body .shared-home-footer > div[style*="max-width: 560px"],
    html.mao-pc-home body .fui-content.navbar > div[style*="max-width: 560px"] {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    html.mao-pc-home body .fui-content.navbar .fui-cell-group .fui-cell-group > div[style*="background: #000000"],
    html.mao-pc-home body .fui-content.navbar .fui-cell-group .fui-cell-group > div[style*="background:#000000"] {
        padding: 56px var(--mao-desktop-gutter) 48px !important;
    }

    html.mao-pc-home body .fui-content.navbar > div[style*="background: #000000"] > details,
    html.mao-pc-home body .fui-content.navbar > div[style*="background:#000000"] > details,
    html.mao-pc-home body .fui-content.navbar > div[style*="background: #000000"] > div,
    html.mao-pc-home body .fui-content.navbar > div[style*="background:#000000"] > div,
    html body .shared-home-footer > details,
    html body .shared-home-footer > details + div,
    html body .shared-home-footer > div[style*="max-width: 720px"] {
        width: 100%;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* 商品卡网格：4 列 CSS Grid（替代 float/25% 宽，避免缺行时整排左偏） */
    html body .fui-goods-group.block.three {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    html body .fui-goods-group.block .fui-goods-item,
    html body .fui-goods-group.block.three .fui-goods-item,
    html body .fui-goods-group.block .fui-goods-item.apple-style-card,
    html body .fui-goods-group.block.three .fui-goods-item.apple-style-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    html body .fui-goods-group .fui-goods-item.apple-style-card {
        transition: transform 0.22s ease, box-shadow 0.22s ease;
        border-radius: 16px;
    }

    html body .fui-goods-group .fui-goods-item.apple-style-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--mao-desktop-shadow-hover);
        background: #ffffff;
    }

    html body .fui-goods-group .fui-goods-item.apple-style-card .image.product-card-image {
        width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        padding-bottom: 0 !important;
        aspect-ratio: 1 / 1;
        position: relative;
        overflow: hidden;
        background: #f5f5f7;
    }

    html body .fui-goods-group .fui-goods-item.apple-style-card .image.product-card-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    html body .fui-goods-group .fui-goods-item.apple-style-card .image {
        transition: transform 0.35s ease;
    }

    html body .fui-goods-group .fui-goods-item.apple-style-card:hover .image.product-card-image img {
        transform: scale(1.03);
    }

    /* 商品卡文字在桌面稍微放大 */
    html body .fui-goods-group.block .fui-goods-item.apple-style-card .detail .name,
    html body .fui-goods-group.block.three .fui-goods-item.apple-style-card .detail .name {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    html body .fui-goods-group.block .fui-goods-item.apple-style-card .detail .price .minprice,
    html body .fui-goods-group.block.three .fui-goods-item.apple-style-card .detail .price .minprice {
        font-size: 15px !important;
    }

    /* ======================================================================
       5. 首页 index.php（html.mao-pc-home）
       ====================================================================== */

    /* 主内容容器：解除窄宽并撑满 */
    html.mao-pc-home body .fui-page-group,
    html.mao-pc-home body .fui-page,
    html.mao-pc-home body .fui-content.navbar {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
        background: var(--mao-desktop-bg) !important;
    }

    /*
     * 首页存在嵌套 .fui-cell-group（外层壳 + 内层正文），
     * 勿用 100vw / calc(50%-50vw)（易与 overflow-x:hidden 叠加产生左偏），
     * 改为 100% 宽 + 内层单一限宽居中列，与导航条同宽对齐。
     */
    html.mao-pc-home body .fui-content.navbar .fui-cell-group {
        width: 100% !important;
        max-width: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        background: #ffffff;
        box-sizing: border-box;
    }

    html.mao-pc-home body .fui-content.navbar > .fui-cell-group {
        padding-bottom: 48px !important;
    }

    html.mao-pc-home body .fui-content.navbar .fui-cell-group .fui-cell-group {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: var(--mao-desktop-gutter) !important;
        padding-right: var(--mao-desktop-gutter) !important;
        box-sizing: border-box;
    }

    html.mao-pc-home body .fui-page,
    html.mao-pc-home body .fui-page-group,
    html.mao-pc-list body .fui-page,
    html.mao-pc-list body .fui-page-group {
        background: #ffffff !important;
    }

    html.mao-pc-home body,
    html.mao-pc-list body {
        background: #ffffff !important;
    }

    /* 区块：去掉手机端 10px 侧 margin，铺满限宽列 */
    html.mao-pc-home body .category-filter-section,
    html.mao-pc-home body .category-products-section,
    html.mao-pc-home body .service-area-section,
    html.mao-pc-home body .service-feature-section,
    html.mao-pc-home body .home-notice-bar {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    html.mao-pc-home body .fui-goods-group.block.three,
    html.mao-pc-home body .category-products-grid {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* 首页 Top Best Sellers：电脑端 10 个，5 列两行 */
    html.mao-pc-home body #home-best-sellers-grid .fui-goods-item:nth-child(n+9) {
        display: flex !important;
    }

    html.mao-pc-home body #home-best-sellers-grid.fui-goods-group.block.three {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    html.mao-pc-home body .home-section-title {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }

    html.mao-pc-home body .home-section-subtitle {
        width: 100%;
        max-width: 680px;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    /* banner 轮播：全宽贴边 + 完整展示（当前帧 relative 撑高，宽 100% 不裁切） */
    html.mao-pc-home body .banner-carousel {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
        max-height: none !important;
        line-height: 0 !important;
    }

    html.mao-pc-home body #bannerContainer {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
        line-height: 0 !important;
    }

    html.mao-pc-home body #bannerContainer .banner-item {
        width: 100% !important;
        max-height: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff;
    }

    /* 当前帧：参与文档流，按图片自然比例撑开容器高度 */
    html.mao-pc-home body #bannerContainer .banner-item.active {
        position: relative !important;
        height: auto !important;
        opacity: 1 !important;
    }

    html.mao-pc-home body #bannerContainer .banner-item.active img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        display: block !important;
        vertical-align: top;
    }

    /* 非当前帧：叠在上方做淡入淡出，不参与高度计算 */
    html.mao-pc-home body #bannerContainer .banner-item:not(.active) {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html.mao-pc-home body #bannerContainer .banner-item:not(.active) img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    /* 促销横滚条：与海报同宽贴边（沿用上方 bleed 规则，勿覆盖 width/margin） */
    html.mao-pc-home body .home-promo-bar {
        margin-top: 0 !important;
        border-radius: 0 !important;
    }

    html.mao-pc-home body .home-promo-item {
        font-size: 14px;
        min-height: 44px;
    }

    /* 业务介绍栏：桌面端放大字号 */
    html.mao-pc-home body .home-notice-bar {
        margin: 20px 0 0 !important;
        padding: 0 !important;
    }

    html.mao-pc-home body .home-notice-inner {
        padding: 14px 0 !important;
    }

    html.mao-pc-home body .home-notice-content {
        font-size: 16px !important;
        line-height: 1.7 !important;
        font-weight: 500 !important;
        text-align: center;
    }

    /* 区块标题/副标题放大 */
    html.mao-pc-home body .home-section-title,
    html.mao-pc-home body .category-filter-title,
    html.mao-pc-home body .service-area-title {
        margin-top: 40px;
        font-size: 26px !important;
        letter-spacing: 0.08em;
        line-height: 1.2;
        text-align: center !important;
    }

    html.mao-pc-home body .home-section-subtitle {
        font-size: 14px;
        line-height: 1.65;
        margin-top: 10px;
    }

    html.mao-pc-home body .category-filter-section .home-section-subtitle,
    html.mao-pc-home body #category-filter-section .home-section-subtitle {
        max-width: 720px;
        margin-bottom: 4px;
    }

    /* 分类筛选卡片：加大留白，chips 居中可换行 */
    html.mao-pc-home body #category-filter-section.category-filter-section {
        margin-top: 36px !important;
        padding: 32px 36px 28px;
        border-radius: var(--mao-desktop-radius);
    }

    html.mao-pc-home body #category-filter-section .category-filter-title {
        margin-top: 0;
        font-size: 22px !important;
    }

    html.mao-pc-home body .category-filter-group {
        padding: 16px 18px 14px;
    }

    html.mao-pc-home body .category-filter-group::after,
    html.mao-pc-home body .category-filter-scroll-tip {
        display: none !important;
    }

    html.mao-pc-home body .category-filter-group-label {
        font-size: 13px;
    }

    html.mao-pc-home body .category-filter-chips {
        flex-wrap: wrap;
        overflow: visible;
        justify-content: center;
        gap: 10px;
        padding-right: 0;
        margin-top: 12px;
    }

    html.mao-pc-home body .category-filter-group-label,
    html.mao-pc-home body .category-filter-group-head {
        text-align: center;
    }

    html.mao-pc-home body .category-chip {
        min-height: 34px;
        padding: 8px 18px;
        font-size: 13px;
    }

    /* 分类项过多：电脑端紧凑网格；口数组显示短标签（如 13K），悬停可看全名 */
    html.mao-pc-home body .category-filter-group.is-dense .category-filter-chips,
    html.mao-pc-list body .category-filter-group.is-dense .category-filter-chips {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)) !important;
        flex-wrap: unset !important;
        overflow: visible !important;
        justify-content: stretch !important;
        align-content: start;
        gap: 8px !important;
        padding-right: 0 !important;
    }

    html.mao-pc-home body .category-filter-group.is-dense.is-puff .category-filter-chips,
    html.mao-pc-list body .category-filter-group.is-dense.is-puff .category-filter-chips {
        grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)) !important;
        gap: 6px !important;
    }

    html.mao-pc-home body .category-filter-group.is-dense .category-chip,
    html.mao-pc-list body .category-filter-group.is-dense .category-chip {
        width: 100%;
        min-width: 0;
        white-space: nowrap;
        padding: 7px 10px !important;
        font-size: 12px !important;
        min-height: 32px !important;
    }

    html.mao-pc-home body .category-filter-group.is-dense.is-puff .category-chip,
    html.mao-pc-list body .category-filter-group.is-dense.is-puff .category-chip {
        padding: 6px 8px !important;
        font-size: 11px !important;
        min-height: 30px !important;
    }

    html.mao-pc-home body .category-filter-group.is-dense .category-chip-text--short,
    html.mao-pc-list body .category-filter-group.is-dense .category-chip-text--short {
        display: inline !important;
    }

    html.mao-pc-home body .category-filter-group.is-dense .category-chip-text--full,
    html.mao-pc-list body .category-filter-group.is-dense .category-chip-text--full {
        display: none !important;
    }

    /* 商品网格容器（畅销区/分类联动区） */
    html.mao-pc-home body .category-products-section {
        padding-bottom: 8px;
    }

    html.mao-pc-home body .category-products-grid.is-finder-all-limited .category-product-card.is-finder-hidden {
        display: none !important;
    }

    /* 服务地区跑马灯 */
    html.mao-pc-home body .service-area-section {
        margin-top: 36px !important;
        padding: 26px 28px 24px;
        border-radius: var(--mao-desktop-radius);
    }

    html.mao-pc-home body .service-area-section .service-area-title {
        margin-top: 0;
        font-size: 22px !important;
    }

    html.mao-pc-home body .service-area-subtitle {
        max-width: 680px;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 13px;
        text-align: center !important;
    }

    html.mao-pc-home body .service-area-tag {
        min-height: 32px;
        padding: 0 16px;
        font-size: 12px;
    }

    /* 服务特色：2 列 -> 4 列 */
    html.mao-pc-home body .service-feature-section {
        margin-top: 28px !important;
        padding: 36px 32px;
        border-radius: var(--mao-desktop-radius);
        background: #ffffff;
    }

    html.mao-pc-home body .service-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 28px 24px;
    }

    html.mao-pc-home body .service-feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 14px;
    }

    html.mao-pc-home body .service-feature-title {
        font-size: 16px;
    }

    html.mao-pc-home body .service-feature-subtitle {
        max-width: 260px;
        font-size: 13px;
    }

    /* ======================================================================
       6. 商品列表页 list.php（html.mao-pc-list）
       ====================================================================== */

    html.mao-pc-list body {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html.mao-pc-list body .fui-page-group,
    html.mao-pc-list body .fui-page,
    html.mao-pc-list body .fui-content {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        background: #ffffff !important;
    }

    html.mao-pc-list body .fui-content {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: auto !important;
        padding-bottom: 0 !important;
    }

    html.mao-pc-list body .bui-page {
        width: 100% !important;
        max-width: none !important;
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    html.mao-pc-list body .bui-page > header.bui-bar {
        display: none !important;
    }

    html.mao-pc-list body .fui-page-group {
        margin-top: 0 !important;
        width: 100% !important;
        max-width: none !important;
        overflow: visible !important;
    }

    html.mao-pc-list body .fui-content > .fui-cell-group {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 0 48px !important;
        overflow: visible !important;
        box-sizing: border-box;
        background: #ffffff;
    }

    html.mao-pc-list body .fui-content > .fui-cell-group > * {
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* 常规内容区：左右安全边距 */
    html.mao-pc-list body .fui-content > .fui-cell-group > .seo-breadcrumb,
    html.mao-pc-list body .fui-content > .fui-cell-group > .list-seo-intro,
    html.mao-pc-list body .fui-content > .fui-cell-group > .list-seo-model-index,
    html.mao-pc-list body .fui-content > .fui-cell-group > #shop_list,
    html.mao-pc-list body .fui-content > .fui-cell-group > .list-seo-pagination,
    html.mao-pc-list body .fui-content > .fui-cell-group > .list-seo-faq,
    html.mao-pc-list body .fui-content > .fui-cell-group > #list-load-more-slot {
        padding-left: var(--mao-desktop-gutter) !important;
        padding-right: var(--mao-desktop-gutter) !important;
        box-sizing: border-box;
    }

    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background: #000000"],
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background:#000000"] {
        padding: 56px var(--mao-desktop-gutter) 48px !important;
    }

    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background: #000000"] > details,
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background:#000000"] > details,
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background: #000000"] > div,
    html.mao-pc-list body .fui-content > .fui-cell-group > div[style*="background:#000000"] > div {
        width: 100%;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    html.mao-pc-list body #list-category-filter-section,
    html.mao-pc-list body .list-seo-faq,
    html.mao-pc-list body #shop_list.fui-goods-group {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    html.mao-pc-list body .category-filter-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html.mao-pc-list body .list-seo-faq {
        margin-top: 32px !important;
    }

    /* 面包屑 */
    html.mao-pc-list body .seo-breadcrumb {
        margin: 18px 0 0;
        padding: 0;
        font-size: 13px;
    }

    /* H1 + 引言：全宽居中排版 */
    html.mao-pc-list body .list-seo-intro {
        max-width: none;
        width: 100%;
        margin: 0;
        text-align: center;
        font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    }

    html.mao-pc-list body .list-seo-intro h1,
    html.mao-pc-list body #list-page-title {
        padding: 22px 0 8px !important;
        font-size: 28px !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em;
        font-family: inherit !important;
    }

    html.mao-pc-list body .list-seo-intro p {
        font-size: 14px;
        line-height: 1.65;
        color: var(--mao-desktop-muted);
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        font-family: inherit !important;
    }

    /* 型号索引：FAQ 下方、EEAT 黑底上方，低调 SEO 补充块 */
    html.mao-pc-list body .list-seo-model-index {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 12px var(--mao-desktop-gutter) 16px !important;
        border-top: 1px solid #f0f0f5;
        text-align: left !important;
        font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    }

    html.mao-pc-list body .list-seo-model-index-inner {
        max-width: 960px;
        margin: 0 auto;
    }

    html.mao-pc-list body .list-seo-model-index-title {
        font-size: 10px !important;
        font-weight: 600 !important;
        font-family: inherit !important;
        color: #9ca3af !important;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 6px !important;
    }

    html.mao-pc-list body .list-seo-model-index-count {
        font-size: 10px !important;
        font-weight: 500 !important;
        color: #d1d5db !important;
        text-transform: none;
        letter-spacing: 0;
    }

    html.mao-pc-list body .list-seo-model-index-name {
        font-size: 10px !important;
        font-family: inherit !important;
        color: #9ca3af !important;
        -webkit-text-fill-color: #9ca3af !important;
        line-height: 1.4 !important;
    }

    html.mao-pc-list body .list-seo-model-index-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 1px;
    }

    @media (max-width: 1100px) {
        html.mao-pc-list body .list-seo-model-index-list {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 700px) {
        html.mao-pc-list body .list-seo-model-index-list {
            grid-template-columns: 1fr;
        }
    }

    /* 分类筛选：全宽浅灰底带（无 cell-group 侧 padding 时直接铺满） */
    html.mao-pc-list body #list-category-filter-section {
        margin: 32px 0 0 !important;
        padding: 36px var(--mao-desktop-gutter) 32px !important;
        border-radius: 0 !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-group {
        padding: 14px 16px 12px;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-group::after,
    html.mao-pc-list body #list-category-filter-section .category-filter-scroll-tip {
        display: none !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-chips {
        flex-wrap: wrap;
        overflow: visible;
        justify-content: center !important;
        gap: 10px;
        padding-right: 0;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-group-label,
    html.mao-pc-list body #list-category-filter-section .category-filter-group-head {
        text-align: center;
    }

    html.mao-pc-list body #list-category-filter-section .category-chip {
        min-height: 34px;
        padding: 8px 18px;
        font-size: 13px !important;
    }

    /* 商品网格：全局规则已升为 4 列，这里只调上下留白 */
    html.mao-pc-list body #shop_list.fui-goods-group.block.three {
        margin-top: 24px !important;
    }

    html.mao-pc-list body #shop_list.fui-goods-group.is-loading-products {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 280px !important;
    }

    /* 分页导航 */
    html.mao-pc-list body .list-seo-pagination {
        padding: 28px 0 8px !important;
        font-size: 15px !important;
    }

    /* 列表页 FAQ：全宽卡片 */
    html.mao-pc-list body .list-seo-faq {
        max-width: none;
        width: 100%;
        margin: 32px 0 0;
        padding: 32px 36px;
        background: #ffffff;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        box-sizing: border-box;
    }

    html.mao-pc-list body .list-seo-faq h2 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    html.mao-pc-list body .list-seo-faq-question {
        font-size: 15px !important;
    }

    html.mao-pc-list body .list-seo-faq-answer {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }

    /* 列表页：去掉手机端侧栏留白，内容区与导航同宽 */
    html.mao-pc-list body .list-seo-intro {
        padding: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }

    html.mao-pc-list body .list-seo-model-index {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html.mao-pc-list body .seo-breadcrumb {
        padding: 0 !important;
    }

    html.mao-pc-list body #list-category-filter-section .home-section-subtitle {
        max-width: 720px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 14px !important;
        line-height: 1.65 !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }

    html.mao-pc-list body #list-category-filter-section.category-filter-section {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border: 0 !important;
        border-top: 1px solid #ececf1 !important;
        border-bottom: 1px solid #ececf1 !important;
        background: #f5f5f7 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-title {
        font-size: 22px !important;
        letter-spacing: 0.12em !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-group {
        margin-top: 16px !important;
        padding: 18px 20px 16px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 1px solid #ececf1 !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-group::after {
        display: none !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-chips {
        justify-content: flex-start !important;
        gap: 10px !important;
        padding-right: 0 !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-chip {
        min-height: 38px !important;
        padding: 9px 20px !important;
        font-size: 14px !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-group.is-dense .category-chip {
        min-height: 32px !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
    }

    html.mao-pc-list body #list-category-filter-section .category-filter-group.is-dense.is-puff .category-chip {
        min-height: 30px !important;
        padding: 6px 8px !important;
        font-size: 11px !important;
    }

    /* 商品网格：列表页更充分利用横向空间 */
    html.mao-pc-list body #shop_list.fui-goods-group.block.three {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 22px !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 32px !important;
        padding: 0 !important;
    }

    html.mao-pc-list body #shop_list .fui-goods-item.apple-style-card .detail .name {
        font-size: 15px !important;
    }

    html.mao-pc-list body #shop_list .fui-goods-item.apple-style-card .detail .price .minprice {
        font-size: 16px !important;
    }

    @media (min-width: 1280px) {
        html.mao-pc-list body #shop_list.fui-goods-group.block.three {
            grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
            gap: 24px !important;
        }
    }

    @media (min-width: 1600px) {
        html.mao-pc-list body #shop_list.fui-goods-group.block.three {
            grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        }
    }

    /* FAQ：全宽卡片，与商品区同宽 */
    html.mao-pc-list body .list-seo-faq {
        margin: 40px 0 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 36px 40px !important;
        border: 1px solid #ececf1 !important;
    }

    html.mao-pc-list body .list-seo-faq h2 {
        font-size: 26px !important;
        margin-bottom: 20px !important;
        text-align: center;
    }

    html.mao-pc-list body .list-seo-faq-question {
        font-size: 16px !important;
    }

    html.mao-pc-list body .list-seo-faq-answer {
        font-size: 15px !important;
        line-height: 1.75 !important;
    }

    /* 列表页底栏：全幅黑底 + 内部内容铺满 */
    html.mao-pc-list body .list-page-footer,
    html.mao-pc-list body .fui-content > .fui-cell-group > .list-page-footer {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 56px var(--mao-desktop-gutter) 48px !important;
        box-sizing: border-box !important;
    }

    html.mao-pc-list body .list-page-footer details,
    html.mao-pc-list body .list-page-footer > div {
        max-width: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    html.mao-pc-list body .list-page-footer > div[style*="background: #ffffff"],
    html.mao-pc-list body .list-page-footer > div[style*="background:#ffffff"] {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto 16px auto !important;
        padding: 16px 24px !important;
    }

    html.mao-pc-list body .list-page-footer img[alt="Accepted payment methods"] {
        max-width: min(720px, 100%) !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    /* ======================================================================
       7. 商品详情页 goods.php（html.mao-pc-goods）—— Grid 双栏 + sticky 购买面板
       ====================================================================== */

    html.mao-pc-goods body {
        background: #ffffff;
    }

    html.mao-pc-goods body .bui-page {
        background: #ffffff;
        width: 100% !important;
        max-width: none !important;
    }

    html.mao-pc-goods body .bui-page > main {
        display: grid !important;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        column-gap: 40px;
        row-gap: 0;
        width: 100%;
        max-width: none;
        margin: 0 !important;
        padding: 28px var(--mao-desktop-gutter) 64px;
        box-sizing: border-box;
        overflow: visible !important;
        align-items: start;
    }

    html.mao-pc-goods body .goods-blocks-slot--trust-mobile,
    html.mao-pc-goods body .goods-blocks-slot--order-mobile {
        display: none !important;
    }

    html.mao-pc-goods body .goods-wholesale-hero-blocks--desktop {
        grid-column: 1 / -1;
        grid-row: 3;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
        width: 100%;
        margin-top: 32px;
        padding: 24px 28px;
        box-sizing: border-box;
        border: 1px solid #e8e8ed;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    }

    html.mao-pc-goods body .goods-wholesale-hero-blocks--desktop.goods-wholesale-hero-blocks--trust-only {
        grid-template-columns: minmax(0, 1fr);
    }

    html.mao-pc-goods body .goods-wholesale-hero-blocks--desktop:not(:has(.goods-trust-strip, .goods-order-guide)) {
        display: none !important;
    }

    html.mao-pc-goods body .goods-wholesale-hero-blocks--desktop .goods-trust-strip {
        max-width: none;
        margin: 0;
    }

    html.mao-pc-goods body .goods-wholesale-hero-blocks--desktop .goods-order-guide {
        max-width: none;
        margin: 0;
    }

    html.mao-pc-goods body .goods-order-guide-item-text a.goods-order-guide-link,
    html.mao-pc-goods body .goods-order-guide-item-text a.goods-order-guide-link:link,
    html.mao-pc-goods body .goods-order-guide-item-text a.goods-order-guide-link:visited,
    html.mao-pc-goods body .goods-order-guide-item-text a.goods-order-guide-link:hover,
    html.mao-pc-goods body .goods-order-guide-item-text a.goods-order-guide-link:active {
        color: var(--site-accent, #0071e3) !important;
        text-decoration: underline;
        font-weight: 600;
    }

    html.mao-pc-goods body .goods-wholesale-hero-blocks-col {
        min-width: 0;
    }

    html.mao-pc-goods body .goods-breadcrumb {
        grid-column: 1 / -1;
        margin: 8px 0 20px;
        font-size: 13px;
    }

    /* 左栏：主图完整显示 + 缩略图在下 */
    html.mao-pc-goods body .bui-page > main > .goods-gallery-panel {
        grid-column: 1;
        grid-row: 2;
        width: 100% !important;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-self: start;
        min-height: 0;
        height: auto;
        border: 1px solid #e8e8ed;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
        overflow: hidden;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-gallery-panel #slide {
        width: 100% !important;
        float: none !important;
        flex: 0 0 auto;
        min-height: 0;
        overflow: visible;
        background: #ffffff;
        border: 0;
        border-radius: 0;
        height: auto !important;
        box-shadow: none;
        display: block;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-gallery-panel #slide.bui-slide,
    html.mao-pc-goods body .goods-gallery-panel #slide .bui-slide-main {
        flex: none;
        min-height: 0;
        width: 100%;
        height: auto !important;
        overflow: visible !important;
        border-radius: 0;
        display: block;
        padding: 0;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-gallery-panel #slide .bui-slide-main ul {
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        transform: none !important;
        position: relative !important;
        left: auto !important;
        display: block !important;
        margin: 0;
        padding: 0;
    }

    /* 不可对 li 使用 display:flex !important，否则会压过 JS 的 display:none */
    html.mao-pc-goods body .goods-gallery-panel #slide .bui-slide-main ul li {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        float: none !important;
        text-align: center;
        background: transparent;
        padding: 0;
        box-sizing: border-box;
        line-height: 0;
    }

    /* 在可用区域内等比放大至最大，完整显示不裁切 */
    html.mao-pc-goods body .goods-gallery-panel #slide .bui-slide-main ul li img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto !important;
        display: block !important;
        object-fit: contain !important;
        object-position: center center;
        border-radius: 0;
        vertical-align: top;
    }

    /* 缩略图横排在主图下方 */
    html.mao-pc-goods body .goods-gallery-panel .thumbnail-preview {
        flex: 0 0 auto;
        width: 100% !important;
        float: none !important;
        margin: 0;
        padding: 16px 20px 18px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        border: 0;
        border-top: 1px solid #ececf1;
        background: #ffffff;
        box-shadow: none;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-gallery-panel .thumbnail-preview .thumbnail-item {
        width: 84px;
        height: 84px;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        border: 2px solid #e5e5ea;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        flex-shrink: 0;
    }

    html.mao-pc-goods body .goods-gallery-panel .thumbnail-preview .thumbnail-item::after {
        display: none !important;
    }

    html.mao-pc-goods body .goods-gallery-panel .thumbnail-preview .thumbnail-item img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    html.mao-pc-goods body .goods-gallery-panel .thumbnail-preview .thumbnail-item:hover {
        transform: translateY(-2px);
        border-color: #c7c7cc;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    html.mao-pc-goods body .goods-gallery-panel .thumbnail-preview .thumbnail-item.active {
        border-color: #1d1d1f;
        box-shadow: 0 0 0 1px #1d1d1f, 0 4px 14px rgba(0, 0, 0, 0.1);
    }

    /* 右栏：统一大卡片（标题区 + SKU 区），与图库等高、视觉分量一致 */
    html.mao-pc-goods body .bui-page > main > .goods-buy-panel {
        grid-column: 2;
        grid-row: 2;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-self: start;
        min-height: 0;
        height: auto;
        border: 1px solid #e8e8ed;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
        /* 必须为 visible：overflow:hidden 会裁切绝对定位的 SKU 下拉，导致电脑端滚不到最后一项 */
        overflow: visible;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info {
        width: 100% !important;
        float: none !important;
        text-align: left !important;
        padding: 32px 32px 24px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #ececf1;
        position: static !important;
        top: auto !important;
        z-index: auto !important;
        flex: 0 0 auto;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info .product-title {
        margin-bottom: 10px !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info .product-title h1 {
        font-size: 40px !important;
        line-height: 1.1 !important;
        letter-spacing: -0.025em !important;
        text-align: left !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info .product-subtitle {
        margin-bottom: 14px !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info .product-subtitle p {
        font-size: 18px !important;
        line-height: 1.5 !important;
        text-align: left !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info .product-sales,
    html.mao-pc-goods body .goods-buy-panel .apple-product-info .product-sales span {
        font-size: 15px !important;
        margin-bottom: 10px !important;
        display: block;
        width: 100%;
        text-align: center !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info .live-viewers-container {
        justify-content: center !important;
        margin-bottom: 0 !important;
        width: 100%;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-product-info .viewers-text {
        font-size: 15px !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section {
        width: 100% !important;
        float: none !important;
        position: static !important;
        margin-top: 0 !important;
        padding: 28px 32px 32px;
        background: #ffffff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow: visible;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-dropdown-row {
        margin-bottom: 16px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-row-label {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--mao-desktop-muted);
        margin-bottom: 8px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-dropdown-trigger {
        min-height: 56px;
        padding: 15px 20px;
        border-radius: 12px;
        font-size: 17px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-table {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #ececf1;
        margin-bottom: 20px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-head {
        font-size: 13px;
        padding: 2px 0;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-head span {
        padding: 16px 20px !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-row {
        font-size: 17px;
        padding: 16px 20px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-row:hover,
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-row.active {
        background: #000000 !important;
        color: #ffffff !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-buy-btn {
        min-height: 58px !important;
        font-size: 18px !important;
        border-radius: 12px !important;
        letter-spacing: -0.01em !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .quantity-control button,
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .quantity-stepper button {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    /* SKU 批发价表、数量区：与 SKU 卡片左右对齐（覆盖页面内 max-width + margin:auto） */
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-table,
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-hint,
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .sku-selection-area,
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-quantity-panel {
        max-width: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-wholesale-tier-hint {
        text-align: right;
        font-size: 12px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-quantity-panel {
        margin-top: 18px !important;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-action-row {
        width: 100%;
        gap: 14px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-quantity-control {
        min-height: 56px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-quantity-btn {
        width: 52px;
        height: 52px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-quantity-input {
        font-size: 17px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-summary-card {
        margin-top: 14px;
        padding: 16px 18px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-summary-line {
        font-size: 14px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-summary-line strong {
        font-size: 16px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-summary-total {
        font-size: 13px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-summary-total strong {
        font-size: 24px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .sku-selection-area {
        flex: 1 1 auto;
        overflow: visible;
        text-align: left;
    }

    html.mao-pc-goods body .goods-buy-panel .wholesale-mix-panel {
        width: 100%;
        text-align: left;
    }

    html.mao-pc-goods body .goods-buy-panel .wholesale-mix-line {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(140px, 168px) 40px;
        gap: 10px;
    }

    html.mao-pc-goods body .goods-buy-panel .wholesale-mix-line select {
        min-height: 50px;
        font-size: 15px;
    }

    html.mao-pc-goods body .goods-buy-panel .wholesale-mix-line-qty-wrap {
        min-width: 140px;
        min-height: 50px;
    }

    html.mao-pc-goods body .goods-buy-panel .wholesale-mix-line-qty-btn {
        flex: 0 0 44px;
        width: 44px;
        height: 50px;
        font-size: 18px;
    }

    html.mao-pc-goods body .goods-buy-panel .wholesale-mix-line-qty {
        min-height: 50px;
        font-size: 15px;
        font-weight: 600;
    }

    html.mao-pc-goods body .goods-buy-panel .wholesale-mix-alloc {
        font-size: 14px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .apple-sku-quantity-panel {
        flex: 0 0 auto;
    }

    /* 电脑端 SKU 下拉：加高列表 + 可见滚动条（仅 goods-buy-panel，不影响手机端 goods.php 内联样式） */
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section,
    html.mao-pc-goods body .goods-buy-panel .apple-sku-section .sku-type-group,
    html.mao-pc-goods body .goods-buy-panel .apple-sku-dropdown {
        overflow: visible;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-dropdown.open {
        z-index: 200;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-dropdown-list {
        max-height: min(56vh, 520px);
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 201;
        scrollbar-width: thin;
        scrollbar-color: #b8b8be #f2f2f7;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-dropdown-list::-webkit-scrollbar {
        width: 8px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-dropdown-list::-webkit-scrollbar-track {
        background: #f2f2f7;
        border-radius: 0 2px 2px 0;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-dropdown-list::-webkit-scrollbar-thumb {
        background: #b8b8be;
        border-radius: 4px;
    }

    html.mao-pc-goods body .goods-buy-panel .apple-sku-dropdown-list::-webkit-scrollbar-thumb:hover {
        background: #9b9ba1;
    }

    /* 下方全宽信息区 */
    html.mao-pc-goods body .bui-page > main > .apple-product-description,
    html.mao-pc-goods body .bui-page > main > .apple-product-params,
    html.mao-pc-goods body .bui-page > main > .reviews-section,
    html.mao-pc-goods body .bui-page > main > .goods-page-faq-anchor,
    html.mao-pc-goods body .bui-page > main > .goods-related-products-section,
    html.mao-pc-goods body .bui-page > main > .goods-related-articles-section {
        grid-column: 1 / -1;
        width: 100%;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .bui-page > main > .apple-product-description {
        margin-top: 56px;
        padding: 48px 0 0 !important;
        border-top: 1px solid #ececf1 !important;
        background: transparent !important;
    }

    /* 详情正文：欧美 B2B 可读字号 + 左对齐 */
    html.mao-pc-goods body .apple-product-description .goods-detail-content,
    html.mao-pc-goods body .apple-product-description .goods-detail-content p,
    html.mao-pc-goods body .apple-product-description .goods-detail-content div,
    html.mao-pc-goods body .apple-product-description .goods-detail-content li,
    html.mao-pc-goods body .apple-product-description .goods-detail-content blockquote {
        text-align: left !important;
        font-size: 17px !important;
        line-height: 1.78 !important;
        color: #424245 !important;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content h1,
    html.mao-pc-goods body .apple-product-description .goods-detail-content h2,
    html.mao-pc-goods body .apple-product-description .goods-detail-content h3 {
        text-align: left !important;
        color: #1d1d1f !important;
        font-weight: 600 !important;
        letter-spacing: -0.02em;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content h2 {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin: 28px 0 14px !important;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin: 22px 0 10px !important;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content ul,
    html.mao-pc-goods body .apple-product-description .goods-detail-content ol {
        padding-left: 1.25em !important;
        list-style-position: outside !important;
        margin: 0 0 16px !important;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content p {
        margin-bottom: 16px !important;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content th,
    html.mao-pc-goods body .apple-product-description .goods-detail-content td {
        text-align: left !important;
        font-size: 15px !important;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content pre {
        text-align: left !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        padding: 16px 18px !important;
        border-radius: 12px !important;
    }

    html.mao-pc-goods body .apple-product-description .goods-detail-content code {
        font-size: 14px !important;
    }

    /* 详情长图：突破 main gutter，全视口宽度展示 */
    html.mao-pc-goods body .apple-product-description .goods-detail-content img,
    html.mao-pc-goods body .apple-product-description .goods-detail-content video {
        width: var(--mao-desktop-bleed-width) !important;
        max-width: none !important;
        height: auto !important;
        margin-left: var(--mao-desktop-bleed-margin) !important;
        margin-right: var(--mao-desktop-bleed-margin) !important;
        margin-top: 24px !important;
        margin-bottom: 24px !important;
        display: block !important;
        float: none !important;
        border-radius: 0 !important;
        object-fit: cover;
    }

    html.mao-pc-goods body .apple-product-description .apple-media-content video {
        border-radius: var(--mao-desktop-radius);
    }

    /* 结构化 FAQ：全宽卡片式欧美风格 */
    html.mao-pc-goods body .bui-page > main > .goods-page-faq-anchor {
        margin-top: 48px;
        padding: 0 !important;
        background: transparent !important;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-block {
        margin: 0 !important;
        padding: 40px 48px !important;
        background: #ffffff !important;
        border: 1px solid #ececf1 !important;
        border-radius: var(--mao-desktop-radius) !important;
        box-shadow: var(--mao-desktop-shadow) !important;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-block h2 {
        margin: 0 0 24px !important;
        font-size: 28px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        text-align: center !important;
        letter-spacing: -0.02em !important;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-list {
        max-width: none !important;
        margin: 0 !important;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-item {
        margin-bottom: 12px !important;
        border-radius: 14px !important;
        border: 1px solid #ececf1 !important;
        background: #fafafb !important;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-item:last-child {
        margin-bottom: 0 !important;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-item:hover {
        border-color: #d2d2d7 !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-item[open] {
        background: #ffffff !important;
        border-color: #1d1d1f !important;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-item summary {
        padding: 18px 24px !important;
        font-size: 16px !important;
        line-height: 1.45 !important;
        font-weight: 600 !important;
        color: #1d1d1f !important;
        cursor: pointer;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-item summary::-webkit-details-marker {
        display: none;
    }

    html.mao-pc-goods body .goods-page-faq-anchor .mao-goods-faq-item > div {
        padding: 0 24px 20px !important;
        font-size: 15px !important;
        line-height: 1.72 !important;
        color: #424245 !important;
        border-top: 1px solid #ececf1 !important;
    }

    html.mao-pc-goods body .bui-page > main > .apple-product-params {
        margin-top: 32px !important;
        padding: 32px 36px !important;
        border-radius: var(--mao-desktop-radius) !important;
    }

    html.mao-pc-goods body .bui-page > main > .reviews-section {
        margin-top: 32px;
    }

    html.mao-pc-goods body .bui-page > main > .goods-related-products-section {
        margin-top: 48px;
        padding: 0 !important;
    }

    html.mao-pc-goods body .goods-related-products-shell {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html.mao-pc-goods body .goods-related-products-title,
    html.mao-pc-goods body .goods-related-articles-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 28px !important;
    }

    /* 相关商品：3 列大卡片（商品详情页专用，比全站 4/5 列更大） */
    html.mao-pc-goods body .goods-related-products-list.fui-goods-group.block.three,
    html.mao-pc-goods body .goods-related-products-shell .fui-goods-group.block.three {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html.mao-pc-goods body .goods-related-products-shell .fui-goods-item.apple-style-card {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    }

    html.mao-pc-goods body .goods-related-products-shell .fui-goods-item.apple-style-card .image {
        border-radius: 16px 16px 0 0 !important;
        padding-bottom: 72% !important;
    }

    html.mao-pc-goods body .goods-related-products-shell .fui-goods-item.apple-style-card .detail {
        padding: 16px 14px 18px !important;
    }

    html.mao-pc-goods body .goods-related-products-shell .fui-goods-item.apple-style-card .detail .name {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }

    html.mao-pc-goods body .goods-related-products-shell .fui-goods-item.apple-style-card .detail .price .minprice {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    html.mao-pc-goods body .goods-related-products-shell .fui-goods-item.apple-style-card .detail .original-price {
        font-size: 14px !important;
    }

    html.mao-pc-goods body .goods-related-articles-shell {
        max-width: 100% !important;
        width: 100%;
        margin: 0 !important;
    }

    html.mao-pc-goods body .goods-related-articles-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
        margin: 0 !important;
    }

    html.mao-pc-goods body .goods-related-article-card {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        min-height: 220px;
        padding: 24px 22px !important;
        box-sizing: border-box;
    }

    html.mao-pc-goods body .goods-related-article-card-title {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    html.mao-pc-goods body .goods-related-article-card-summary {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    /* ======================================================================
       8. 交易链路：cart / delivery_info(checkout) / order_success /
          order_query / login
       ====================================================================== */

    /* ---- 购物车 cart.php ---- */
    html.mao-pc-cart body .bui-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        background: var(--mao-desktop-bg) !important;
        display: block !important;
        min-height: calc(100vh - var(--mao-desktop-nav-height)) !important;
        overflow: visible !important;
    }

    html.mao-pc-cart body .bui-page > .shared-home-footer {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    html.mao-pc-cart body .cart-main {
        display: block !important;
        width: 100%;
        max-width: none;
        margin: 0 !important;
        padding: 32px var(--mao-desktop-gutter) 64px;
        box-sizing: border-box;
        overflow: visible !important;
        flex: none !important;
    }

    html.mao-pc-cart body .cart-page-title {
        margin-bottom: 24px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    html.mao-pc-cart body .cart-page-title .page-title {
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
        font-weight: 600;
        margin: 0;
        color: var(--mao-desktop-text);
        text-align: left !important;
    }

    html.mao-pc-cart body .cart-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 380px;
        column-gap: 36px;
        align-items: start;
        width: 100%;
        box-sizing: border-box;
    }

    html.mao-pc-cart body .cart-main-column {
        grid-column: 1;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        flex: none !important;
    }

    html.mao-pc-cart body .cart-items {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    html.mao-pc-cart body .cart-item {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        padding: 22px 24px;
        gap: 22px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid #ececf1;
        box-shadow: var(--mao-desktop-shadow);
    }

    html.mao-pc-cart body .cart-item img {
        width: 120px;
        height: 120px;
        border-radius: 14px;
        object-fit: cover;
        flex-shrink: 0;
    }

    html.mao-pc-cart body .cart-item-name {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    html.mao-pc-cart body .cart-item-sku {
        display: inline-block;
        margin-top: 6px;
        padding: 6px 12px;
        font-size: 13px !important;
        line-height: 1.4 !important;
        color: #424245 !important;
        background: #f5f5f7;
        border: 1px solid #e4e4e8;
        border-radius: 999px;
    }

    html.mao-pc-cart body .cart-item-price {
        font-size: 15px !important;
        margin-top: 8px;
    }

    html.mao-pc-cart body .cart-summary {
        grid-column: 2;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        align-self: start;
        position: sticky !important;
        top: calc(var(--mao-desktop-nav-height) + 20px);
        padding: 28px 30px;
        border-radius: var(--mao-desktop-radius);
        margin: 0 !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        background: #ffffff;
        border: 1px solid #ececf1;
        box-shadow: var(--mao-desktop-shadow);
        box-sizing: border-box;
        z-index: auto !important;
        flex-shrink: 0;
    }

    html.mao-pc-cart body .cart-empty {
        width: 100%;
        padding: 80px 40px;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid #ececf1;
        box-shadow: var(--mao-desktop-shadow);
        box-sizing: border-box;
    }

    html.mao-pc-cart body .cart-empty h2 {
        font-size: 28px;
    }

    html.mao-pc-cart body .cart-item-actions {
        align-items: flex-end;
    }

    html.mao-pc-cart body .cart-summary .primary-btn {
        background: #1d1d1f;
        box-shadow: 0 4px 14px rgba(29, 29, 31, 0.35);
    }

    html.mao-pc-cart body .cart-summary .secondary-btn {
        color: #1d1d1f;
        border-color: #d2d2d7;
    }

    @media (min-width: 1440px) {
        html.mao-pc-cart body .cart-main {
            padding-left: max(var(--mao-desktop-gutter), calc((100vw - 1560px) / 2 + var(--mao-desktop-gutter)));
            padding-right: max(var(--mao-desktop-gutter), calc((100vw - 1560px) / 2 + var(--mao-desktop-gutter)));
        }
    }

    /* ---- 结账页 delivery_info.php ---- */
    html.mao-pc-checkout body .bui-page {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-checkout body .bui-page > main {
        display: block !important;
        width: 100%;
        max-width: none;
        margin: 0 !important;
        padding: 32px var(--mao-desktop-gutter) 64px;
        box-sizing: border-box;
        overflow: visible !important;
    }

    html.mao-pc-checkout body main {
        max-width: none !important;
        width: 100% !important;
    }

    html.mao-pc-checkout body .page-title-wrapper {
        margin-bottom: 24px;
    }

    html.mao-pc-checkout body .page-title-wrapper .page-title {
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
    }

    html.mao-pc-checkout body .cart-review-card {
        border-radius: 16px;
        background: #ffffff;
        border: 1px solid #ececf1;
        box-shadow: var(--mao-desktop-shadow);
        padding: 22px 24px;
        margin-bottom: 24px;
    }

    html.mao-pc-checkout body #deliveryForm {
        background: #ffffff;
        border: 1px solid #ececf1;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        padding: 28px 30px;
        box-sizing: border-box;
    }

    html.mao-pc-checkout body #deliveryForm .field-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 20px;
        margin-bottom: 4px;
    }

    html.mao-pc-checkout body #deliveryForm .fui-cell-group {
        margin-top: 8px;
    }

    html.mao-pc-checkout body #deliveryForm .fui-cell {
        margin-bottom: 14px;
    }

    html.mao-pc-checkout body #deliveryForm .fui-cell-label {
        font-size: 13px;
        font-weight: 600;
        color: var(--mao-desktop-muted);
        letter-spacing: 0.04em;
        margin-bottom: 8px;
    }

    html.mao-pc-checkout body #deliveryForm input,
    html.mao-pc-checkout body #deliveryForm select {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        border: 1px solid #d2d2d7;
        border-radius: 12px;
        font-size: 15px;
        box-sizing: border-box;
        background: #ffffff;
        transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

    html.mao-pc-checkout body #deliveryForm input:focus,
    html.mao-pc-checkout body #deliveryForm select:focus {
        outline: none;
        border-color: #000000;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }

    html.mao-pc-checkout body .checkout-section-title {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--mao-desktop-muted);
        margin: 24px 0 14px;
    }

    html.mao-pc-checkout body .payment-method-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    html.mao-pc-checkout body .payment-method-card {
        border-radius: 14px !important;
    }

    html.mao-pc-checkout body .submit-btn-container {
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    html.mao-pc-checkout body .bui-list,
    html.mao-pc-checkout body .form-group-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 20px;
    }

    html.mao-pc-checkout body .form-group-full,
    html.mao-pc-checkout body .bui-list .bui-btn-block,
    html.mao-pc-checkout body .submit-btn-container {
        grid-column: 1 / -1;
    }

    @media (min-width: 1280px) {
        html.mao-pc-checkout body .bui-page > main {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr) 380px;
            column-gap: 36px;
            align-items: start;
        }

        html.mao-pc-checkout body .page-title-wrapper {
            grid-column: 1 / -1;
        }

        html.mao-pc-checkout body .cart-review-card {
            grid-column: 2;
            grid-row: 2;
            position: sticky;
            top: calc(var(--mao-desktop-nav-height) + 20px);
            margin-bottom: 0 !important;
            align-self: start;
        }

        html.mao-pc-checkout body .checkout-payment-panel {
            grid-column: 1;
            grid-row: 2;
            margin: 0 !important;
            align-self: start;
        }

        html.mao-pc-checkout body .payment-order-summary {
            grid-column: 2;
            grid-row: 2;
            position: sticky;
            top: calc(var(--mao-desktop-nav-height) + 20px);
            margin: 0 !important;
            align-self: start;
        }

        html.mao-pc-checkout body #deliveryForm {
            grid-column: 1;
            grid-row: 2;
        }
    }

    /* ---- 在线支付 credit_card_pay.php ---- */
    html.mao-pc-checkout body .checkout-payment-panel {
        background: #ffffff;
        border: 1px solid #ececf1;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        padding: 28px 30px;
        box-sizing: border-box;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    html.mao-pc-checkout body .payment-order-summary .payment-order-intro {
        font-size: 14px;
        color: var(--mao-desktop-muted);
        line-height: 1.55;
        margin-bottom: 14px;
    }

    html.mao-pc-checkout body .checkout-payment-panel #card-element {
        min-height: 240px;
        border: 1px solid #e5e5ea;
        border-radius: 14px;
        padding: 16px;
        background: #fafafc;
    }

    html.mao-pc-checkout body .checkout-payment-panel .pay-btn {
        margin-top: 22px;
        height: 50px;
        border-radius: 12px;
        font-size: 17px;
        font-weight: 600;
        letter-spacing: -0.022em;
    }

    html.mao-pc-checkout body .checkout-payment-panel .secure-note {
        margin-top: 16px;
        font-size: 13px;
        color: var(--mao-desktop-muted);
        text-align: center;
        line-height: 1.55;
    }

    /* ---- 支付确认中 payment_processing.php ---- */
    html.mao-pc-ordersuccess body .payment-processing-page {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    html.mao-pc-ordersuccess body .payment-processing-content {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 880px !important;
        margin: 0 auto !important;
        padding: 48px var(--mao-desktop-gutter) 72px !important;
        box-sizing: border-box;
    }

    html.mao-pc-ordersuccess body .payment-processing-content .page-title-wrapper {
        margin-bottom: 24px;
        padding-left: 0;
        padding-right: 0;
    }

    html.mao-pc-ordersuccess body .payment-processing-content .page-title {
        font-size: 34px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.02em !important;
    }

    html.mao-pc-ordersuccess body .payment-processing-content .processing-card {
        background: #ffffff;
        border: 1px solid #ececf1;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        padding: 36px 32px;
        margin: 0 !important;
    }

    html.mao-pc-ordersuccess body .payment-processing-content .processing-meta {
        background: #f5f5f7;
        border-color: #ececf1;
    }

    html.mao-pc-ordersuccess body .payment-processing-content .processing-actions {
        display: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    html.mao-pc-ordersuccess body .payment-processing-content .processing-actions.is-visible {
        display: flex;
    }

    html.mao-pc-ordersuccess body .payment-processing-content .processing-btn {
        width: auto;
        min-width: 220px;
        flex: 0 1 auto;
    }

    /* ---- 下单成功页 order_success.php ---- */
    html.mao-pc-ordersuccess body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-ordersuccess body .fui-page-group,
    html.mao-pc-ordersuccess body .fui-page,
    html.mao-pc-ordersuccess body .fui-content {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        background: transparent !important;
    }

    html.mao-pc-ordersuccess body .fui-page.order-success-page {
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* 居中单栏主内容区 — 避免左右双栏高度失衡 */
    html.mao-pc-ordersuccess body .fui-content.navbar {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 880px !important;
        margin: 0 auto !important;
        padding: 48px var(--mao-desktop-gutter) 72px !important;
        box-sizing: border-box;
    }

    html.mao-pc-ordersuccess body .fui-content.navbar > * {
        width: 100%;
        max-width: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* 顶部状态说明 */
    html.mao-pc-ordersuccess body .fui-content.navbar > .thank-you-message {
        margin: 0 0 32px !important;
        padding: 36px 40px !important;
        background: #ffffff;
        border: 1px solid #ececf1;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        text-align: center;
    }

    html.mao-pc-ordersuccess body .thank-you-message-title {
        font-size: 34px !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
        letter-spacing: -0.025em !important;
        color: #1d1d1f !important;
    }

    html.mao-pc-ordersuccess body .thank-you-message-note {
        margin-top: 12px !important;
        font-size: 17px !important;
        line-height: 1.65 !important;
        font-weight: 400 !important;
        color: #424245 !important;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    html.mao-pc-ordersuccess body .thank-you-message .success-checkmark {
        font-size: 24px !important;
    }

    /* 订单摘要卡片 */
    html.mao-pc-ordersuccess body .order-success-order-group {
        width: 100% !important;
        margin: 0 0 36px !important;
        padding: 0 !important;
        background: #ffffff !important;
        border: 1px solid #ececf1 !important;
        border-radius: var(--mao-desktop-radius) !important;
        box-shadow: var(--mao-desktop-shadow) !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    html.mao-pc-ordersuccess body .order-success-order-group::before {
        content: "Order Summary";
        display: block;
        padding: 24px 32px 16px;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: -0.02em;
        color: #1d1d1f;
        border-bottom: 1px solid #ececf1;
    }

    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell {
        padding: 14px 32px !important;
        align-items: center;
        border-bottom: 1px solid #ececf1 !important;
    }

    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell:last-child {
        border-bottom: none !important;
    }

    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell-label {
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--mao-desktop-muted) !important;
        min-width: 120px !important;
        margin-right: 16px !important;
    }

    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell-info,
    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell-info span {
        font-size: 17px !important;
        line-height: 1.45 !important;
        text-align: right !important;
        color: #1d1d1f !important;
    }

    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell[style*="border-top"] {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        border-top: 2px solid #d2d2d7 !important;
        background: #fafafa;
    }

    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell[style*="border-top"] .fui-cell-label,
    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell[style*="border-top"] .fui-cell-info span {
        font-size: 22px !important;
        font-weight: 600 !important;
        text-transform: none !important;
        letter-spacing: -0.02em !important;
        color: #1d1d1f !important;
    }

    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell-info.product-name-info,
    html.mao-pc-ordersuccess body .order-success-order-group .fui-cell-info.product-name-info span {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    /* 配送信息：标题与下方卡片视觉合并 */
    html.mao-pc-ordersuccess body .order-success-section-title {
        background: #ffffff;
        border: 1px solid #ececf1;
        border-bottom: none;
        border-radius: var(--mao-desktop-radius) var(--mao-desktop-radius) 0 0;
        padding: 24px 32px 4px !important;
        margin: 0 !important;
        font-size: 22px !important;
        font-weight: 600 !important;
        letter-spacing: -0.02em !important;
        text-align: left !important;
        color: #1d1d1f !important;
    }

    html.mao-pc-ordersuccess body .order-success-section-title + .order-success-shipping-group {
        margin-top: 0 !important;
    }

    html.mao-pc-ordersuccess body .order-success-shipping-group {
        width: 100% !important;
        margin: 0 0 0 !important;
        padding: 20px 32px 32px !important;
        background: #ffffff !important;
        border: 1px solid #ececf1 !important;
        border-top: none !important;
        border-radius: 0 0 var(--mao-desktop-radius) var(--mao-desktop-radius) !important;
        box-shadow: var(--mao-desktop-shadow) !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 32px;
        box-sizing: border-box;
    }

    html.mao-pc-ordersuccess body .order-success-shipping-group > .fui-cell {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        min-height: 0 !important;
        gap: 6px;
    }

    html.mao-pc-ordersuccess body .order-success-shipping-group > .fui-cell .fui-cell-label {
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--mao-desktop-muted) !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    html.mao-pc-ordersuccess body .order-success-shipping-group > .fui-cell .fui-cell-info,
    html.mao-pc-ordersuccess body .order-success-shipping-group > .fui-cell .fui-cell-info span {
        font-size: 17px !important;
        line-height: 1.45 !important;
        text-align: left !important;
        color: #1d1d1f !important;
        word-break: break-word;
    }

    html.mao-pc-ordersuccess body .order-success-shipping-group > .fui-cell.order-success-field-full,
    html.mao-pc-ordersuccess body .fui-cell.store-address-cell {
        max-height: none !important;
        grid-column: 1 / -1;
    }

    html.mao-pc-ordersuccess body .fui-cell-info.store-address-info {
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
        text-align: left !important;
    }

    /* 购物车订单回顾 */
    html.mao-pc-ordersuccess body .order-success-order-group .cart-review-card {
        margin: 0 !important;
        padding: 16px 32px !important;
        background: #f5f5f7 !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #ececf1 !important;
    }

    html.mao-pc-ordersuccess body .cart-review-item {
        padding: 12px 0 !important;
        font-size: 17px !important;
    }

    html.mao-pc-ordersuccess body .cart-review-name {
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    html.mao-pc-ordersuccess body .cart-review-sku {
        font-size: 14px !important;
        margin-top: 4px !important;
    }

    html.mao-pc-ordersuccess body .cart-review-item > div:last-child {
        font-size: 17px !important;
        font-weight: 600 !important;
        min-width: 80px;
    }

    html.mao-pc-ordersuccess body .line-invite-block .line-invite-title {
        font-size: 18px !important;
    }

    html.mao-pc-ordersuccess body .line-invite-block .line-invite-subtitle {
        font-size: 15px !important;
    }

    /* 返回店铺 — 独立于配送卡片下方 */
    html.mao-pc-ordersuccess body .order-success-shipping-group > .submit-btn-container {
        grid-column: 1 / -1;
        max-width: none !important;
        padding: 28px 0 0 !important;
        margin: 0 !important;
        border-top: 1px solid #ececf1;
        margin-top: 8px !important;
    }

    html.mao-pc-ordersuccess body .btn-submit {
        height: 56px !important;
        line-height: 56px !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        border-radius: 14px !important;
    }

    html.mao-pc-ordersuccess body .fui-content.navbar > *:last-child {
        margin-bottom: 0 !important;
    }

    @media (min-width: 1280px) {
        html.mao-pc-ordersuccess body .fui-content.navbar {
            max-width: 960px !important;
        }

        html.mao-pc-ordersuccess body .order-success-shipping-group {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px 36px;
        }
    }

    /* ---- 订单查询页 order_query.php ---- */
    html.mao-pc-orderquery body .order-query-main {
        width: 100%;
        box-sizing: border-box;
        padding: 36px var(--mao-desktop-gutter) 64px;
        background: var(--mao-desktop-bg);
    }

    html.mao-pc-orderquery body .query-container {
        width: 100%;
        max-width: none;
        margin: 0;
        box-sizing: border-box;
        padding: 0;
    }

    html.mao-pc-orderquery body .query-card {
        border: 1px solid #ececf1;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        padding: 36px 40px;
    }

    html.mao-pc-orderquery body .query-title {
        font-size: 32px !important;
        letter-spacing: -0.02em;
    }

    html.mao-pc-orderquery body .query-form input {
        min-height: 48px;
        border-radius: 12px;
        font-size: 15px;
    }

    html.mao-pc-orderquery body .query-form input:focus {
        border-color: #000000;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }

    html.mao-pc-orderquery body .query-form button {
        min-height: 52px;
        background: #1d1d1f !important;
        border-radius: 12px !important;
        font-size: 16px !important;
    }

    html.mao-pc-orderquery body .query-form button:hover {
        background: #2c2c2e !important;
    }

    /* ---- 登录/注册页 login.php ---- */
    html.mao-pc-login body {
        display: block !important;
        height: auto !important;
        min-height: 100vh !important;
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-login body .login-bui-page {
        min-height: 100vh;
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-login body .login-page-main {
        padding: 48px 16px 96px;
    }

    html.mao-pc-login body .login-container {
        max-width: 440px;
        margin: 72px auto 96px;
        padding: 44px 40px;
        box-shadow: var(--mao-desktop-shadow) !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    /* ======================================================================
       9. 内容页：about / faq / contact / support / blog
       ====================================================================== */

    /* ---- About：全宽白底铺屏（避免卡片圆角/上下边距露出灰色条） ---- */
    html.mao-pc-about body,
    html.mao-pc-about body .bui-page,
    html.mao-pc-about body main {
        background: #ffffff !important;
    }

    html.mao-pc-about body .about-page-wrap {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 32px var(--mao-desktop-gutter) 48px !important;
        box-sizing: border-box;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    /* ---- Support：全宽铺屏 + 内容区居中卡片 ---- */
    html.mao-pc-support body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-support body .support-page-wrap {
        width: 100% !important;
        max-width: none !important;
        margin: 40px 0 64px !important;
        padding: 48px var(--mao-desktop-gutter) 56px !important;
        box-sizing: border-box;
        background: #ffffff;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        border: 1px solid #ececf1;
    }

    html.mao-pc-about body .about-title,
    html.mao-pc-support body .support-title {
        font-size: 34px !important;
        line-height: 1.2 !important;
        padding: 16px 0 18px !important;
    }

    html.mao-pc-about body .about-content,
    html.mao-pc-support body .support-content {
        font-size: 16px !important;
        line-height: 1.8 !important;
    }

    /* About 正文限宽居中：全宽白底下保持可读行长 */
    html.mao-pc-about body .about-title,
    html.mao-pc-about body .about-content,
    html.mao-pc-about body .about-blocks {
        max-width: 860px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html.mao-pc-about body .about-content h2 {
        font-size: 22px !important;
        margin: 36px 0 14px !important;
        padding-top: 26px !important;
    }

    html.mao-pc-about body .about-content > h2:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    html.mao-pc-about body .about-block-title {
        font-size: 22px !important;
        margin-bottom: 14px !important;
    }

    html.mao-pc-about body .about-blocks {
        gap: 36px !important;
    }

    html.mao-pc-about body .about-block + .about-block {
        padding-top: 32px !important;
    }

    html.mao-pc-about body .about-block-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 16px !important;
    }

    /* ---- FAQ ---- */
    html.mao-pc-faq body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-faq body .faq-page-wrap {
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 40px var(--mao-desktop-gutter) 72px !important;
        background: #ffffff;
        border-radius: var(--mao-desktop-radius);
        box-shadow: var(--mao-desktop-shadow);
        border: 1px solid #ececf1;
        box-sizing: border-box;
    }

    html.mao-pc-faq body .faq-title {
        font-size: 34px !important;
    }

    html.mao-pc-faq body .faq-subtitle {
        font-size: 15px !important;
        max-width: 720px !important;
    }

    html.mao-pc-faq body .faq-group {
        margin-top: 20px !important;
    }

    html.mao-pc-faq body .faq-group-title {
        padding: 26px 30px 10px !important;
        font-size: 22px !important;
    }

    html.mao-pc-faq body .faq-accordion {
        padding: 0 22px 20px !important;
    }

    html.mao-pc-faq body .faq-item summary {
        font-size: 16px !important;
        padding: 18px 10px !important;
    }

    /* ---- Contact：全宽白底 + 标题/正文居中 ---- */
    html.mao-pc-contact body,
    html.mao-pc-contact body .bui-page {
        background: #ffffff !important;
    }

    html.mao-pc-contact body .contact-page-wrap {
        width: 100% !important;
        max-width: 880px !important;
        margin: 0 auto !important;
        padding: 48px var(--mao-desktop-gutter) 72px !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
        box-sizing: border-box;
        text-align: center !important;
    }

    html.mao-pc-contact body .contact-hero {
        text-align: center !important;
    }

    html.mao-pc-contact body .contact-title {
        font-size: 34px !important;
        text-align: center !important;
    }

    html.mao-pc-contact body .contact-subtitle {
        font-size: 15px !important;
        max-width: 720px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    html.mao-pc-contact body .contact-card,
    html.mao-pc-contact body .contact-empty {
        max-width: 720px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    html.mao-pc-contact body .contact-card {
        margin-top: 28px !important;
        padding: 32px 36px 30px !important;
    }

    html.mao-pc-contact body .contact-email-row {
        font-size: 17px !important;
        text-align: center !important;
    }

    /* ---- 博客目录 blog/index.php ---- */
    html.mao-pc-blogindex body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-blogindex body .blog-shell {
        width: 100%;
    }

    html.mao-pc-blogindex body .container {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 16px var(--mao-desktop-gutter) 64px;
        box-sizing: border-box;
    }

    html.mao-pc-blogindex body .page-title {
        font-size: 36px;
        margin: 36px 0 18px;
    }

    /* 目录清单升级为卡片网格（2 列） */
    html.mao-pc-blogindex body .toc {
        padding: 28px 30px;
    }

    html.mao-pc-blogindex body .toc h2 {
        font-size: 24px;
    }

    html.mao-pc-blogindex body .toc ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 22px;
        list-style: none;
        margin: 14px 0 0;
        padding: 0;
    }

    html.mao-pc-blogindex body .toc ul li {
        margin: 0;
        padding: 0;
    }

    html.mao-pc-blogindex body .toc ul li a {
        display: block;
        padding: 14px 18px;
        border-radius: 14px;
        background: #f8f8fa !important;
        border: 1px solid #ececf1 !important;
        color: #111827 !important;
        font-size: 15px;
        line-height: 1.5;
        transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    }

    html.mao-pc-blogindex body .toc ul li a:hover {
        background: #ffffff !important;
        color: #000000 !important;
        transform: translateY(-2px);
        box-shadow: var(--mao-desktop-shadow);
    }

    html.mao-pc-blogindex body .article-card {
        padding: 26px 30px;
        font-size: 15px;
        line-height: 1.8;
    }

    /* ---- 博客文章 blog/article.php：760px 可读列 ---- */
    html.mao-pc-article body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-article body .wrap {
        max-width: none !important;
        width: 100% !important;
        margin: 0;
        padding: 20px var(--mao-desktop-gutter) 64px !important;
        box-sizing: border-box;
    }

    html.mao-pc-article body .wrap .title,
    html.mao-pc-article body .wrap h1.title {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    html.mao-pc-article body .wrap .content {
        font-size: 16px !important;
        line-height: 1.85 !important;
    }

    html.mao-pc-article body .wrap .content,
    html.mao-pc-article body .wrap .content > div {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #111827 !important;
        background: #ffffff;
        border-radius: var(--mao-desktop-radius);
        padding: 36px 40px !important;
        box-shadow: var(--mao-desktop-shadow);
        border: 1px solid #ececf1;
    }

    html.mao-pc-article body .wrap .content img {
        max-width: 100%;
        height: auto;
        border-radius: 14px;
    }

    html.mao-pc-article body .wrap .content p,
    html.mao-pc-article body .wrap .content li,
    html.mao-pc-article body .wrap .content div,
    html.mao-pc-article body .wrap .content span,
    html.mao-pc-article body .wrap .content h1,
    html.mao-pc-article body .wrap .content h2,
    html.mao-pc-article body .wrap .content h3,
    html.mao-pc-article body .wrap .content h4 {
        color: #111827 !important;
    }

    html.mao-pc-article body .goods-related-articles-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 24px !important;
    }

    html.mao-pc-article body .goods-related-article-card {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        min-height: 220px;
        padding: 24px 22px !important;
        box-sizing: border-box;
    }

    html.mao-pc-article body .goods-related-article-card-title {
        font-size: 17px !important;
        line-height: 1.4 !important;
    }

    html.mao-pc-article body .goods-related-article-card-summary {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    /* ---- 静态博客 layout.php（html.mao-pc-bloglayout）---- */
    html.mao-pc-bloglayout body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-bloglayout body .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 24px var(--mao-desktop-gutter) 72px !important;
        box-sizing: border-box;
    }

    html.mao-pc-bloglayout body .page-title {
        font-size: 36px !important;
        line-height: 1.2 !important;
        margin: 32px 0 16px !important;
    }

    html.mao-pc-bloglayout body .article-card,
    html.mao-pc-bloglayout body .content {
        padding: 32px 36px !important;
        font-size: 16px !important;
        line-height: 1.85 !important;
        color: #111827 !important;
    }

    html.mao-pc-bloglayout body .toc ul li a {
        color: #111827 !important;
        background: #f8f8fa !important;
        border: 1px solid #ececf1 !important;
    }

    /* ======================================================================
       10. 用户中心：profile + 旧 fui 订单/工单页
       ====================================================================== */

    /* ---- user/profile.php：960px 容器 ---- */
    html.mao-pc-profile body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-profile body .profile-bui-page {
        min-height: 100vh;
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-profile body .sidebar {
        padding: 0 var(--mao-desktop-gutter);
        top: var(--mao-desktop-nav-height);
    }

    html.mao-pc-profile body .sidebar-menu {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    html.mao-pc-profile body .container {
        max-width: none !important;
        width: 100% !important;
        padding: 24px var(--mao-desktop-gutter) 48px !important;
        box-sizing: border-box;
    }

    html.mao-pc-profile body .profile-section {
        border-radius: 16px !important;
        padding: 24px 28px !important;
        box-shadow: var(--mao-desktop-shadow) !important;
    }

    /* ---- 旧 fui 框架页（user/index, feedback, pass, add_gd）：720px 居中 ---- */
    html.mao-pc-userfui body {
        background: var(--mao-desktop-bg) !important;
    }

    html.mao-pc-userfui body .fui-header {
        display: none !important;
    }

    html.mao-pc-userfui body .fui-page-group {
        position: relative !important;
        width: 100% !important;
        max-width: 820px !important;
        margin: 24px auto 0 !important;
        min-height: calc(100vh - var(--mao-desktop-nav-height) - 24px);
        background: #ffffff;
        box-shadow: var(--mao-desktop-shadow);
        border-radius: 18px 18px 0 0;
        overflow: hidden;
    }

    /* fui-page 绝对定位会以 fui-page-group 为定位上下文，自然被限制在 720px 内 */
    html.mao-pc-userfui body .fui-page {
        max-width: 720px !important;
    }

    /* 底部 tab 导航：从全屏 fixed 收窄为 720px 居中 */
    html.mao-pc-userfui body .fui-navbar {
        width: 100% !important;
        max-width: 820px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        margin: 0 !important;
        border-radius: 0 0 18px 18px;
        overflow: hidden;
    }

    /* 内容页 bui-page / main：解除手机窄栏 */
    html.mao-pc-contact body .bui-page,
    html.mao-pc-faq body .bui-page,
    html.mao-pc-about body .bui-page,
    html.mao-pc-about body main,
    html.mao-pc-support body .bui-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    html.mao-pc-contact body .contact-page-wrap,
    html.mao-pc-faq body .faq-page-wrap {
        width: 100% !important;
    }

    html.mao-pc-faq body .faq-page-wrap {
        max-width: none !important;
    }

    /* 超宽屏：商品网格 5 列，更好利用横向空间（商品详情相关商品保持 3 列大卡片） */
    @media (min-width: 1500px) {
        html body .fui-goods-group.block.three {
            grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        }

        html.mao-pc-goods body .goods-related-products-list.fui-goods-group.block.three,
        html.mao-pc-goods body .goods-related-products-shell .fui-goods-group.block.three {
            grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
            gap: 32px !important;
        }
    }

    /* ======================================================================
       11. 平板档 1024–1279px：商品 3 列 + 导航收紧
       ====================================================================== */
    @media (min-width: 1024px) and (max-width: 1279px) {
        html body .fui-goods-group.block.three {
            grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        }

        html.mao-pc-goods body .goods-related-products-list.fui-goods-group.block.three,
        html.mao-pc-goods body .goods-related-products-shell .fui-goods-group.block.three {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 24px !important;
        }

        html.mao-pc-home body #home-best-sellers-grid.fui-goods-group.block.three {
            grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        }

        html body .mao-desktop-nav-inner {
            gap: 12px;
            padding: 0 20px;
        }

        html body .mao-desktop-links .mao-desktop-link {
            padding: 7px 10px;
            font-size: 13px;
        }

        html.mao-pc-goods body .bui-page > main {
            column-gap: 32px;
            padding: 20px var(--mao-desktop-gutter) 48px;
        }

        html.mao-pc-goods body .goods-related-articles-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        }
    }

    /* Contact / FAQ 页底黑底 footer：全幅贴边 */
    html.mao-pc-contact body > div[style*="background: #000000"],
    html.mao-pc-contact body > div[style*="background:#000000"],
    html.mao-pc-faq body > div[style*="background: #000000"],
    html.mao-pc-faq body > div[style*="background:#000000"] {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
        padding: 56px var(--mao-desktop-gutter) 48px !important;
        box-sizing: border-box !important;
    }

    html.mao-pc-contact body > div[style*="background: #000000"] > details,
    html.mao-pc-contact body > div[style*="background:#000000"] > details,
    html.mao-pc-contact body > div[style*="background: #000000"] > div,
    html.mao-pc-contact body > div[style*="background:#000000"] > div,
    html.mao-pc-faq body > div[style*="background: #000000"] > details,
    html.mao-pc-faq body > div[style*="background:#000000"] > details,
    html.mao-pc-faq body > div[style*="background: #000000"] > div,
    html.mao-pc-faq body > div[style*="background:#000000"] > div {
        width: 100%;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* 桌面端浮动联系按钮：缩小并贴右下角 */
    html body .line-float-button {
        right: 20px !important;
        bottom: 20px !important;
        z-index: 1200 !important;
    }

    html body .line-float-button .line-button {
        width: 52px !important;
        height: 52px !important;
    }

    html.mao-pc-goods body .bui-page > main > hr {
        display: none;
    }

    /* 通用滚动条美化（仅桌面） */
    html body ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    html body ::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.22);
        border-radius: 999px;
        border: 2px solid transparent;
        background-clip: content-box;
    }

    html body ::-webkit-scrollbar-track {
        background: transparent;
    }

}
