<style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #f8f9fa;
            min-height: 100vh;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            color: #2d3436;
        }

        /* ✅ 整个 APP 居中 */
        #app {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* 商品详情容器 */
        .product-detail-container {
            width: 100%;
            max-width: 1280px;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            margin-bottom: 40px;
            display: flex;
            flex-wrap: wrap;
        }

        /* 左侧图片区域 */
        .product-images {
            flex: 1 1 480px;
            min-width: 360px;
            display: flex;
            padding: 20px;
        }

        .main-img {
            width: 70%;
            height: 380px;
            border-radius: 12px;
            object-fit: cover;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        /* 缩略图竖排区域 */
        .thumb-container {
            width: 30%;
            max-height: 380px;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-right: 10px;
        }

        .thumbs-wrapper {
            flex: 1;
            overflow-y: hidden;
            max-height: 380px;
            scroll-behavior: smooth;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .thumbs {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 8px 0;
        }

        .thumbs img {
            width: 60px;
            height: 60px;
            border-radius: 10px;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            flex-shrink: 0;
            transition: all .2s;
        }

        .thumbs img.active {
            border-color: #ff7f00;
            box-shadow: 0 4px 12px rgba(255, 127, 0, 0.25);
        }

        /* 美化滚动条 */
        .thumbs-wrapper::-webkit-scrollbar {
            width: 6px;
        }

        .thumbs-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .thumbs-wrapper::-webkit-scrollbar-thumb {
            background: #ff7f00;
            border-radius: 3px;
        }

        .thumbs-wrapper::-webkit-scrollbar-thumb:hover {
            background: #e67300;
        }

        /* 上下箭头 */
        .arrow {
            font-size: 20px;
            cursor: pointer;
            user-select: none;
            color: #636e72;
            transition: color .2s;
        }

        .arrow:hover {
            color: #ff7f00;
        }

        /* 右侧商品信息 */
        .product-info {
            flex: 1 1 420px;
            /*padding: 30px 40px;*/
            display: flex;
            flex-direction: column;'
        }

        .product-title {
            font-size: 1.4em;
            color: #2d3436;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .product-subtitle {
            font-size: 1em;
            color: #636e72;
            margin-bottom: 16px;
        }

        .product-price {
            font-size: 1.8em;
            font-weight: bold;
            color: #ff7f00;
            margin: 10px 0 20px;
        }

        .product-desc {
            color: #636e72;
            line-height: 1.7;
            font-size: 1em;
            margin-bottom: 24px;
        }

        /* 购买按钮 - PC端优化 */
        .buy-btn {
            display: inline-block;
            background: #2d3436;
            color: #fff;
            text-decoration: none;
            padding: 14px 24px;
            border-radius: 8px;
            font-weight: 500;
            font-size: 1em;
            margin-top: 24px;
            text-align: center;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            width: auto;
            max-width: 200px;
            align-self: flex-start;
        }

        .buy-btn:hover {
            background: #636e72;
            transform: scale(1.05);
        }

        /* 购买链接区域 */
        .buy-links-container {
            margin-top: 20px;
            width: 100%;
        }

        .buy-links-title {
            font-size: 1.1em;
            color: #2d3436;
            margin-bottom: 12px;
            font-weight: 500;
        }

        .buy-links {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            align-items: center;
            gap: 4px;
        }

        .buy-link-item {
            display: flex;
            align-items: center;
            gap: 2px;
            width: calc(50% - 2px);
            margin-bottom: 4px;
        }

        .buy-link-icon {
            width: 16px;
            height: 16px;
        }

        .buy-link {
            text-decoration: none;
            color: #636e72;
            font-size: 0.78em;
            padding: 2px 4px;
            position: relative;
            transition: all 0.3s ease;
            letter-spacing: 0.2px;
        }

        .buy-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 0.5px;
            background-color: #636e72;
            transition: width 0.3s ease;
        }

        .buy-link:hover {
            color: #2d3436;
        }

        .buy-link:hover::after {
            width: 100%;
        }

        /* 移动端滑动区域 - 默认隐藏 */
        .mobile-slider {
            display: none;
        }

        /* 图片展示模块 */
        .all-images-section {
            width: 100%;
            padding: 30px 20px;
            border-top: 1px solid #f1f1f1;
        }

        .all-images-section h2 {
            font-size: 1.5em;
            color: #2d3436;
            margin-bottom: 20px;
            text-align: center;
            font-weight: 500;
        }

        /* 容器样式：统一垂直单列布局，确保从上到下排列 */
        .all-images-container {
            display: grid;
            grid-template-columns: 1fr; /* 统一单列，垂直堆叠 */
            gap: 15px; /* 图片间距，适中以适应所有设备 */
            padding: 10px 0;
            max-width: 100%;
            overflow: hidden; /* 防止溢出 */
        }

        /* 图片通用样式 */
        .all-images-container img {
            width: 100%; /* 填充容器宽度 */
            max-width: 100%; /* 防止超出父容器 */
            height: auto; /* 关键：自动高度，保持原比例 */
            object-fit: contain; /* 完整显示图片，允许空白；备选: scale-down (缩小到fit) */
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑交互 */
            /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);*/
            /*border-radius: 8px; /* 轻微圆角，提升视觉（可选） */*/
            display: block; /* 移除img默认间隙 */
        }

       

        /* 移动端优化：增大间距和padding，便于触摸 */
        @media (max-width: 768px) {
            .all-images-container {
                gap: 20px; /* 更大间距，适应垂直滚动 */
                padding: 15px;
            }
            
            .all-images-container img {
                border-radius: 4px; /* 移动端圆角小点 */
            }
        }

        /* PC端优化：保持单列，但可调整最大宽度和间距 */
        @media (min-width: 769px) {
            .all-images-container {
                gap: 15px; /* PC间距稍小 */
                max-width: 800px; /* 可选：限制容器宽度，居中显示 */
                margin: 0 auto;
            }
            
            .all-images-container img {
                max-height: 400px; /* 可选：PC限高，防止极长图片拉长页面 */
                object-position: center; /* 居中对齐 */
            }
        }

        /* ✅ 固定右下角社交按钮 */
        .social-icons {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 1000;
        }

        .social-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-decoration: none;
            color: #fff;
            font-size: 24px;
        }

        .telegram-icon {
            background-color: #0088cc;
        }

        .whatsapp-icon {
            background-color: #25D366;
        }

        .tiktok-icon {
            background-color: #000000;
        }

        .social-icon:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        /* 移动端样式 - 移除缩略图，改为滑动切换 */
        @media (max-width: 768px) {
            .product-detail-container {
                margin: 0;
                border-radius: 0;
                box-shadow: none;
            }

            .product-images {
                flex-direction: column;
                width: 100%;
                padding: 0;
                position: relative;
            }

            /* 隐藏PC端缩略图 */
            .thumb-container {
                display: none;
            }

            /* 显示移动端滑动区域 */
            .mobile-slider {
                display: block;
                position: relative;
                width: 100%;
                /*height: 65vh;*/
                height: 50vh;
                overflow: hidden;
                touch-action: pan-y;
            }

            .mobile-slides {
                display: flex;
                width: 100%;
                height: 100%;
                transition: transform 0.3s ease;
            }

            .mobile-slide {
                flex: 0 0 100%;
                height: 100%;
            }

            .mobile-slide img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            /* 移动端指示器 */
            .mobile-indicators {
                position: absolute;
                bottom: 15px;
                left: 0;
                right: 0;
                display: flex;
                justify-content: center;
                gap: 8px;
            }

            .mobile-indicator {
                width: 8px;
                height: 8px;
                border-radius: 50%;
                 background-color: rgba(169, 169, 169, 0.5); /* #A9A9A9 的半透明灰色 */
                transition: background-color 0.3s;
            }

            .mobile-indicator.active {
                background-color: #ff7f00;
            }

            /* 隐藏PC端主图 */
            .main-img {
                display: none;
            }

            .product-info {
                width: 100%;
                padding: 24px 20px;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            /* 移动端图片展示模块 */
            .all-images-container img {
                height: 280px;
                max-width: 100%;
            }

            /* 移动端按钮居中 */
            .buy-btn {
                display: block;
                width: 80%;
                max-width: 300px;
                margin: 24px auto 0;
                align-self: center;
            }

            /* 移动端购买链接调整 */
            .buy-links-container {
                margin-top: 20px;
                width: 100%;
                text-align: center;
            }

            .buy-link-item {
                width: calc(50% - 2px);
                justify-content: center;
            }

            .social-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .social-icons {
                bottom: 15px;
                right: 15px;
                gap: 8px;
            }
        }
        


         /*模块：大图查看模态框（图片查看器） - CSS 样式
         描述：定义模态框的外观、动画和响应式适配*/
   
         /* 大图查看模态框样式 */
        .modal {
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.9);
            animation: fadeIn 0.3s;
            display: flex; /* 使用flex居中内容，替换原display:none */
            align-items: center;
            justify-content: center;
        }

        /* 移除 .modal.show，因为v-if已控制显示；直接用 .modal 的display:flex */

        .modal-content {
            position: relative;
            margin: auto;
            padding: 0;
            width: 90%;
            max-width: 1200px;
            height: 80%;
            top: 50%;
            transform: translateY(-50%);
            text-align: center;
        }

        .modal img {
            width: auto;
            height: 100%;
            max-width: 100%;
            object-fit: contain;
            display: block;
            margin: 0 auto;
        }

        .close {
            position: absolute;
            top: -40px;
            right: 0;
            color: #fff;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1001;
        }

        .close:hover {
            color: #ccc;
        }

        .prev,
        .next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.5);
            color: white;
            font-size: 30px;
            cursor: pointer;
            border: none;
            padding: 15px;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1001;
        }

        .prev {
            left: 10px;
        }

        .next {
            right: 10px;
        }

        .prev:hover,
        .next:hover {
            background-color: rgba(0, 0, 0, 0.8);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* 移动端优化：全屏适配 */
        @media (max-width: 768px) {
            .modal-content {
                width: 100%;
                height: 100%;
                padding: 0;
            }

            .modal img {
                height: 100vh;
                width: auto;
            }

            .close {
                top: 10px;
                right: 10px;
                font-size: 30px;
            }

            .prev,
            .next {
                font-size: 24px;
                padding: 10px;
                width: 40px;
                height: 40px;
            }
        }

        /* 确保所有图片可点击：覆盖可能的pointer-events问题 */
        .main-img,
        .mobile-slide img,
        .all-images-container img {
            cursor: pointer !important;
            pointer-events: auto !important;
        }

        
    </style>