   /* 新增禁止文本选择样式 */
        * {
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }

        :root {
            --primary-color: #2563eb;
            --hover-color: #1d4ed8;
        }

        body {
            margin: 0;
            padding: 0;
            padding-top: 72px;
            height: 100vh;
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            background: #f8fafc;
        }

        iframe {
            border: none;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            transition: width 0.3s ease, height 0.3s ease;
        }

        /* 客服容器 */
        .chat-container {
            position: fixed;
            right: 2rem;
            bottom: 29rem;
            z-index: 999;
            opacity: 0;
            animation: fadeIn 0.5s ease-in-out forwards;
        }

        /* 客服按钮 */
        .chat-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
            color: white;
            width: 56px;
            height: 56px;
            border-radius: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        /* 二维码弹窗 */
        .qrcode-popup {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(8px);
            padding: 1.5rem;
            border-radius: 1.5rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            position: absolute;
            right: calc(100% + 20px);
            transform-origin: right bottom;
            pointer-events: none;
            min-width: 260px;
        }

        .chat-btn:hover .qrcode-popup {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .qrcode-popup img {
            width: 240px;
            height: 240px;
            border-radius: 0.75rem;
            display: block;
            border: 1px solid rgba(0, 0, 0, 0.05);
            background: white;
            padding: 8px;
        }

        /* 导航栏 */
        header {
            background: linear-gradient(135deg, #1e293b, #0f172a);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            height: 72px;
            opacity: 0;
            animation: fadeIn 0.5s ease-in-out forwards;
        }

        .logo {
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: translateX(4px);
        }

        .logo img {
            transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        }

        .logo:hover img {
            transform: scale(1.1) rotate(-5deg);
        }

        /* 切换按钮样式 */
        .toggle-btn {
            background-color: var(--primary-color);
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            opacity: 0;
            animation: fadeIn 0.5s ease-in-out 0.2s forwards;
        }

        .toggle-btn:hover {
            background-color: var(--hover-color);
        }
        
          /* 切换按钮样式 */
        .toggle-cj {
            background-color: var(--primary-color);
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            opacity: 0;
            animation: fadeIn 0.5s ease-in-out 0.2s forwards;
        }

        .toggle-cj:hover {
            background-color: var(--hover-color);
        }

        /* 移动端适配 */
        @media (max-width: 767px) {
            .chat-container {
                display: none !important;
                right: 1rem;
                bottom: 1rem;
            }

            .qrcode-popup {
                right: calc(100% + 12px);
                padding: 1rem;
                min-width: 200px;
            }

            .qrcode-popup img {
                width: 180px;
                height: 180px;
            }

            /* 移动端隐藏切换按钮 */
            .toggle-btn {
                display: none !important;
            }
            
               /* 移动端隐藏切换按钮 */
            .toggle-cj {
                display: none !important;
            }

            /* 隐藏手机插件按钮（假设是.nav-qrcode-btn） */
            .nav-qrcode-btn {
                display: none !important;
            }

            /* 移动端居中样式 */
            .mobile-center {
                display: flex;
                justify-content: center;
                align-items: center;
                height: calc(100vh - 72px);
            }

            /* 优化移动端导航样式 */
            header {
                height: auto;
                padding: 8px 0;
            }

            .container {
                flex-direction: column;
                align-items: center;
            }

            .logo {
                margin-bottom: 8px;
            }

            .logo img {
                height: 24px;
            }

            .logo div span {
                font-size: 16px;
            }

            .logo div .text-xs {
                font-size: 12px;
            }

            .nav-qrcode-btn {
                padding: 8px 12px;
                font-size: 12px;
            }

            /* 确保iframe在移动端居中 */
            #iframe-container {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 100%;
            }

            #content-iframe {
                width: 375px;
                max-width: 100%;
                height: calc(100vh - 72px);
            }
        }

  /* 新增全局居中样式 */
    .mobile-center {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 20px;
    }

    @media (max-width: 767px) {
        /* 移除原媒体查询中的mobile-center定义 */
        /* 优化移动端iframe尺寸 */
        #content-iframe {
            width: 100% !important;
            max-width: 375px;
            height: 667px !important;
            border-radius: 16px;
            overflow: hidden;
        }
    }
    
    /* 防止内容溢出 */
#content-iframe {
    overflow: hidden;
    box-sizing: border-box;
}

/* 移动端滚动优化 */
@media (max-width: 767px) {
    .mobile-center {
        overflow-y: auto;
        padding: 20px 10px;
    }
}
        /* 淡入动画 */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* 导航栏二维码样式 */
        .nav-qrcode-btn {
            background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
            color: white;
            width: auto;
            padding: 0 12px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.1);
            position: relative;
        }

        .nav-qrcode-btn i {
            margin-left: 8px;
        }

        /* 优化二维码弹窗布局 */
        .nav-qrcode-popup {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(8px);
            padding: 1.5rem;
            border-radius: 1.5rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            opacity: 0;
            transform: translateY(20px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            transform-origin: right top;
            pointer-events: none;
            min-width: 210px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .nav-qrcode-btn:hover .nav-qrcode-popup {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* 二维码提示文字样式 */
        .nav-qrcode-popup p {
            margin-top: 12px;
            font-size: 14px;
            color: #333;
        }
               @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

       .animate-fadeIn {
            animation: fadeIn 0.8s ease-out forwards;
        }
               .min-h-screen {
            max-height: 100%;
            overflow-y: auto;
        }

       .ys_contjuz {
            max-height: 100vh;
            box-sizing: border-box;
        }


/*优惠卷样式*/

        .coupon-section {
            margin: 10px 0;
            border: 1px solid #f0f0f0;
            border-radius: 6px;
            overflow: hidden;
        }
        
        .coupon-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 15px;
            background-color: #f9f9f9;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .coupon-toggle:hover {
            background-color: #f0f0f0;
        }
        
        .coupon-toggle span:first-child {
            font-size: 14px;
            color: #333;
        }
        
        .toggle-icon {
            font-size: 12px;
            color: #666;
            transition: transform 0.3s ease;
        }
        
        .toggle-icon.active {
            transform: rotate(180deg);
        }
        
        .coupon-list {
            max-height: 300px;
            overflow-y: auto;
            background-color: #fff;
        }
        
        .coupon-item {
            display: flex;
            padding: 10px;
            border-bottom: 1px solid #f5f5f5;
            align-items: center;
        }
        
        .coupon-item:last-child {
            border-bottom: none;
        }
        
        .coupon-select {
            margin-right: 10px;
            display: flex;
            align-items: center;
        }
        
        .coupon-select input[type="radio"] {
            transform: scale(1.1);
            cursor: pointer;
        }
        
        .coupon-content {
            flex: 1;
            display: flex;
            align-items: center;
        }
        
        .coupon-left {
            width: 100px;
            padding: 8px 12px;
            color: #fff;
            text-align: center;
            border-radius: 4px;
            margin-right: 10px;
        }
        
        .coupon-price {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 2px;
        }
        
        .coupon-price span:first-child {
            font-size: 12px;
        }
        
        .coupon-condition {
            font-size: 10px;
            opacity: 0.9;
        }
        
        .coupon-right {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .coupon-name {
            font-size: 13px;
            font-weight: bold;
            color: #333;
            margin-bottom: 2px;
        }
        
        .coupon-info {
            font-size: 10px;
            color: #666;
            margin-bottom: 6px;
        }
        
        .coupon-btn {
            align-self: flex-start;
            padding: 4px 12px;
            border: 1px solid #ff4444;
            border-radius: 12px;
            background-color: #fff;
            color: #ff4444;
            font-size: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .coupon-btn:hover {
            background-color: #ff4444;
            color: #fff;
        }
        
        .coupon-btn.disabled {
            border-color: #ccc;
            color: #ccc;
            cursor: not-allowed;
        }
        
        .coupon-btn.disabled:hover {
            background-color: #fff;
        }
        
        /* 最终价格样式 */
        .final-price {
            margin-top: 10px;
            padding: 8px;
            background-color: #fff3f3;
            border-radius: 4px;
            border-left: 3px solid #ff4444;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .final-price span:first-child {
            font-size: 14px;
            font-weight: bold;
            color: #ff4444;
        }
        
        .coupon-desc {
            font-size: 10px;
            color: #666;
        }
     