 /* ----- 主题颜色 ----- */
        :root {
            --primary-dark: #564637;
            --primary-blue: #C2A98B;
            --bg-light: #ffffff;
            --card-bg: #ffffff;
            --border-light: #e9edf2;
            --text-dark: #C2A98B;
            --text-muted: #564637;
            --spec-bg: #f9fbfd;
            --stock-bg: #F4F2EF;
            --stock-text: #C2A98B;
            --gray-light: #f0f4fa;
            --shadow-sm: 0 4px 12px rgba(0,44,75,0.05);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            /* background: #eef2f6; */
            display: block;
            min-height: 100vh;
            padding: 0;
            margin: 0;
        }

        .product-container {
            max-width: 1200px;
            width: 100%;
            background: var(--bg-light);
            border-radius: 8px;
            /* box-shadow: var(--shadow-sm); */
            overflow: hidden;
            padding: 20px 24px 40px;
            /* transition: all 0.2s; */
            margin: 20px auto;
        }

        /* 头部 */
        .header {
            padding: 8px 0 16px;
            border-bottom: 1px solid var(--border-light);
            margin-bottom: 24px;
        }
        .logo {
            font-size: 32px;
            font-weight: 700;
            color: var(--primary-dark);
            letter-spacing: 1px;
            margin-bottom: 12px;
        }
        .nav-links {
            display: flex;
            flex-wrap: wrap;
            gap: 20px 32px;
            font-size: 15px;
            font-weight: 500;
            color: var(--text-muted);
        }
        .nav-links span {
            cursor: default;
            color: var(--primary-dark);
            transition: color 0.1s;
        }
        .nav-links span:hover { color: var(--primary-blue); }

        /* 主区域：两列布局 */
        .product-main {
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 32px;
            margin-bottom: 32px;
            width: 100%;
        }

        /* ========= 左侧图片区 ========= */
        .gallery-wrapper {
            display: flex;
            flex-direction: column;
            gap: 16px;
            overflow: hidden;
            width: 100%;
        }
        .main-image-container {
            position: relative;
            width: 100%;
            user-select: none;
        }
        .main-image {
            /* background: #eaeef2; */
            border: 1px solid #eaeef2;
            border-radius: 8px;
            height: 340px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2c3e50;
            font-size: 1.3rem;
            font-weight: 500;
            box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
            background-image: linear-gradient(145deg, #f0f5fa 0%, #dbe2ea 100%);
            transition: background 0.2s;
            text-align: center;
            padding: 0 40px;
        }
        /* 左右箭头 */
        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            background: rgba(255,255,255,0.6);
            backdrop-filter: blur(4px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            font-weight: 400;
            line-height: 1;
            margin-top: -2px;
            color: var(--primary-dark);
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: all 0.15s;
            border: 1px solid rgba(255,255,255,0.5);
            z-index: 2;
        }
        .arrow:hover {
            background: rgba(255,255,255,0.9);
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 16px rgba(0,76,151,0.2);
        }
        .arrow-left {
            left: 12px;
        }
        .arrow-right {
            right: 12px;
        }
        @media (max-width: 600px) {
            .arrow {
                width: 36px;
                height: 36px;
                font-size: 28px;
                margin-top: -1px;
            }
            .main-image {
                height: 280px;
                padding: 0 30px;
            }
        }

        .thumbnail-list {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 8px 4px 12px;
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
            width: 100%;
        }
        .thumbnail-list::-webkit-scrollbar {
            height: 8px;
            background: #c0c8d4;
            border-radius: 4px;
        }
        .thumbnail-list::-webkit-scrollbar-thumb {
            background: #8fa3bb;
            border-radius: 4px;
        }
        .thumb-item {
            flex: 0 0 60px;
            height: 50px;
            background: #f7e5d8;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 500;
            color: #1f3a57;
            overflow: hidden;
        }
        .thumb-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
           
        .thumb-item.active {
            border-color: var(--primary-blue);
            transform: scale(1.02);
            box-shadow: 0 4px 10px rgba(0,76,151,0.2);
        }
        .thumb-1 { background: #fdf7f2; }
        .thumb-2 { background: #fae8d9; }
        .thumb-3 { background: #ffedde; }
        .thumb-4 { background: #f5d4b9; }
        .thumb-5 { background: #f3c59f; }

        /* ===== 左侧图片区下方的规格表 ===== */
        .specs-wrapper {
            width: 100%;
            margin-top: 30px;
        }
        .specs-wrapper .section-head {
            text-align: left;
            padding-left: 0;
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 12px;
        }
        .specs-grid {
            background: var(--spec-bg);
            border-radius: 8px;
            padding: 6px 0;
            border: 1px solid var(--border-light);
            display: grid;
            grid-template-columns: 1fr;
            width: 100%;
            overflow-x: auto;
        }
        .spec-item-row {
            display: flex;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 12px 16px;
            border-bottom: 1px solid var(--border-light);
            font-size: 14px;
            gap: 16px;
            flex-wrap: wrap;
        }
        .spec-item-row:last-child {
            border-bottom: none;
        }
        .spec-label {
            color: #61788a;
            font-weight: 450;
            min-width: 140px;
            max-width: 200px;
            flex-shrink: 0;
        }
        .spec-value {
            font-weight: 500;
            color: var(--primary-dark);
            text-align: left;
            word-break: break-word;
            flex: 1;
            min-width: 100px;
        }

        /* ===== 描述和优势区域（在规格表下方） ===== */
        .description-wrapper {
            width: 100%;
            margin-top: 30px;
        }
        .description-wrapper .section-head {
            text-align: left;
            padding-left: 0;
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 12px;
        }
        .desc-text {
            font-size: 15px;
            line-height: 1.7;
            /* color: var(--text-dark); */
            background: var(--bg-light);
            padding: 6px 0;
            margin-bottom: 20px;
        }
        .advantages {
            list-style: none;
            margin: 18px 0 28px;
        }
        .advantages li {
            background: var(--card-bg);
            border-radius: 6px;
            padding: 18px 22px;
            margin-bottom: 12px;
            border: 1px solid var(--border-light);
        }
        .advantages li strong {
            font-size: 16px;
            color: var(--primary-dark);
            display: block;
            margin-bottom: 6px;
        }

        /* 右侧产品信息 */
        .product-info {
            display: flex;
            flex-direction: column;
            max-width: 100%;
            overflow: hidden;
        }

        /* 提示信息 */
        .suitable-badge {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #F4F2EF;
            padding: 10px 16px;
            border-radius: 6px;
            width: fit-content;
            margin-bottom: 16px;
         
            font-size: 15px;
            font-weight: 500;
        }
        .suitable-badge i {
            font-size: 18px;
            /* color: var(--primary-blue); */
        }

        .product-title {
            font-size: 28px;
            font-weight: 600;
            color: var(--primary-dark);
            line-height: 1.3;
            margin-bottom: 20px;
        }

        /* ===== 价格区域：两行普通文字 ===== */
        .price-plain {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 24px;
            padding: 4px 0;
        }
        .price-line {
            display: flex;
            align-items: baseline;
            gap: 12px;
        }
        .price-label {
            font-size: 16px;
            color: var(--text-muted);
            font-weight: 400;
            min-width: 90px;
        }
        .price-amount {
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
        }
        .price-amount.sale {
            color: #bf4800;
        }
        .price-line .price-label.small,
        .price-line .price-amount.small {
            font-size: 12px;
        }
        .core-info-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            background: #333;
            color: #fff;
            border-radius: 50%;
            font-size: 11px;
            font-weight: 500;
            cursor: help;
            margin-left: 6px;
            position: relative;
        }
        .core-info-icon:hover::after {
            content: "此费用为核心费用，是品牌商向每个订单收取的费用，一般行业规定";
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: #fff;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 400;
            white-space: nowrap;
            z-index: 100;
        }
        .core-info-icon:hover::before {
            content: "";
            position: absolute;
            bottom: 18px;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: #333;
            z-index: 100;
        }

        /* ===== 规格图片区域 ===== */
        .spec-images {
            margin: 20px 0 24px;
            border-top: 1px solid var(--border-light);
            padding-top: 20px;
            max-width: 100%;
            overflow: hidden;
        }
        .spec-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 16px;
        }
        .spec-grid {
            display: flex;
            gap: 12px;
            flex-wrap: nowrap;
            overflow-x: auto;
            padding-bottom: 4px;
            -webkit-overflow-scrolling: touch;
            max-width: 100%;
            scroll-snap-type: x mandatory;
            cursor: grab;
        }
        .spec-grid:active {
            cursor: grabbing;
        }
        .spec-grid::-webkit-scrollbar {
            height: 4px;
            background: #e0e6ed;
            border-radius: 4px;
        }
        .spec-grid::-webkit-scrollbar-thumb {
            background: #8fa3bb;
            border-radius: 4px;
        }
        .spec-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            transition: transform 0.1s;
            flex: 0 0 calc(50% - 6px);
            min-width: calc(50% - 6px);
            max-width: calc(50% - 6px);
            scroll-snap-align: start;
        }
        .spec-item:hover {
            transform: scale(1.05);
        }
        .spec-img {
            width: 70px;
            height: 70px;
            background: #f1eae5;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-dark);
            font-size: 10px;
            border: 1px solid transparent;
            transition: all 0.1s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
            overflow: hidden;
        }
        .spec-img img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .spec-item.active .spec-img {
            /* border-color: var(--primary-blue); */
            background: #f1eae5;
        }
        .spec-name {
            font-size: 13px;
            color: var(--text-muted);
        }
        .spec-item.active .spec-name {
            color: var(--primary-blue);
            font-weight: 500;
        }

        /* 模拟不同规格图片 */
        .spec-img.size-a { background: #cbd5e1; }
        .spec-img.size-b { background: #f9e1b4; }
        .spec-img.size-c { background: #f7dcb3; }
        .spec-img.size-d { background: #fcd293; }

        /* ===== 数量选择器 + 加购按钮同行 ===== */
        .cart-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 16px 0 16px;
            flex-wrap: nowrap;
        }
        .quantity-selector {
            display: flex;
            align-items: center;
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            overflow: hidden;
            height: 54px;
        }
        .qty-btn {
            width: 48px;
            height: 100%;
            background: transparent;
            border: none;
            font-size: 24px;
            font-weight: 500;
            color: var(--primary-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.1s;
        }
        .qty-btn:hover {
            background: rgba(0,76,151,0.05);
        }
        .qty-btn:active {
            background: rgba(0,76,151,0.1);
        }
        .qty-number {
            width: 50px;
            text-align: center;
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
            border-left: 1px solid var(--border-light);
            border-right: 1px solid var(--border-light);
            line-height: 54px;
        }
        .add-to-cart {
            flex: 1;
            min-width: 200px;
            height: 54px;
            background: var(--primary-blue);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: 600;
            letter-spacing: 0.5px;
            cursor: default;
            /* box-shadow: 0 6px 14px rgba(0,76,151,0.25); */
        }

        .stock-badge {
            background: #f5f3f0;
            color: #8a8a8a;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 400;
            display: inline-block;
            width: fit-content;
            margin-top: 8px;
            width: 100%;
        }
        .stock-badge .stock-label {
            display: block;
            font-size: 16px;
            font-weight: 500;
            color: #333;
            margin-bottom: 4px;
        }
        .stock-badge .stock-content {
            display: flex;
            align-items: baseline;
            gap: 8px;
        }
        .stock-badge .stock-number {
            font-size: 28px;
            font-weight: 600;
            color: #c4a574;
            line-height: 1;
        }

        /* 应用信息卡片 */
        .app-section {
            margin: 28px 0 20px;
        }
        .app-section .section-head {
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 12px;
        }
        .app-card {
            background: var(--card-bg);
            border-radius: 6px;
            padding: 18px 22px;
            font-size: 15px;
            line-height: 1.5;
            border: 1px solid var(--border-light);
        }

        /* 视频播放器区域 */
        .video-section {
            margin: 28px 0 20px;
        }
        .video-section .section-head {
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 12px;
        }
        .video-wrapper {
            width: 100%;
            border-radius: 6px;
            overflow: hidden;
            background: var(--card-bg);
            border: 1px solid var(--border-light);
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        }
        .video-wrapper video {
            width: 100%;
            height: auto;
            display: block;
        }

        /* 推荐卡片行 */
        .rec-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--primary-dark);
            margin: 32px 0 16px;
        }
        .card-scroll {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 8px 4px 20px;
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
        }
        .card-scroll::-webkit-scrollbar {
            height: 6px;
            background: #e0e6ed;
            border-radius: 12px;
        }
        .rec-card-link {
            text-decoration: none;
            color: inherit;
            flex: 0 0 180px;
        }
        .rec-card {
            flex: 0 0 180px;
            background: var(--card-bg);
            border-radius: 6px;
            padding: 16px 12px;
            border: 1px solid var(--border-light);
            text-align: left;
            height: 100%;
        }
        .rec-card .img-place {
            width: 100%;
            height: 140px;
            border-radius: 6px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #d9e2ec;
            font-size: 12px;
        }
        .rec-card .img-place img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 6px;
        }
        .rec-card .rec-name {
            font-weight: 500;
            color: var(--primary-dark);
            font-size: 14px;
            margin-bottom: 4px;
        }
        .rec-card .rec-model {
            font-size: 12px;
            color: #888;
            margin-bottom: 4px;
        }
        .rec-card .rec-desc {
            font-size: 11px;
            color: #666;
            margin-bottom: 8px;
            display: -webkit-box;
            display: box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
        }
        .rec-card .rec-price {
            font-weight: 600;
            color: var(--primary-blue);
            margin-top: 6px;
        }
        .rec-card .rec-shop-link {
            font-size: 11px;
            color: var(--primary-blue);
            margin-top: 4px;
            cursor: pointer;
        }
        .rec-card .rec-shop-link:hover {
            text-decoration: underline;
        }

        /* 底部链接网格 */
        .footer-grid {
            margin-top: 48px;
            padding-top: 32px;
            border-top: 8px solid var(--gray-light);
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 32px 24px;
        }
        .footer-col h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-dark);
            margin-bottom: 16px;
        }
        .footer-col ul {
            list-style: none;
        }
        .footer-col li {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 10px;
            cursor: default;
        }
        .footer-col li:hover { color: var(--primary-blue); }
        .contact-row {
            display: flex;
            flex-direction: column;
            gap: 12px;
            font-size: 14px;
        }
        .contact-row div span:first-child {
            font-weight: 500;
            color: #617e9c;
            width: 80px;
            display: inline-block;
        }

        hr {
            border: none;
            border-top: 2px solid var(--border-light);
            margin: 24px 0 12px;
        }

        /* 响应式 */
        @media (max-width: 900px) {
            .product-main {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .main-image {
                height: 280px;
            }
            .product-title {
                font-size: 24px;
            }
        }

        @media (min-width: 768px) {
            .specs-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
            .spec-item-row {
                border-bottom: 1px solid var(--border-light);
                border-right: 1px solid var(--border-light);
            }
            .spec-item-row:nth-child(2n) {
                border-right: none;
            }
            .specs-grid {
                border-radius: 8px;
                overflow: hidden;
            }
        }

        @media (max-width: 768px) {
            .spec-item-row {
                flex-wrap: wrap;
                gap: 8px;
            }
            .spec-label {
                min-width: 100px;
                max-width: 150px;
            }
        }

        @media (max-width: 480px) {
            body{padding:0px;}
            footer .footer-register{margin:0px auto;}
            .footer-register p {
                white-space: normal;
                text-align: center;
                margin-bottom: 10px;
                }
            .product-container {
                padding: 16px 16px 30px;
                border-radius: 6px;
            }
            .logo {
                font-size: 28px;
            }
            .nav-links {
                gap: 12px 16px;
                font-size: 13px;
            }
            .price-amount {
                font-size: 18px;
            }
            .add-to-cart {
                min-width: 160px;
                font-size: 16px;
                height: 48px;
            }
            .quantity-selector {
                height: 48px;
            }
            .qty-btn {
                width: 40px;
                font-size: 20px;
            }
            .qty-number {
                width: 40px;
                line-height: 48px;
                font-size: 18px;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .thumb-item {
                flex: 0 0 70px;
                height: 60px;
                font-size: 11px;
            }
            .suitable-badge {
                font-size: 13px;
                padding: 8px 12px;
            }
            .spec-label {
                min-width: 80px;
                max-width: 120px;
            }
        }

        /* 推荐商品列表 */
        .recommend-products {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }
        .recommend-products .section-title {
            font-size: 24px;
            margin-bottom: 20px;
            color: #333;
        }
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .product-item {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            transition: box-shadow 0.3s;
        }
        .product-item:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .product-item a {
            text-decoration: none;
            color: #333;
        }
        .product-item img {
            width: 100%;
            height: 150px;
            object-fit: contain;
            margin-bottom: 10px;
        }
        .product-item h4 {
            font-size: 14px;
            margin: 10px 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .product-item .price {
            color: #e74c3c;
            font-weight: bold;
            font-size: 16px;
        }

        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
    