        /* 店铺模块：与参考图一致的棕金旗舰店卡片和三列推荐 */
        .store-panel {
            margin: 0 8px 9px;
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
        }

        .store-banner {
            position: relative;
            padding: 13px 16px 18px;
            color: #dac4a5;
            background: linear-gradient(115deg, #754820, #2d2016 65%, #49301e);
            border: 1px solid #a67c4a;
            border-radius: 20px;
            overflow: hidden;
        }

        .store-banner::after {
            content: '';
            position: absolute;
            right: 25px;
            top: -55px;
            width: 90px;
            height: 240px;
            border: 1px solid #a7773824;
            border-radius: 50%;
            transform: rotate(-32deg);
            pointer-events: none;
        }

        .store-cert {
            display: flex;
            align-items: center;
            gap: 7px;
            font-size: 12px;
            color: #ab9476;
            white-space: nowrap;
            margin-bottom: 10px;
        }

        .store-cert-brand {
            color: #f5e6d4;
            font-weight: 600;
        }

        .store-chevron {
            margin-left: auto;
            color: #b28e61;
        }

        .store-main {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            position: relative;
        }

        .store-logo {
            flex: 0 0 74px;
            width: 74px;
            height: 74px;
            object-fit: cover;
            border-radius: 16px;
            border: 2px solid #ff2750;
            background: #fff;
            
        }

        .store-info {
            flex: 1;
            min-width: 0;
            padding-top: 3px;
        }

        .store-name {
            font-size: 16px;
            font-weight: 500;
            padding-right: 65px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .store-rating {
            display: flex;
            align-items: center;
            gap: 9px;
            margin-top: 4px;
            font-size: 13px;
            color: #aa9070;
            white-space: nowrap;
        }

        .store-stars {
            color: #ff254b;
        }

        .store-enter {
            position: absolute;
            right: -3px;
            top: 1px;
            border-radius: 22px;
            border: 1px solid #fff2dc;
            background: #ffe5c5;
            color: #875a35;
            width: 68px;
            height: 35px;
            font-size: 16px;
            font-weight: 600;
            
        }

        .store-tags {
            display: flex;
            gap: 6px;
            margin-top: 7px;
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
        }

        .store-tags span {
            flex-shrink: 0;
            border-radius: 6px;
            padding: 2px 6px;
            font-size: 12px;
            line-height: 18px;
            background: #ffffff12;
            color: #bea184;
        }

        .store-metrics {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            padding: 15px 0 16px;
        }

        .store-metrics>div {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            border-right: 1px solid #f5f5f5;
            min-width: 0;
        }

        .store-metrics>div:last-child {
            border-right: 0;
        }

        .store-metrics strong {
            color: #242630;
            font-size: 18px;
            line-height: 21px;
        }

        .store-metrics small {
            font-size: 12px;
            margin-left: 2px;
        }

        .store-metrics span {
            color: #98999f;
            font-size: 12px;
            white-space: nowrap;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .store-metrics .store-rank {
            color: #b67533;
            font-weight: 500;
        }

        .store-recommend {
            background: white;
            margin: 0 8px 12px;
            padding: 16px 14px 12px;
            border-radius: 20px;
        }

        .store-recommend-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
        }

        .store-recommend-heading h2 {
            font-size: 17px;
            font-weight: 600;
            color: #242630;
        }

        .store-recommend-heading>span {
            font-size: 13px;
            color: #99999f;
        }

        .store-products {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 8px;
        }

        .store-product {
            min-width: 0;
        }

        .store-product>img {
            display: block;
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 18px;
            background: #f7f7f7;
            
        }

        .store-product-name {
            margin-top: 5px;
            font-size: 14px;
            line-height: 21px;
            height: 42px;
            color: #30313a;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .store-product-price {
            color: #ff1750;
            font-size: 17px;
            line-height: 25px;
            font-weight: 500;
        }

        @media (max-width: 360px) {
            .store-banner {
                padding-left: 12px;
                padding-right: 12px;
            }

            .store-logo {
                width: 62px;
                height: 68px;
                flex-basis: 62px;
            }

            .store-name {
                font-size: 14px;
            }

            .store-rating {
                font-size: 11px;
                gap: 5px;
            }

            .store-cert {
                font-size: 10px;
                gap: 4px;
            }

            .store-metrics span {
                font-size: 10px;
            }
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
        }

        body {
            background-color: #f7f7f7;
            color: #333;
            font-size: 15px;
            /* 基础字体从14px调大到15px */
            padding-bottom: 70px;
            /* 底部栏空间适配 */
        }

        /* ---------------------- 极简图标样式（无多余干扰，确保原生生效） ---------------------- */
        .icon {
            
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* 服务保障栏图标：仅控制尺寸和颜色，不干扰图标原生样式 */
        .service-bar .service-icon {
            width: 18px;
            /* 图标尺寸微调 */
            height: 18px;
            color: #666666;
            font-size: 16px;
            /* 图标字体调大 */
        }

        /* ---------------------- 图标样式结束 ---------------------- */

        /* 可编辑文本样式 */
        .editable-text {
            cursor: text;
            /* 文本光标，提示可编辑 */
            position: relative;
            display: inline-block;
            /* padding: 3px 5px; /* 内边距适配大字体 */
            */ border-radius: 3px;
            transition: background-color 0.2s;
        }

        .editable-text:hover {
            background-color: rgba(0, 200, 83, 0.05);
            /* hover高亮，提升体验 */
        }

        /* 编辑框样式（适配原文本布局） */
        .text-edit-input,
        .text-edit-textarea {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            padding: 3px 6px;
            /* 内边距适配 */
            border: 1px solid #00c853;
            border-radius: 5px;
            outline: none;
            font-size: max(16px, 1em);
            font-family: inherit;
            line-height: 1.4;
            color: #20212b;
            -webkit-text-fill-color: #20212b;
            caret-color: #20212b;
            text-shadow: none;
            background-color: #ffffff;
            color-scheme: light;
        }

        .text-edit-input::selection,
        .text-edit-textarea::selection { background: #ccebd7; color: #20212b; }
        .text-edit-input:focus,
        .text-edit-textarea:focus { border-color: #15803d; }
        .btn-buy .price-text.is-editing { display: block; width: 120px; max-width: calc(100% - 12px); line-height: 24px; }
        .btn-buy .price-text .text-edit-input { display: block; width: 100% !important; height: 24px; padding: 0 5px; font-size: 16px; line-height: 22px; text-align: center; }
        .editable-text.is-editing { text-shadow: none; }

        .text-edit-textarea {
            min-height: 70px;
            /* 文本域高度适配 */
            resize: none;
            line-height: 1.5;
            /* 行高适配大字体 */
        }

        /* 1. 顶部导航栏（沉浸感透明样式） */
        .top-nav {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 999;
            background-color: transparent;
            height: 50px;
            /* 导航栏高度调大 */
            display: flex;
            align-items: center;
            padding: 0 15px;
            /* 内边距调大 */
            width: 100%;
        }

        .top-nav .back-btn {
            width: 24px;
            /* 返回按钮调大 */
            height: 24px;
            color: #ffffff;
            font-size: 22px;
            /* 图标字体调大 */
            
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .top-nav .nav-title {
            flex: 1;
            text-align: center;
            font-size: 18px;
            /* 标题字体从16px调大到18px */
            font-weight: 500;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin: 0 25px;
            /* 边距适配 */
            color: #ffffff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .top-nav .nav-icons {
            display: flex;
            align-items: center;
            gap: 20px;
            /* 图标间距调大 */
        }

        .top-nav .nav-icons .icon {
            width: 24px;
            /* 导航图标调大 */
            height: 24px;
            color: #ffffff;
            font-size: 22px;
            /* 图标字体调大 */
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        /* 2. 商品图片区（仅1张图，保留1/3指示器，可点击上传替换） */
        .goods-swiper {
            width: 100%;
            height: calc(90vw);
            /* 正方形比例，贴合抖音商品图 */
            position: relative;
            overflow: hidden;
        }

        .goods-swiper .swiper-wrapper {
            width: 100%;
            height: 100%;
            display: flex;
        }

        .goods-swiper .swiper-slide {
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
        }

        /* 商品图样式：确保点击区域全屏，上传后保持比例 */
        .goods-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            
            /* 明确提示可点击 */
            user-select: none;
            /* 防止点击时选中图片 */
        }

        /* 保留1/3指示器 */
        .swiper-indicator {
            position: absolute;
            bottom: 30px;
            /* 位置微调 */
            right: 15px;
            background: rgba(0, 0, 0, 0.5);
            color: #ffffff;
            font-size: 14px;
            /* 指示器字体从12px调大到14px */
            padding: 3px 10px;
            /* 内边距适配 */
            border-radius: 12px;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        }

        .goods-tag {
            position: absolute;
            bottom: 30px;
            /* 位置微调 */
            left: 15px;
            background: #ff2e2e;
            color: #ffffff;
            font-size: 14px;
            /* 标签字体从12px调大到14px */
            padding: 4px 10px;
            /* 内边距适配 */
            border-radius: 5px;
            z-index: 10;
        }

        /* 3. 价格核心区 */
        .price-area {
            background: url('https://cdn.doumvip.com/a1846446806239e0bf302a76f72dac6e.png');
            /*background: url('https://cdn.doumvip.com/48e197e022ef3249538b44474cc3745c.png');*/
            background-size: 100% 100%;
            padding: 10px 15px 34px 15px;
            /* 内边距调大 */
            border-bottom: 1px solid #f0f0f0;
            margin-top: -18px;
            position: relative;
            z-index: 5;
        }

        .price-main {
            display: flex;
            align-items: baseline;
            margin-bottom: 6px;
            /* 间距调大 */
        }

        .price-area .subsidy-price-label {
            font-size: 16px;
            /* 补贴价标签从14px调大到16px */
            color: #FCD8B6;
            margin-right: 6px;
        }

        .price-area .subsidy-price {
            font-size: 30px;
            /* 价格从26px调大到28px */
            font-weight: 700;
            color: #FCD8B6;
        }

        .price-area .origin-price {
            font-size: 16px;
            /* 原价从14px调大到16px */
            color: #fff;
            text-decoration: line-through;
            margin-left: 10px;
            /* 间距调大 */
            /* align-self: center; */
        }

        .price-area .shop-flag {
            margin-left: auto;
            font-size: 18px;
            color: #FEF1D7;
            background: rgba(255, 255, 255, 0.1);
            padding: 3px 10px;
            border-radius: 5px;

        }

        .price-aux {
            display: flex;
            align-items: center;
            font-size: 14px;
            /* 辅助价格文字从12px调大到14px */
            color: #FEF1D7;
            flex-wrap: wrap;
            gap: 15px;
            /* 间距调大 */
        }

        .price-aux .sales-count {
            color: #FEF1D7;
            font-weight: bold;
        }

        .price-aux .subsidy-tip {
            color: #ff2e2e;
        }

        .price-aux .authen-tip {
            color: #FEF1D7;
            margin-left: auto;
        }

        .goodarea {
            position: relative;
            z-index: 7;
            background-color: #ffffff;
            margin-top: -18px;
            border-radius: 20px;
            padding: 15px;
            /* 内边距调大 */
        }

        /* 4. 商品标题区 */
        .goods-title {

            font-weight: bold;
            font-size: 18px;
            /* 标题从16px调大到18px */
            font-weight: bold;
            line-height: 1.5;
            /* 行高适配 */
            color: #333333;
            /* border-bottom: 12px solid #f7f7f7; /* 分隔线高度适配 */
            */ display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 6px;

        }

        /* 5. 品牌&保障栏 */
        .brand-security {
            background-color: #ffffff;
            background: url('../images/0dddd110aeddd759ad5f5554.png') no-repeat;
            background-size: 100% 100%;
            border-radius: 10px;
            padding: 6px 10px;
            /* 内边距调大 */
            display: flex;
            align-items: center;
            /* border-bottom: 1px solid #f0f0f0; */
        }

        .band-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            user-select: none;
            /* 防止点击时选中图片 */
            vertical-align: middle;
            height: 4vw;
            width: 4vw;
            border-radius: 2px;
        }

        .brand-security .brand-name {
            font-size: 14px;
            /* 品牌名从14px调大到16px */
            font-weight: 500;
            color: #FDE8D3;
            margin-left: 4px;
            /* 间距调大 */
            margin-right: 14px;
            vertical-align: middle;
        }

        .brand-security .security-tags {
            display: flex;
            gap: 12px;
            /* 间距调大 */
            flex: 1;
        }

        .brand-security .security-tags .tag {
            font-size: 14px;
            /* 保障标签从12px调大到14px */
            color: #FDE8D3;
        }

        .brand-security .arrow-right {
            width: 18px;
            /* 箭头图标调大 */
            height: 18px;
            color: #999999;
            font-size: 16px;
            /* 图标字体调大 */
        }

        /* 6. 服务保障栏（图标无嵌套，100%显示） */
        .service-bar {
            margin-top: 15px;
            background-color: #ffffff;
            padding: 15px;
            /* 内边距调大 */
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            /* 间距调大 */
            border-radius: 15px 15px 0 0;
            border-bottom: 1px solid ghostwhite;
        }

        .service-bar .service-item {
            display: flex;
            align-items: center;
            gap: 6px;
            /* 图标文字间距调大 */
            font-size: 14px;
            /* 服务文字从12px调大到14px */
            color: #666666;
        }

        /* 7. 补贴领取栏 */
        .subsidy-bar {
            background-color: #ffffff;
            padding: 15px;
            /* 内边距调大 */
            display: flex;
            align-items: center;
            border-bottom: 1px solid #f0f0f0;
        }

        .subsidy-bar .subsidy-label {
            font-size: 14px;
            /* 补贴标签从12px调大到14px */
            color: #00c853;
            background: rgba(0, 200, 83, 0.1);
            padding: 4px 10px;
            /* 内边距适配 */
            border-radius: 5px;
            margin-right: 12px;
            /* 间距调大 */
        }

        .subsidy-bar .subsidy-desc {
            font-size: 16px;
            /* 补贴描述从14px调大到16px */
            color: #333333;
            flex: 1;
        }

        .subsidy-bar .subsidy-btn {
            font-size: 16px;
            /* 按钮文字从14px调大到16px */
            color: #00c853;
            background: transparent;
            border: none;
            
            padding: 6px 0;
            /* 内边距适配 */
        }

        /* 8. 配送信息栏 */
        .delivery-bar {
            background-color: #ffffff;
            padding: 15px;
            /* 内边距调大 */
            display: flex;
            align-items: center;
            border-bottom: 12px solid #f7f7f7;
            /* 分隔线高度适配 */
        }

        .delivery-bar .delivery-time {
            font-size: 16px;
            /* 配送时间从14px调大到16px */
            color: #00c853;
            font-weight: 500;
            margin-right: 12px;
            /* 间距调大 */
        }

        .delivery-bar .delivery-desc {
            font-size: 14px;
            /* 配送描述从12px调大到14px */
            color: #666666;
            flex: 1;
            line-height: 1.5;
            /* 行高适配 */
        }

        .delivery-bar .arrow-right {
            width: 18px;
            /* 箭头图标调大 */
            height: 18px;
            color: #999999;
            font-size: 16px;
            /* 图标字体调大 */
        }

        /* 9. 规格选择栏 */
        .spec-select {
            background-color: #ffffff;
            padding: 15px;
            /* 内边距调大 */
            display: flex;
            align-items: center;
            border-bottom: 12px solid #f7f7f7;
            /* 分隔线高度适配 */
        }

        .spec-select .spec-imgs {
            display: flex;
            gap: 10px;
            /* 间距调大 */
            flex: 1;
        }

        .spec-select .spec-img-item {
            width: 45px;
            /* 规格图片调大 */
            height: 45px;
            border: 1px solid #f0f0f0;
            border-radius: 5px;
            overflow: hidden;
            
            /* 提示可点击 */
        }

        .spec-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            user-select: none;
            /* 防止点击时选中图片 */
        }

        .spec-select .spec-desc {
            font-size: 16px;
            /* 规格描述从14px调大到16px */
            color: #333333;
            margin: 0 12px;
            /* 间距调大 */
        }

        .spec-select .arrow-right {
            width: 18px;
            /* 箭头图标调大 */
            height: 18px;
            color: #999999;
            font-size: 16px;
            /* 图标字体调大 */
        }

        /* 10. 商品评价入口 */
        .comment-entry {
            background-color: #ffffff;
            padding: 15px;
            /* 内边距调大 */
            display: flex;
            align-items: center;
            border-bottom: 12px solid #f7f7f7;
            /* 分隔线高度适配 */
        }

        .comment-entry .comment-title {
            font-size: 18px;
            /* 评价标题从16px调大到18px */
            font-weight: 500;
            color: #333333;
            margin-right: 10px;
            /* 间距调大 */
        }

        .comment-entry .comment-count {
            font-size: 16px;
            /* 评价数量从14px调大到16px */
            color: #666666;
        }

        .comment-entry .comment-new {
            font-size: 14px;
            /* 新增评价从12px调大到14px */
            color: #ff2e2e;
            margin-left: 10px;
            /* 间距调大 */
        }

        .comment-entry .arrow-right {
            width: 18px;
            /* 箭头图标调大 */
            height: 18px;
            margin-left: auto;
            color: #999999;
            font-size: 16px;
            /* 图标字体调大 */
        }

        /* 底部操作栏：店铺、客服及一体式购物车/购买按钮 */
        .bottom-opt-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: calc(66px + env(safe-area-inset-bottom, 0px));
            padding: 7px 14px calc(7px + env(safe-area-inset-bottom, 0px)) 12px;
            background: #fff;
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 998;
        }

        body {
            padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        }

        .bottom-opt-bar .opt-left {
            display: flex;
            flex: 0 0 88px;
            justify-content: space-between;
            align-items: center;
        }

        .bottom-opt-bar .opt-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            min-width: 34px;
            
        }

        .bottom-opt-bar .opt-item .opt-icon {
            display: block;
            width: 28px;
            height: 28px;
            object-fit: contain;
        }

        .bottom-opt-bar .opt-icon[data-img-id="bottom-shop-icon"] {
            border-radius: 50%;
            object-fit: cover;
        }

        .bottom-opt-bar .opt-item .opt-text {
            font-size: 11px;
            line-height: 16px;
            color: #292b35;
        }

        .bottom-opt-bar .opt-right {
            display: flex;
            flex: 1;
            min-width: 0;
            height: 50px;
            border-radius: 28px;
            overflow: hidden;
            background: #fff1f1;
        }

        .bottom-opt-bar .btn-cart {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 34%;
            border: 0;
            background: #fff1f1;
            
        }

        .bottom-opt-bar .btn-cart img {
            display: block;
            width: 33px;
            height: 31px;
            object-fit: contain;
        }

        .bottom-opt-bar .opt-right .btn-buy {
            display: flex;
            flex: 1;
            min-width: 0;
            height: 50px;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            border: 0;
            padding: 4px 2px;
            background: linear-gradient(110deg, #ff4b26 0%, #ff004b 65%);
            color: #fff;
            
        }

        .btn-buy .price-text {
            font-size: 17px;
            font-weight: 700;
            line-height: 20px;
        }

        .btn-buy .countdown-text {
            font-size: 12px;
            font-weight: 400;
            line-height: 16px;
            color: #fff;
            white-space: nowrap;
        }

        .bottom-opt-bar button:focus-visible {
            outline: 2px solid #252630;
            outline-offset: -3px;
        }

        /* 隐藏文件上传input */
        #imageUpload {
            display: none;
            tabindex: -1;
        }

        .shuru {
            /* display: none; */
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            background: white no-repeat;
            /*background-image:url('https://cdn.doumvip.com/64ed95c8691442bd3bd6139167d59c61.jpg');*/
            background-size: 100% auto;
            z-index: 9009;
            overflow-y: hidden;
        }

        .kuang {
            position: absolute;
            top: 3.5vw;
            left: 12vw;
            background: #F2F3F7;
            border: none;
            width: 60vw;
            line-height: 8vw;
            height: 8vw;
            color: black;
            font-size: 14px
        }

        .kuang :focus {
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
            /* 添加阴影效果 */
            border: none;
            outline: 2px dashed red;
        }

        .search {
            position: absolute;
            top: 0;
            right: 0;
            width: 12vw;
            height: 12vw;
            background: none;
        }

        .back2 {
            position: absolute;
            top: 0;
            left: 0;
            width: 14vw;
            height: 14vw;
            background: none;
        }

        .teach {
            width: 90vw;
            margin: 0vw 5vw;
            padding: 2vw;
            border-radius: 4px;
            background: ghostwhite;
        }

        .tip1 {
            font-weight: bold;
            font-size: 16px;
            line-height: 30px;
        }

        .tip2 {
            font-size: 12px;
            line-height: 24px;
            margin-bottom: 5px;
        }

        .zhifubao {
            position: fixed;
            width: 100vw;
            height: 100vh;
            z-index: 10000;
            left: 100%;
            top: 0;
            background: #313F59 url('') no-repeat;
            background-position: 50% 50%;
            background-size: 20% auto;
        }

        .blackbg {
            width: 100%;
            height: 100%;
            position: absolute;
            background: rgba(0, 0, 0, 0.2);
            display: none;
            z-index: 3;
        }

        .zhilogo {
            position: absolute;
            width: 40vw;
            height: 40vw;
            left: calc(50% - 20vw);
            top: calc(50% - 20vw);
            z-index: 1;
            display: none;
        }

        .pinfo {
            position: absolute;
            width: 90vw;
            height: 100vw;
            left: 5vw;
            top: 20vw;
            z-index: 2;
            text-align: center;
            display: none;
        }

        .pinfo_img {
            display: inline-block;
            width: 20vw;
            height: 20vw;
            object-fit: cover;
            border-radius: 2vw;
            border: 2px solid white;
        }

        .pinfo_name {

            width: 70%;
            display: block;
            text-align: center;
            color: white;
            font-size: 14px;
            margin: 2vw auto;
            max-lines: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .paybox {
            position: absolute;
            bottom: -136vw;
            left: 0;
            width: 100vw;
            height: 136vw;
            z-index: 4;
            background: url('../images/da0e4723029f707b157ed11c.png') no-repeat;
            background-size: 100% auto;
        }

        .pinfo_name2 {
            position: absolute;
            top: 15vw;
            left: 15vw;
            width: 70vw;
            text-align: center;
            z-index: 3;
            font-size: 4vw;
            color: black;
            line-height: 8vw;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            /* background: beige; */
        }

        .pinfo_price {
            position: absolute;
            top: 24vw;
            left: 5vw;
            width: 90vw;
            text-align: center;
            z-index: 3;
            font-size: 8vw;
            color: black;
            line-height: 12vw;
            /* background: beige; */
            font-weight: bold;
        }

        .btnword {
            position: absolute;
            top: 112vw;
            left: 5vw;
            width: 90vw;
            text-align: center;
            z-index: 3;
            font-size: 5vw;
            color: white;
            line-height: 14vw;
            /* background: beige; */
            font-weight: bold;
        }

        .t {
            -webkit-animation: big 1s ease 0s infinite;
            animation: big 1s ease 0s infinite;
            z-index: 200;
        }

        @-webkit-keyframes big {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.6;

            }

            100% {
                opacity: 1;
            }
        }

        .t2 {
            -webkit-animation: big2 2s ease 0s infinite;
            animation: big2 2s ease 0s infinite;
            z-index: 200;
        }

        @-webkit-keyframes big2 {
            0% {
                opacity: 1;
            }

            50% {
                opacity: 0.9;

            }

            100% {
                opacity: 1;
            }
        }

        .mianlogo {
            position: absolute;
            width: 40vw;
            height: 40vw;
            left: calc(50% - 20vw);
            top: calc(50% - 20vw);
            z-index: 5;
            display: none;
        }

        .overbox {
            position: absolute;
            bottom: -100%;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 5;
            background: white url('../images/c50d4bb6bfae9da621176c57.png') no-repeat;
            background-size: 100% auto;
            overflow: hidden;
        }

        .pinfo_name3 {
            position: absolute;
            top: 43vw;
            left: 6.5vw;
            width: 90vw;
            text-align: left;
            z-index: 3;
            font-size: 12px;
            color: white;
            line-height: 8vw;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            /* background: beige; */
        }

        .pinfo_price2 {
            position: absolute;
            top: 22vw;
            left: 5vw;
            width: 90vw;
            text-align: center;
            z-index: 3;
            font-size: 8vw;
            color: white;
            line-height: 12vw;
            /* background: beige; */
            font-weight: bold;
        }

        /* 截图抠出的原版图标，放在可编辑文字外以保留编辑功能。 */
        .store-cert-brand {
            display: inline-flex;
            align-items: center;
            gap: 3px;
        }

        .store-douyin-icon {
            display: block;
            width: 14px;
            height: 16px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .store-metrics .store-metric-label {
            display: inline-flex;
            align-items: center;
            gap: 3px;
        }

        .store-like-icon {
            display: block;
            width: 12px;
            height: 12px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .goods-detail {
            background: #fff;
        }

        .goods-detail-heading {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 17px 20px;
            color: #77777f;
            font-size: 16px;
            font-weight: 400;
            line-height: 22px;
        }

        .goods-detail-heading::before,
        .goods-detail-heading::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #f5f5f5;
        }

        .goods-detail-image {
            display: block;
            width: 100%;
            height: auto;
            
        }

        /* 购买规格弹窗 */
        .purchase-overlay[hidden] {
            display: none;
        }

        .purchase-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;
        }

        .purchase-backdrop {
            position: absolute;
            inset: 0;
            background: #000c;
        }

        .purchase-sheet {
            position: absolute;
            inset: max(64px, 12vh) 0 0;
            display: flex;
            flex-direction: column;
            background: #f1f3f6;
            border-radius: 20px 20px 0 0;
            outline: none;
        }

        .purchase-topline {
            position: absolute;
            bottom: 100%;
            left: 14px;
            right: 14px;
            height: 43px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #fff;
            font-size: 12px;
        }

        .purchase-topline>span {
            background: #181818c9;
            border-radius: 18px;
            padding: 6px 10px;
        }

        .purchase-close {
            width: 32px;
            height: 32px;
            border: 0;
            border-radius: 50%;
            color: white;
            background: #161616;
            font-size: 26px;
            line-height: 30px;
            
        }

        .purchase-scroll {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            overscroll-behavior: contain;
            padding-bottom: 16px;
        }

        .purchase-summary {
            margin: 5px 6px 9px;
            border: 5px solid #49351e;
            border-top-width: 0;
            border-radius: 18px;
            background: #fff;
            overflow: hidden;
        }

        .purchase-cert {
            display: flex;
            align-items: center;
            gap: 3px;
            padding: 6px 7px;
            background: linear-gradient(110deg, #77512c, #302116);
            color: #f6e2c6;
            font-size: 12px;
            white-space: nowrap;
        }

        .purchase-cert img {
            width: 13px;
            height: 15px;
            object-fit: contain;
        }

        .purchase-cert>span {
            color: #b29c83;
            font-size: 10px;
            margin-left: 8px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .purchase-cert .purchase-cert-arrow {
            margin-left: auto;
            flex-shrink: 0;
        }

        .purchase-product {
            display: flex;
            align-items: stretch;
            gap: 10px;
            padding: 9px;
            min-height: 105px;
        }

        .purchase-cover {
            width: 85px;
            height: 85px;
            border-radius: 9px;
            object-fit: cover;
        }

        .purchase-product-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-bottom: 8px;
        }

        .purchase-price {
            font-size: 23px;
            font-weight: 700;
            color: #ff0048;
        }

        .purchase-choice {
            color: #999;
            font-size: 12px;
        }

        .purchase-quantity {
            display: flex;
            align-self: flex-end;
            align-items: center;
            height: 27px;
            border: 1px solid #eee;
            border-radius: 8px;
            margin-bottom: 4px;
        }

        .purchase-quantity button {
            border: 0;
            background: none;
            width: 27px;
            height: 25px;
            color: #333;
            font-size: 18px;
            
        }

        .purchase-quantity button:disabled {
            color: #ccc;
            cursor: default;
        }

        .quantity-value {
            min-width: 29px;
            text-align: center;
            border-inline: 1px solid #eee;
            font-size: 14px;
        }

        .purchase-section {
            background: #fff;
            border-radius: 18px;
            padding: 16px 18px 20px;
            margin-bottom: 9px;
        }

        .purchase-section-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 15px;
        }

        .purchase-section-heading h3 {
            color: #222;
            font-size: 14px;
            font-weight: 500;
        }

        .purchase-section-heading small {
            color: #999;
            font-size: 12px;
            font-weight: 400;
            margin-left: 4px;
        }

        .purchase-section-heading button {
            border: 0;
            background: none;
            font-size: 12px;
            color: #888;
            
        }

        .purchase-options {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .purchase-option {
            position: relative;
            min-width: 0;
            border: 1px solid transparent;
            border-radius: 13px;
            background: #f1f3f6;
            padding: 7px 6px 10px;
            color: #333;
            font-size: 13px;
            
        }

        .purchase-option img {
            display: block;
            width: 100%;
            aspect-ratio: 1;
            object-fit: contain;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .purchase-option-label {
            display: block;
            min-width: 0;
            overflow-wrap: anywhere;
            cursor: text;
        }

        .purchase-option-label:focus {
            outline: 1px solid #ff0048;
            border-radius: 4px;
            background: #fff;
            color: #20212b;
            -webkit-text-fill-color: #20212b;
            caret-color: #20212b;
            font-size: 16px;
        }

        .purchase-option[aria-pressed="true"],
        .purchase-service[aria-pressed="true"] {
            border-color: #ff0048;
            color: #ff0048;
            background: #fff3f6;
        }

        .purchase-options.is-small .purchase-option img {
            width: 52px;
            max-width: 100%;
            margin-inline: auto;
        }

        .purchase-service-options {
            display: flex;
            gap: 9px;
            flex-wrap: wrap;
        }

        .purchase-service {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            min-width: 124px;
            border: 1px solid transparent;
            border-radius: 12px;
            background: #f1f3f6;
            padding: 12px 18px;
            
        }

        .purchase-service strong {
            font-size: 14px;
            font-weight: 500;
        }

        .purchase-service span,
        .purchase-services-note {
            color: #888;
            font-size: 12px;
            line-height: 20px;
        }

        .purchase-services-note {
            margin-top: 12px;
        }

        .purchase-footer {
            flex-shrink: 0;
            background: #fff;
            border-radius: 18px 18px 0 0;
            padding: 8px 14px calc(25px + env(safe-area-inset-bottom, 0px));
        }

        .purchase-confirm {
            display: block;
            width: 100%;
            height: 48px;
            border: 0;
            border-radius: 28px;
            background: linear-gradient(110deg, #ff4b26, #ff004b 65%);
            color: #fff;
            font-size: 16px;
            
        }

        .purchase-sheet button:focus-visible {
            outline: 2px solid #ff0048;
            outline-offset: 2px;
        }

        @media (max-width: 360px) {
            .purchase-product {
                gap: 7px;
            }

            .purchase-cover {
                width: 65px;
                height: 75px;
            }

            .purchase-section {
                padding-inline: 12px;
            }

            .purchase-quantity button {
                width: 23px;
            }
        }
/* 顶部截图图标：返回居左，其余四个居右。 */
.top-nav { padding-inline: 13px; }
.top-nav .nav-title { min-width: 0; margin-inline: 8px; }
.top-nav .nav-icons { flex-shrink: 0; gap: 8px; }
.top-nav .nav-icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 35px; height: 35px; padding: 0; border: 0; border-radius: 50%; background: transparent;  }
.top-nav .nav-icon-button img { display: block; width: 100%; height: 100%; }
.top-nav .nav-icon-button:focus-visible { outline: 2px solid white; outline-offset: 2px; }

/* 新版规格面板：商品名称与价格卡片，省略地址配送区。 */
.purchase-backdrop { background: #000c; }
.purchase-sheet { inset: max(80px, 12vh) 0 0; border-radius: 24px 24px 0 0; background: #f5f6f9; }
.purchase-topline { height: 48px; left: 12px; right: 12px; }
.purchase-topline .purchase-arrival { display: inline-flex; align-items: center; gap: 4px; padding: 7px 9px; background: #218e3c; border: 1px solid #48a55b; color: #fff; font-size: clamp(10px, 3vw, 13px); }
.purchase-arrival-icon { display: block; width: 20px; height: 20px; flex-shrink: 0; object-fit: contain; }
.purchase-close { flex-shrink: 0; width: 34px; height: 34px; font-size: 30px; background: #080808bb; }
.purchase-summary { margin: 4px 4px 8px; padding-bottom: 0; border-width: 4px; border-top-width: 0; border-radius: 20px; background: linear-gradient(115deg, #78502b, #302015); }
.purchase-cert { padding: 8px 13px; min-height: 29px; font-size: 13px; background: transparent; }
.purchase-cert img { width: 14px; height: 17px; }
.purchase-cert > span { font-size: 11px; margin-left: 4px; }
.purchase-product { position: relative; min-height: 108px; padding: 9px; gap: 13px; background: #fff; border-radius: 15px; }
.purchase-cover { width: 88px; height: 88px; border-radius: 13px; background: #f8f8f8; }
.purchase-product-info { justify-content: flex-start; gap: 8px; padding: 3px 26px 0 0; }
.purchase-product-name { font-size: 17px; line-height: 23px; font-weight: 600; color: #20212b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.purchase-price { font-size: 26px; line-height: 30px; color: #ff0049; }
.purchase-choice { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.purchase-quantity { position: absolute; top: 11px; right: 9px; height: 27px; padding: 0 5px; margin: 0; border: 1px solid #e2e2e6; border-radius: 7px; color: #20212b; }
.quantity-value { border: 0; min-width: 10px; font-size: 15px; }
.purchase-quantity > span { font-size: 14px; }
.purchase-section { padding: 16px 17px 13px; background: #fff; margin-bottom: 0; }
.purchase-colors { border-radius: 20px 20px 0 0; }
.purchase-section-heading { margin-bottom: 16px; }
.purchase-section-heading h3 { font-size: 16px; color: #20212b; }
.purchase-section-heading button { font-size: 14px; }
.purchase-options { gap: 10px; }
.purchase-option { padding: 12px 9px 11px; border-radius: 14px; background: #f5f6f9; }
.purchase-option img { height: auto; aspect-ratio: 1; margin-bottom: 18px; border-radius: 0; }
.purchase-option-label { font-size: 15px; line-height: 22px; }
.purchase-option-expand { position: absolute; left: 5px; top: 6px; width: 22px; height: 22px; background: url('../../images/ccfb7e9eec903de19b6d068f.png') center / contain no-repeat; }
.purchase-options.is-small .purchase-option img { width: 52px; }
.purchase-services { border-radius: 0; border-top: 1px solid #f5f5f7; padding-top: 16px; }
.purchase-service-options { gap: 8px; }
.purchase-service { min-width: 0; width: 34%; padding: 10px 6px; gap: 5px; border-radius: 10px; background: #f5f6f9; }
.purchase-service strong { font-size: 15px; color: #20212b; }
.purchase-service span { font-size: 13px; color: #99999f; }
.purchase-service[aria-pressed="true"] strong { color: #ff0048; }
.purchase-footer { border-radius: 0; border-top: 1px solid #e4e4e7; padding: 9px 13px calc(34px + env(safe-area-inset-bottom, 0px)); }
.purchase-confirm { font-size: 17px; font-weight: 600; }
@media (max-width: 360px) { .purchase-topline { left: 8px; right: 8px; } .purchase-topline .purchase-arrival { gap: 2px; padding-inline: 6px; } .purchase-cover { width: 74px; height: 82px; } .purchase-product-name { font-size: 14px; line-height: 20px; } .purchase-product { gap: 8px; } .purchase-service { width: 39%; } }

/* 规格展示切换：三列大图与左图右字的小图卡片。 */
.purchase-section-heading .purchase-size-toggle { display: inline-flex; align-items: center; gap: 4px; color: #20212b; padding: 0; }
.purchase-size-toggle img { display: block; width: 16px; height: 16px; object-fit: contain; }
.purchase-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.purchase-option { display: flex; flex-direction: column; align-items: center; aspect-ratio: 3 / 4; padding: 12px 9px 10px; }
.purchase-option img { flex: 1; min-height: 0; width: 100%; height: 0; aspect-ratio: auto; object-fit: contain; margin: 0 0 16px; }
.purchase-option-label { flex-shrink: 0; width: 100%; line-height: 22px; }
.purchase-options.is-small { display: flex; flex-wrap: wrap; gap: 8px; }
.purchase-options.is-small .purchase-option { flex: 0 1 auto; flex-direction: row; justify-content: flex-start; gap: 10px; min-width: 86px; max-width: 100%; min-height: 39px; aspect-ratio: auto; padding: 5px 10px; border-radius: 9px; }
.purchase-options.is-small .purchase-option img { flex: 0 0 25px; width: 25px; height: 28px; max-width: none; margin: 0; }
.purchase-options.is-small .purchase-option-label { flex: 1; min-width: 0; width: auto; font-size: 15px; text-align: left; }
.purchase-options.is-small .purchase-option-expand { display: none; }
