 /* ============================================================
                   商品详情页样式
                   ============================================================ */

        /* ===== 商品主区域（精简版） ===== */
        .product-main {
            display: flex;
            gap: 48px;
            background: #fff;
            border-radius: var(--radius);
            padding: 32px 36px 36px;
            border: 1px solid var(--gray-border);
            margin-bottom: 28px;
            box-shadow: var(--shadow);
            align-items: flex-start;
        }

        /* ----- 左：图片 ----- */
        .product-gallery {
            flex: 0 0 400px;
            max-width: 400px;
        }
        .product-gallery .main-img {
            width: 100%;
            aspect-ratio: 1/1;
            background: var(--green-bg);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 140px;
            color: var(--orange);
            overflow: hidden;
            border: 1px solid var(--gray-border);
        }
        .product-gallery .main-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* ----- 右：信息 ----- */
        .product-info {
            flex: 1;
            min-width: 0;
            padding-top: 2px;
        }
        .product-info .product-name {
            font-size: 28px;
            color: var(--green-dark);
            margin-bottom: 4px;
            line-height: 1.3;
        }
        .product-info .product-name .sub {
            font-size: 16px;
            font-weight: 400;
            color: #6a7a6a;
            display: block;
            margin-top: 2px;
        }
        .product-info .price-area {
            background: var(--orange-light);
            padding: 14px 20px;
            border-radius: var(--radius);
            margin: 12px 0 14px;
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 8px 18px;
            background: #fdf0e0;
        }
        .product-info .price-area .price {
            font-size: 34px;
            font-weight: 700;
            color: var(--orange);
        }
        .product-info .price-area .price .unit {
            font-size: 16px;
            font-weight: 400;
            color: #8a9a8a;
        }
        .product-info .price-area .original-price {
            font-size: 16px;
            color: #8a9a8a;
            text-decoration: line-through;
        }
        .product-info .address {
            font-size: 15px;
            color: #4a5a4a;
            padding: 6px 0 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px dashed var(--gray-border);
        }
        .product-info .address i {
            color: var(--green-primary);
            width: 20px;
            flex-shrink: 0;
        }

        /* ===== 下单区域 ===== */
        .order-section {
            display: flex;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
            margin-top: 14px;
            padding-top: 14px;
        }
        .order-section .btn-order {
            padding: 14px 48px;
            border-radius: 40px;
            font-size: 18px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--orange);
            color: #fff;
            box-shadow: 0 4px 16px rgba(232, 137, 44, 0.35);
        }
        .order-section .btn-order:hover {
            background: var(--orange-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(232, 137, 44, 0.40);
        }
        .order-section .btn-order i {
            font-size: 20px;
        }
        .order-section .qrcode-area {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .order-section .qrcode-area .qrcode-box {
            width: 76px;
            height: 76px;
            background: #fff;
            border: 2px solid var(--gray-border);
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            color: var(--green-dark);
            flex-shrink: 0;
        }
        .order-section .qrcode-area .qrcode-box img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        .order-section .qrcode-area .qrcode-text {
            font-size: 13px;
            color: #6a7a6a;
        }
        .order-section .qrcode-area .qrcode-text strong {
            color: var(--green-dark);
            display: block;
            font-size: 14px;
        }

        /* ============================================================
                   商品介绍独立板块（支持长文本、图文混排）
                   ============================================================ */
        .product-desc-section {
            background: #fff;
            border-radius: var(--radius);
            padding: 32px 36px 36px;
            border: 1px solid var(--gray-border);
            margin-bottom: 28px;
            box-shadow: var(--shadow);
        }
        .product-desc-section .desc-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--green-dark);
            padding-bottom: 14px;
            border-bottom: 2px solid var(--green-bg);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .product-desc-section .desc-title i {
            color: var(--green-primary);
        }
        .product-desc-section .desc-body {
            font-size: 15px;
            line-height: 1.9;
            color: #2a3a2a;
        }
        .product-desc-section .desc-body p {
            margin-bottom: 14px;
        }
        .product-desc-section .desc-body p:last-child {
            margin-bottom: 0;
        }
        .product-desc-section .desc-body h4 {
            font-size: 17px;
            color: var(--green-dark);
            margin: 18px 0 10px;
        }
        .product-desc-section .desc-body h4:first-child {
            margin-top: 0;
        }
        .product-desc-section .desc-body ul {
            padding-left: 24px;
            margin-bottom: 14px;
        }
        .product-desc-section .desc-body ul li {
            list-style: disc;
            margin-bottom: 6px;
        }
        .product-desc-section .desc-body img {
            max-width: 100%;
            border-radius: 8px;
            margin: 14px 0;
        }
        .product-desc-section .desc-body .highlight-box {
            background: var(--green-bg);
            padding: 16px 20px;
            border-radius: 8px;
            border-left: 4px solid var(--green-primary);
            margin: 14px 0;
        }
        .product-desc-section .desc-body .highlight-box p {
            margin-bottom: 0;
        }
        .product-desc-section .desc-body table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
            margin: 14px 0;
        }
        .product-desc-section .desc-body table td,
        .product-desc-section .desc-body table th {
            padding: 10px 14px;
            border: 1px solid var(--gray-border);
            text-align: left;
        }
        .product-desc-section .desc-body table th {
            background: var(--gray-light);
            font-weight: 600;
            color: var(--green-dark);
        }
        .derweima{
            position: absolute;
            width: 150px;
            height: auto;
            display: none;
        }
        .derweima img{
            width: 100%;
        }
        /* ===== 响应式 ===== */
        @media (max-width: 992px) {
            .product-main {
                flex-direction: column;
                padding: 20px;
                gap: 20px;
            }
            .product-gallery {
                flex: 1;
                max-width: 100%;
            }
            .product-gallery .main-img {
                aspect-ratio: 1/1;
                max-height: 440px;
                font-size: 80px;
            }
            .product-info .product-name {
                font-size: 24px;
            }
            .order-section {
                flex-wrap: wrap;
            }
            .order-section .btn-order {
                width: 100%;
                justify-content: center;
            }
            .product-desc-section {
                padding: 24px 20px 28px;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 14px;
            }
            .product-main {
                padding: 14px;
                gap: 16px;
            }
            .product-gallery .main-img {
                max-height: 320px;
                font-size: 60px;
            }
            .product-info .product-name {
                font-size: 20px;
            }
            .product-info .product-name .sub {
                font-size: 14px;
            }
            .product-info .price-area .price {
                font-size: 28px;
            }
            .product-info .price-area {
                padding: 12px 14px;
            }
            .order-section .btn-order {
                font-size: 16px;
                padding: 12px 28px;
            }
            .order-section .qrcode-area .qrcode-box {
                width: 60px;
                height: 60px;
                font-size: 30px;
            }
            .product-desc-section {
                padding: 18px 14px 22px;
            }
            .product-desc-section .desc-title {
                font-size: 17px;
            }
            .product-desc-section .desc-body {
                font-size: 14px;
                line-height: 1.8;
            }
            .product-desc-section .desc-body h4 {
                font-size: 16px;
            }
            .footer .container {
                grid-template-columns: 1fr 1fr;
                gap: 16px;
            }
        }

        @media (max-width: 420px) {
            .product-gallery .main-img {
                max-height: 240px;
                font-size: 44px;
            }
            .product-info .product-name {
                font-size: 18px;
            }
            .product-info .price-area .price {
                font-size: 24px;
            }
            .product-info .address {
                font-size: 13px;
            }
            .order-section .btn-order {
                font-size: 14px;
                padding: 10px 20px;
            }
            .order-section .qrcode-area .qrcode-box {
                width: 52px;
                height: 52px;
                font-size: 24px;
            }
            .order-section .qrcode-area .qrcode-text {
                font-size: 12px;
            }
            .product-desc-section .desc-body {
                font-size: 13px;
            }
            .product-desc-section .desc-body table {
                font-size: 12px;
            }
            .product-desc-section .desc-body table td,
            .product-desc-section .desc-body table th {
                padding: 6px 10px;
            }
        }

        /* ----- 相关推荐 ----- */
        .related-products {
            margin-bottom: 28px;
        }
        .related-products .section-title {
            font-size: 20px;
            color: var(--green-dark);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .related-products .section-title i {
            color: var(--orange);
        }
        .related-products .related-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
        }
        .related-products .related-card {
            background: #fff;
            border-radius: var(--radius);
            border: 1px solid var(--gray-border);
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
            box-shadow: var(--shadow);
        }
        .related-products .related-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--orange);
        }
        .related-products .related-card .p-img {
            width: 100%;
            height: 140px;
            background: var(--green-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 44px;
            color: var(--orange);
            overflow: hidden;
        }
        .related-products .related-card .p-info {
            padding: 10px 14px 14px;
        }
        .related-products .related-card .p-info h4 {
            font-size: 14px;
            color: var(--green-dark);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 2px;
        }
        .related-products .related-card .p-info .price {
            font-size: 18px;
            font-weight: 700;
            color: var(--orange);
        }
        .related-products .related-card .p-info .price .unit {
            font-size: 12px;
            font-weight: 400;
            color: #8a9a8a;
        }
        .related-products .related-card .p-info .origin {
            font-size: 12px;
            color: #8a9a8a;
        }
        .related-products .related-card .p-info .origin i {
            margin-right: 3px;
        }
    /* ===== 响应式 ===== */
    @media (max-width: 992px) {
       
        .related-products .related-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
    }

    @media (max-width: 768px) {
        .container {
            padding: 0 14px;
        }
        .product-detail {
            padding: 14px;
            gap: 16px;
        }
        .product-gallery .main-img {
            max-height: 340px;
            font-size: 60px;
        }
        .product-gallery .thumb-list .thumb-item {
            width: 56px;
            height: 56px;
            font-size: 26px;
        }
        .product-info h1 {
            font-size: 20px;
        }
        .product-info .price-area .price {
            font-size: 26px;
        }
        .product-info .action-btns .btn {
            padding: 10px 22px;
            font-size: 14px;
        }
        .product-info .action-btns .btn-fav {
            width: 44px;
            height: 44px;
        }
        .detail-tabs .tab-nav a {
            padding: 10px 14px;
            font-size: 13px;
        }
        .detail-tabs .tab-panel {
            padding: 16px;
        }
        .related-products .related-grid {
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
        .related-products .related-card .p-img {
            height: 120px;
            font-size: 34px;
            overflow: hidden;
        }
        .product-info .guarantees {
            gap: 12px;
        }
        .product-info .guarantees .item {
            font-size: 12px;
        }
        .product-info .rating-area {
            font-size: 13px;
            flex-wrap: wrap;
        }
    }

    @media (max-width: 420px) {
        .product-gallery .main-img {
            max-height: 260px;
            font-size: 44px;
        }
        .product-gallery .thumb-list .thumb-item {
            width: 44px;
            height: 44px;
            font-size: 20px;
        }
        .product-info h1 {
            font-size: 18px;
        }
        .product-info .price-area .price {
            font-size: 22px;
        }
        .product-info .action-btns .btn {
            padding: 8px 16px;
            font-size: 13px;
        }
        .product-info .action-btns .btn-fav {
            width: 40px;
            height: 40px;
            font-size: 15px;
        }
        .related-products .related-grid {
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .related-products .related-card .p-img {
            height: 100px;
            font-size: 28px;
            overflow: hidden;
        }
        .related-products .related-card .p-info {
            padding: 8px 10px 10px;
        }
        .related-products .related-card .p-info h4 {
            font-size: 12px;
        }
        .related-products .related-card .p-info .price {
            font-size: 15px;
        }
        .detail-tabs .tab-nav a {
            font-size: 12px;
            padding: 8px 10px;
        }
        .product-info .qty-group .qty-control input {
            width: 40px;
        }
        .product-info .qty-group .qty-control button {
            width: 32px;
            height: 32px;
            font-size: 15px;
        }
    }