
    .preview-mask.svelte-ku2rr {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mask-active.svelte-ku2rr {
        background: rgba(0, 0, 0, 0.98);
    }

    .nav-container.svelte-ku2rr {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .media-wrapper.svelte-ku2rr {
        width: 90vw;
        height: 80vh;
        transform: translate(var(--tx), var(--ty)) scale(var(--sx), var(--sy));
        transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), border-radius 0.4s;
        border-radius: 8px;
        will-change: transform;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .preview-active.svelte-ku2rr {
        transform: translate(0, 0) scale(1);
        border-radius: 0;
    }

    .full-media.svelte-ku2rr {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .close-btn.svelte-ku2rr {
        position: absolute;
        top: 40px;
        right: 40px;
        color: white;
        font-size: 44px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2100;
    }

    .nav-btn.svelte-ku2rr {
        color: white;
        font-size: 80px;
        background: none;
        border: none;
        cursor: pointer;
        opacity: 0.3;
        transition: 0.2s;
        z-index: 2100;
        padding: 0 40px;
    }

    .nav-btn.svelte-ku2rr:hover {
        opacity: 1;
    }

    .preview-info.svelte-ku2rr {
        position: absolute;
        bottom: 60px;
        color: white;
    }

    .count.svelte-ku2rr {
        background: rgba(255, 255, 255, 0.15);
        padding: 6px 24px;
        border-radius: 24px;
    }

    /* 页面基础布局 */
    .product-page.svelte-1stcw26 {
        max-width: 640px;
        margin: 0 auto;
        background: #f9f9f9;
        min-height: 100vh;
        padding-bottom: 120px; /* 底部栏留空 */
    }

    /* 商品主图和缩略图 */
    .media-section.svelte-1stcw26 {
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        margin: 15px 0;
    }

    .goods_main.svelte-1stcw26 {
        text-align: center;
        margin-bottom: 10px;
    }

    .big_thumb.svelte-1stcw26 {
        width: 100%;
        max-width: 480px;
        border-radius: 12px;
        object-fit: cover;
    }

    .thumbs_scroll.svelte-1stcw26 {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        margin-top: 10px;
    }

    .thumb-card.svelte-1stcw26 {
        width: 80px;
        height: 80px;
        border-radius: 8px;
        object-fit: cover;
        cursor: pointer;
        border: 1px solid #ddd;
        transition: 0.2s all;
    }

    .thumb-card.svelte-1stcw26:hover {
        transform: scale(1.05);
        border-color: #aaa;
    }

    /* 商品信息 */
    .goods-info.svelte-1stcw26, .goods-specs.svelte-1stcw26, .payment-methods.svelte-1stcw26, .goods-detail.svelte-1stcw26, .shop-info.svelte-1stcw26, .comments-section.svelte-1stcw26 {
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        margin-bottom: 15px;
    }

    .goods-title.svelte-1stcw26 {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .price-row.svelte-1stcw26 {
        display: flex;
        gap: 15px;
        margin-bottom: 10px;
    }

    .original-price.svelte-1stcw26 {
        text-decoration: line-through;
        color: #999;
    }

    .current-price.svelte-1stcw26 {
        color: #e60012;
        font-weight: bold;
    }

    .goods-meta.svelte-1stcw26 {
        list-style: none;
        padding: 0;
        font-size: 14px;
        color: #555;
    }

    .goods-meta.svelte-1stcw26 li:where(.svelte-1stcw26) {
        margin: 4px 0;
    }

    /* 规格 */
    .spec-item.svelte-1stcw26 {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }

    .spec-thumb.svelte-1stcw26 {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 6px;
    }

    .spec-info.svelte-1stcw26 {
        display: flex;
        flex-direction: column;
        font-size: 14px;
    }

    .spec-name.svelte-1stcw26 {
        font-weight: bold;
    }

    .spec-price.svelte-1stcw26 {
        color: #e60012;
    }

    .spec-stock.svelte-1stcw26 {
        color: #999;
    }

    /* 支付方式 */
    .pay_list_item.svelte-1stcw26 {
        display: flex;
        gap: 15px;
        list-style: none;
        padding: 0;
    }

    .pay_list_item.svelte-1stcw26 li:where(.svelte-1stcw26) {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 12px;
    }

    .img_100.svelte-1stcw26 {
        width: 40px;
        height: 40px;
        object-fit: contain;
        margin-bottom: 4px;
    }

    /* 店铺摘要 */
    .shop-card.svelte-1stcw26 {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .shop-avatar.svelte-1stcw26 {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .shop-meta.svelte-1stcw26 {
        display: flex;
        flex-direction: column;
        font-size: 14px;
    }

    /* 评论 */
    .comment-card.svelte-1stcw26 {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .user-info.svelte-1stcw26 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 6px;
    }

    .avatar.svelte-1stcw26 {
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }

    .content.svelte-1stcw26 {
        font-size: 14px;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .media-grid.svelte-1stcw26 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 6px;
    }

    .grid-item.svelte-1stcw26 {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
    }

    .video-type.svelte-1stcw26 {
        position: relative;
        background: #000;
    }

    .video-type.svelte-1stcw26 img:where(.svelte-1stcw26) {
        opacity: 0.7;
    }

    .play-icon.svelte-1stcw26 {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 24px;
        height: 24px;
        background: #fff;
        border-radius: 50%;
        clip-path: polygon(35% 25%, 35% 75%, 80% 50%);
    }

    /* 底部固定栏 */
    .bottom-bar.svelte-1stcw26 {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.8);
        border-top: 1px solid #ddd;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        z-index: 100;
        backdrop-filter: blur(20px);
    }

    .bar-left.svelte-1stcw26 {
        display: flex;
        gap: 10px;
    }

    .bar-right.svelte-1stcw26 {
        display: flex;
        gap: 10px;
    }

    .collect-btn.svelte-1stcw26, .chat-btn.svelte-1stcw26, .add-cart.svelte-1stcw26, .buy-now.svelte-1stcw26 {
        padding: 8px 12px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        border: none;
    }

    .collect-btn.svelte-1stcw26 {
        background: #fff;
        border: 1px solid #e60012;
        color: #e60012;
    }

    .chat-btn.svelte-1stcw26 {
        background: #f0f0f0;
    }

    .add-cart.svelte-1stcw26 {
        background: #ff9500;
        color: #fff;
    }

    .buy-now.svelte-1stcw26 {
        background: #e60012;
        color: #fff;
    }
