        /* 白色店铺信息卡片 */
        .store-panel { margin:0 8px 9px; padding:12px 14px 17px; background:#fff; border-radius:18px; overflow:hidden; }
        .store-banner { padding:0; color:#20212b; }
        .store-main { display:flex; align-items:flex-start; gap:6px; position:relative; }
        .store-logo { display:block; flex:0 0 72px; width:72px; height:72px; object-fit:contain; border-radius:15px; }
        .store-info { flex:1; min-width:0; padding-top:3px; }
        .store-name { padding-right:66px; font-size:14px; font-weight:600; line-height:21px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
        .store-rating { display:flex; align-items:center; gap:4px; margin-top:3px; font-size:12px; line-height:19px; white-space:nowrap; }
        .store-stars { display:flex; align-items:center; color:#ff0050; font-size:14px; letter-spacing:0; }
        .store-half-star { display:inline-block; color:#dddde2; position:relative; }
        .store-half-star::before { position:absolute; inset:0; content:'★'; width:50%; overflow:hidden; color:#ff0050; }
        .store-score { color:#f00046; font-weight:600; }
        .store-followers { border-left:1px solid #eee; padding-left:6px; margin-left:2px; color:#929298; }
        .store-enter { position:absolute; right:0; top:3px; width:62px; height:31px; border:0; border-radius:20px; background:linear-gradient(120deg,#ff6929,#ff0050 70%); color:white; font-size:15px; font-weight:600; }
        .store-tags { display:flex; gap:6px; margin-top:6px; overflow:hidden; white-space:nowrap; mask-image:linear-gradient(to right,#000 90%,transparent); }
        .store-tags > span { flex-shrink:0; border-radius:6px; padding:2px 6px; font-size:11px; line-height:16px; color:#939399; background:#f7f7f7; }
        .store-metrics { display:flex; justify-content:space-between; gap:10px; padding-top:16px; }
        .store-metrics > div { display:flex; align-items:baseline; justify-content:center; gap:4px; min-width:0; white-space:nowrap; }
        .store-metrics span { font-size:12px; color:#939399; }
        .store-metrics strong { color:#20212b; font-size:17px; line-height:24px; font-weight:700; }
        .store-metrics small { font-size:12px; font-weight:500; }
        @media(max-width:350px) {
            .store-panel { padding-left:12px; padding-right:12px; }
            .store-logo { flex-basis:60px; width:60px; height:64px; }
            .store-name { font-size:13px; padding-right:52px; }
            .store-enter { width:49px; font-size:13px; }
            .store-rating { gap:3px; font-size:11px; }
            .store-stars { font-size:12px; }
            .store-metrics { gap:6px; }
            .store-metrics > div { gap:3px; }
            .store-metrics span, .store-metrics small { font-size:11px; }
            .store-metrics strong { font-size:15px; }
        }

        .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;
        }

        * {
            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;
        }


        /* 与参考图一致的价格卡片 */
        .price-area { position:relative; z-index:5; margin-top:-18px; padding:12px 16px 10px; border-radius:20px 20px 0 0; background:#fff; color:#ff0050; }
        .price-main { display:flex; align-items:center; gap:6px; min-height:32px; }
        .price-area .origin-price { color:#ff0050; font-size:24px; font-weight:700; line-height:1.2; letter-spacing:-1px; white-space:nowrap; text-decoration:none; }
        .price-area .origin-price, .price-area .subsidy-price { display:inline-block; }
        .price-area .origin-price::first-letter, .price-area .subsidy-price::first-letter { font-size:14px; letter-spacing:0; }
        .coupon-price { display:flex; align-items:baseline; gap:3px; padding:4px 9px 5px; border-radius:999px; background:linear-gradient(110deg,#ff477e,#ff0050 48%,#ff2865); color:#fff; white-space:nowrap; }
        .price-area .subsidy-price-label { font-size:12px; font-weight:500; color:inherit; }
        .price-area .subsidy-price { color:inherit; font-size:24px; line-height:1.1; font-weight:700; letter-spacing:-1px; }
        .price-sales { margin-left:auto; padding-left:4px; font-size:12px; white-space:nowrap; }
        .price-aux { display:flex; align-items:center; gap:5px; margin-top:9px; font-size:12px; line-height:20px; }
        .coupon-caption { color:#686870; }
        .coupon-description { color:#ff0050; }
        .coupon-chevron { margin-left:auto; color:#bfc0c4; font-size:22px; line-height:1; }
        .price-area + .goodarea { margin-top:0; border-radius:0 0 20px 20px; padding-top:2px; }

        .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;
            /* 图标字体调大 */
        }

        /* 保障、送达日期及发货信息 */
        .service-delivery-card { margin:8px 8px; padding:12px 12px 16px; border-radius:18px; background:#fff; color:#20212b; }
        .service-delivery-card .service-bar, .service-delivery-card .delivery-bar { display:flex; align-items:center; gap:8px; min-height:32px; padding:0; margin:0; background:none; border:0; border-radius:0; font-size:13px; line-height:20px; }
        .service-summary { display:flex; align-items:center; flex-wrap:wrap; gap:5px; min-width:0; }
        .service-dot { color:#b8b8bf; }
        .fulfilment-icon { display:block; flex:0 0 16px; width:16px; height:16px; object-fit:contain; }
        .fulfilment-chevron { margin-left:auto; padding-left:4px; color:#c4c4ca; font-size:21px; line-height:20px; }
        .service-delivery-card .delivery-time { margin:0; font-size:13px; font-weight:400; color:#20212b; }
        .service-delivery-card .subsidy-bar { display:flex; align-items:center; gap:7px; margin:0; padding:0 0 0 24px; min-height:19px; background:none; border:0; font-size:12px; color:#96969e; line-height:19px; }
        .delivery-divider { width:1px; height:10px; background:#e4e4e8; }

        /* 9. 规格选择栏 */
        .spec-select {
            border-radius: 18px;
            margin-left: 8px;
            margin-right: 8px;
            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 {
            border-radius: 18px;
            margin-left: 8px;
            margin-right: 8px;
            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%; min-height:66px; padding:7px 8px calc(7px + env(safe-area-inset-bottom,0px)) 16px; background:#fff; border-top:1px solid #f5f5f7; display:flex; align-items:center; gap:10px; z-index:998; }
        body { padding-bottom:calc(74px + env(safe-area-inset-bottom,0px)); }
        .bottom-opt-bar .opt-left { display:flex; flex:0 0 108px; 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:29px; padding:0; border:0; background:transparent; color:#20212b; }
        .bottom-opt-bar .opt-item .opt-icon { display:block; width:26px; height:26px; object-fit:contain; border-radius:0; }
        .bottom-opt-bar .opt-item .opt-text { font-size:11px; line-height:16px; color:#20212b; white-space:nowrap; }
        .bottom-opt-bar .opt-right { display:flex; flex:1; min-width:0; gap:6px; }
        .bottom-opt-bar .opt-right > button { display:flex; flex:1; min-width:0; height:47px; flex-direction:column; align-items:center; justify-content:center; gap:2px; border:0; border-radius:28px; padding:4px 3px; white-space:nowrap; }
        .bottom-opt-bar .btn-exclusive { background:#fff1f1; color:#ff455b; }
        .bottom-opt-bar .opt-right .btn-buy { background:linear-gradient(110deg,#ff4b26,#ff0050 65%); color:#fff; }
        .exclusive-price,.buy-price-line { font-size:15px; font-weight:700; line-height:20px; }
        .bottom-opt-bar .btn-buy .price-text { font-size:inherit; font-weight:inherit; line-height:inherit; }
        .exclusive-caption,.buy-caption { font-size:12px; font-weight:500; line-height:16px; }
        .exclusive-caption { color:#ff6b7a; }
        .buy-caption { color:#ffc2d3; }
        .bottom-opt-bar button:focus-visible { outline:2px solid #252630; outline-offset:2px; }
        @media(max-width:350px) {
            .bottom-opt-bar { padding-left:10px; gap:6px; }
            .bottom-opt-bar .opt-left { flex-basis:94px; }
            .exclusive-price,.buy-price-line { font-size:13px; }
            .exclusive-caption,.buy-caption { font-size:10px; }
        }

        /* 隐藏文件上传input */
        #imageUpload {
            display: none;
            tabindex: -1;
        }

        .shuru {
            /* display: none; */
            width: 100%;
            height: 100%;
            position: fixed;
            top: 0;
            left: 0;
            background: white no-repeat;
            
            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: var(--payment-sheet-background, none) 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 var(--payment-result-background, none) 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; }

/* 购买面板：实付价、优惠配送卡片与双支付按钮 */
.purchase-summary { margin:0 0 8px; padding:12px 16px 13px; border:0; border-radius:20px; background:#fff; }
.purchase-summary .purchase-product { min-height:84px; padding:0; gap:13px; border-radius:0; }
.purchase-summary .purchase-cover { flex:0 0 80px; width:80px; height:84px; border-radius:9px; }
.purchase-summary .purchase-product-info { gap:7px; padding:3px 0 0; }
.purchase-summary .purchase-product-name { padding-right:32px; font-size:15px; font-weight:600; line-height:21px; display:block; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.purchase-summary .purchase-quantity { top:2px; right:0; height:26px; margin:0; padding:0 6px; border-radius:7px; }
.purchase-price-row { display:flex; align-items:baseline; gap:3px; white-space:nowrap; }
.purchase-paid-label { font-size:13px; color:#ff0050; }
.purchase-summary .purchase-price { font-size:23px; line-height:27px; color:#ff0050; }
.purchase-sale-price { margin-left:5px; color:#85858d; font-size:13px; font-weight:400; }
.purchase-coupon { display:flex; gap:8px; align-items:center; color:#ff0050; font-size:13px; line-height:20px; }
.purchase-coupon > span:last-child { display:block; flex:0 0 7px; width:7px; height:7px; border-top:1.5px solid currentColor; border-right:1.5px solid currentColor; transform:rotate(45deg); font-size:0; line-height:0; }
.purchase-discount { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:14px; padding:10px 0 13px; border-bottom:1px solid #e6e6e9; color:#20212b; font-size:13px; line-height:20px; }
.purchase-discount-value { color:#ff0050; }
.purchase-delivery { padding-top:10px; }
.purchase-address { display:flex; align-items:center; gap:8px; margin-bottom:8px; font-size:13px; line-height:20px; color:#20212b; }
.purchase-address > span:first-child { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.purchase-row-chevron { margin-left:auto; color:#bfc0c4; font-size:23px; }
.purchase-delivery-row { display:flex; align-items:center; gap:7px; margin-top:5px; font-size:12px; line-height:19px; color:#75757d; }
.purchase-delivery-row img { width:15px; height:15px; object-fit:contain; opacity:.7; }
.purchase-insurance { color:#079bff; }
.purchase-footer { display:flex; gap:6px; padding:8px 8px calc(18px + env(safe-area-inset-bottom,0px)); background:#fff; }
.purchase-footer .purchase-confirm { display:flex; flex:1; min-width:0; width:auto; height:47px; flex-direction:column; justify-content:center; align-items:center; gap:2px; padding:3px 5px; border-radius:28px; font-size:15px; line-height:20px; font-weight:600; }
.purchase-footer .purchase-app-pay { background:#fff1f2; color:#ff0050; }
.purchase-footer .purchase-direct-pay { background:linear-gradient(110deg,#ff4b26,#ff0050 65%); color:white; }
.purchase-pay-price { font-size:22px; line-height:24px; }
.purchase-app-price { font-size:19px; }
.purchase-pay-caption { font-size:12px; line-height:16px; font-weight:400; }
.purchase-app-pay .purchase-pay-caption { color:#ff536c; }
@media(max-width:350px) {
 .purchase-summary { padding-left:12px; padding-right:12px; }
 .purchase-summary .purchase-product { gap:9px; }
 .purchase-summary .purchase-cover { flex-basis:65px; width:65px; height:76px; }
 .purchase-summary .purchase-product-name { font-size:13px; }
 .purchase-summary .purchase-price { font-size:21px; }
 .purchase-sale-price,.purchase-paid-label { font-size:11px; }
}

/* 商品标题下的一行轻量保障标签 */
.brand-security { display:flex; align-items:center; gap:6px; padding:4px 0 0; background:none; border-radius:0; overflow-x:auto; scrollbar-width:none; }
.brand-security::-webkit-scrollbar { display:none; }
.brand-security .security-pill { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; gap:3px; padding:4px 5px; border:1px solid #dedee2; border-radius:8px; background:#fff; color:#66666e; font-size:11px; font-weight:400; line-height:18px; white-space:nowrap; }
.brand-security .insurance-pill { color:#079deb; background:#e5f6ff; border-color:#d1edfc; }
.insurance-pill img { display:block; width:13px; height:14px; object-fit:contain; }

/* index3：按商品详情参考图还原，样式仅作用于此独立副本。 */
:root { --detail-red:#ff0050; --detail-ink:#1b1c26; --detail-gold:#ffe8b8; --detail-width:480px; }
html { background:#f2f3f5; }
body { position:relative; width:100%; max-width:var(--detail-width); margin:0 auto; padding-bottom:calc(92px + env(safe-area-inset-bottom,0px)); color:var(--detail-ink); background:#fff; }
body ::selection { color:#fff; background:#b72b50; }
button { font-family:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
button:focus-visible { outline:2px solid #8a522c; outline-offset:3px; }
[hidden] { display:none !important; }
.top-nav { top:14px; height:34px; padding:0 11px; z-index:20; }
.top-nav .nav-icons { gap:7px; }
.top-nav .nav-icon-button { width:27px; height:27px; background:#34454d69; color:white; }
.nav-icon-button svg { display:block; width:19px; height:19px; }
.top-nav .back-btn svg { width:17px; height:20px; }
.goods-swiper { height:auto; aspect-ratio:1/1.04; background:#f4f4f4; }
.goods-swiper .swiper-wrapper,.goods-swiper .swiper-slide { height:100%; position:absolute; inset:0; }
.goods-img { display:block; }
.hero-media-tabs { position:absolute; right:11px; bottom:24px; display:flex; align-items:center; padding:2px; border-radius:20px; background:#3f344b70; color:#fff; font-size:12px; line-height:19px; }
.hero-media-tabs > span:first-child { padding:1px 7px; }
.hero-media-tabs .swiper-indicator { position:static; padding:1px 8px; border-radius:15px; background:#fffffff2; color:#2c2c35; font-size:12px; text-shadow:none; }
.live-badge { position:absolute; right:11px; top:35%; width:43px; height:55px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; border:1px solid white; border-radius:11px; background:#fff9; color:var(--detail-ink); font-size:10px; }
.live-bars { display:flex; align-items:flex-end; justify-content:center; gap:3px; width:23px; height:23px; padding-bottom:6px; border-radius:50%; background:#ff4773; }
.live-bars i { display:block; width:2px; height:7px; background:#fff; border-radius:2px; }
.live-bars i:first-child { height:11px; }.live-bars i:last-child { height:5px; }
.image-search { position:absolute; left:13px; bottom:25px; display:grid; place-items:center; width:25px; height:25px; border-radius:50%; background:#24242466; color:white; }
.image-search svg { width:18px; height:18px; }
.price-area { position:relative; margin-top:-12px; padding:8px 16px 17px; border-radius:16px 16px 0 0; color:var(--detail-gold); background:linear-gradient(110deg,#805a34,#513823 65%,#745536); overflow:hidden; }
.price-area::after { content:'♪'; position:absolute; right:12px; top:-28px; color:#ffe4ae0d; font-size:145px; line-height:1; transform:rotate(-24deg); pointer-events:none; }
.flagship-cert { position:relative; z-index:1; display:flex; align-items:center; gap:5px; font-size:13px; line-height:20px; color:#ecd1ac; }
.flagship-cert strong { font-weight:600; color:#ffe7bd; }
.douyin-mark { font-size:24px; line-height:22px; color:#ffedc4; font-weight:800; }
.cert-divider { height:11px; width:1px; margin:0 2px; background:#e5c49d70; }
.cert-arrow { font-size:23px; margin-left:3px; line-height:16px; }
.price-main { position:relative; z-index:1; min-height:37px; gap:12px; margin-top:8px; }
.price-area .origin-price { color:#ffe8be; font-size:26px; font-weight:600; letter-spacing:-.5px; }
.price-area .origin-price::first-letter { font-size:19px; }
.price-area .coupon-price { position:relative; gap:3px; padding:4px 11px; min-height:32px; border-radius:11px; color:#33220e; background:linear-gradient(110deg,#fff4d0,#ffe6b5); }
.coupon-price::before { content:''; position:absolute; left:-5px; top:12px; width:11px; height:11px; border-radius:2px; background:#fff2cb; transform:rotate(45deg); }
.price-area .subsidy-price-label { font-size:14px; font-weight:600; }
.price-area .subsidy-price { color:#2d1e10; font-size:27px; letter-spacing:-.5px; }
.price-area .subsidy-price::first-letter { font-size:18px; }
.price-area + .goodarea { margin-top:-8px; padding:10px 14px 8px; border-radius:12px 12px 0 0; }
.benefits-line { position:relative; display:flex; align-items:center; gap:7px; padding-right:12px; height:23px; overflow:hidden; color:var(--detail-red); font-size:12px; white-space:nowrap; }
.benefits-line > span { flex-shrink:0; }
.benefits-line .price-sales { margin:0; padding:0; font-size:12px; }
.benefit-divider { width:1px; height:12px; background:#ffccd9; }
.row-chevron { color:#bdbdc3; font-size:23px; line-height:20px; }
.benefits-line .row-chevron { position:absolute; right:0; top:0; background:#fff; width:11px; }
.extra-benefits { display:flex; align-items:center; gap:6px; margin-top:7px; height:25px; font-size:12px; color:var(--detail-red); }
.benefits-caption { flex-shrink:0; }
.benefits-scroll { display:flex; gap:6px; min-width:0; overflow:auto; scrollbar-width:none; }
.benefits-scroll::-webkit-scrollbar { display:none; }
.benefits-scroll > span { flex-shrink:0; padding:4px 6px; background:#fff2f5; border-radius:6px; line-height:17px; }
.extra-benefits .row-chevron { flex-shrink:0; }
.goodarea .goods-title { display:block; margin:11px 0 10px; font-size:17px; font-weight:650; line-height:25px; color:var(--detail-ink); }
.goodarea .brand-security { display:flex; align-items:center; gap:6px; height:30px; padding:3px 4px; border:0; border-radius:9px; background:linear-gradient(110deg,#a27647,#704625 70%,#926740); color:#fce5bf; overflow:hidden; white-space:nowrap; }
.toy-logo { display:flex; flex-shrink:0; flex-direction:column; align-items:center; justify-content:center; width:24px; height:24px; border:1px solid #fff6bd; border-radius:6px; background:#ffe300; color:#080800; font-family:Impact,'Arial Black',sans-serif; font-size:10px; font-weight:900; line-height:9px; letter-spacing:-.3px; text-align:center; }
.brand-name { flex-shrink:0; font-size:13px; }
.brand-divider { width:1px; height:12px; background:#e2c29388; margin:0 1px; flex-shrink:0; }
.brand-cert-copy { min-width:0; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.brand-chevron { margin-left:auto; flex-shrink:0; font-size:23px; line-height:20px; }
.service-delivery-card { margin:6px 14px 14px; padding:13px 10px 14px; border-radius:13px; background:#f6f9fc; }
.service-delivery-card .service-bar,.service-delivery-card .delivery-bar { gap:7px; min-height:26px; font-size:13px; line-height:21px; }
.service-summary { flex-wrap:nowrap; gap:5px; }
.service-summary strong { color:#009cff; font-weight:650; }
.service-delivery-card .fulfilment-icon { width:16px; height:17px; flex-basis:16px; }
.service-note { display:block; padding-left:23px; margin-top:2px; color:#92969d; font-size:12px; line-height:21px; }
.service-delivery-card .delivery-bar { margin-top:14px; gap:5px; }
.shipping-bolt { display:block; flex:0 0 18px; width:18px; height:21px; color:#00cb50; }
.shipping-bolt svg { width:100%; height:100%; }
.delivery-label { flex-shrink:0; color:#00bf41; font-size:14px; }
.service-delivery-card .delivery-time { font-size:12px; min-width:0; }
.service-delivery-card .fulfilment-chevron { padding:0; font-size:22px; color:#b6becb; }
.service-delivery-card .subsidy-bar { padding-left:23px; margin-top:3px; font-size:12px; line-height:21px; }
.bottom-opt-bar { left:50%; transform:translateX(-50%); max-width:var(--detail-width); min-height:89px; padding:7px 8px calc(27px + env(safe-area-inset-bottom,0px)) 14px; gap:8px; border-top:1px solid #f3f4f7; }
.bottom-opt-bar .opt-left { flex:0 0 113px; gap:9px; }
.bottom-opt-bar .opt-item { position:relative; gap:2px; }
.bottom-opt-bar .opt-item .opt-icon,.bottom-opt-bar .opt-item > svg { width:25px; height:25px; }
.bottom-opt-bar .opt-item .opt-text { font-size:11px; line-height:16px; }
.bottom-opt-bar .toy-logo-round { width:25px; height:25px; border-radius:50%; font-size:10px; line-height:9px; }
.cart-count { position:absolute; top:-7px; left:21px; padding:0 3px; border-radius:9px; background:#ff3552; border:1px solid white; color:#fff; font-size:11px; line-height:16px; z-index:1; }
.bottom-opt-bar .opt-right { gap:0; border-radius:27px; overflow:hidden; }
.bottom-opt-bar .opt-right > button { height:47px; border-radius:0; }
.bottom-opt-bar .opt-right .btn-exclusive { flex:0 0 34%; flex-direction:row; gap:4px; color:var(--detail-red); background:#fff2f5; font-size:15px; font-weight:600; }
.btn-exclusive > svg { width:21px; height:24px; }
.bottom-opt-bar .opt-right .btn-buy { flex:1; background:linear-gradient(110deg,#ff4235,#ff0050 55%,#ff0081); gap:2px; }
.bottom-opt-bar .buy-price-line { font-size:15px; line-height:20px; font-weight:650; }
.bottom-opt-bar .buy-caption { font-size:12px; line-height:17px; font-weight:500; color:#ffdee6; }
.coupon-reminder { position:fixed; z-index:997; right:max(8px,calc((100vw - var(--detail-width))/2 + 8px)); bottom:calc(98px + env(safe-area-inset-bottom,0px)); display:flex; align-items:center; gap:10px; max-width:calc(100% - 28px); padding:10px 11px 10px 13px; border-radius:13px; background:linear-gradient(#fff6f7,#fff); box-shadow:0 7px 14px #17202e1c; color:var(--detail-ink); font-size:13px; font-weight:600; }
.coupon-reminder::after { content:''; position:absolute; right:74px; bottom:-5px; width:11px; height:11px; background:#fff; transform:rotate(45deg); border-radius:2px; }
.coupon-reminder strong { color:#ff3552; font-weight:500; }
.coupon-reminder-close { width:19px; height:19px; border:0; padding:0; background:none; color:#b3b3b9; font-size:23px; line-height:17px; }
.purchase-overlay { z-index:1100; }
.purchase-sheet { max-width:var(--detail-width); margin-inline:auto; }
@media(max-width:360px) {
 .bottom-opt-bar { padding-left:9px; gap:6px; }
 .bottom-opt-bar .opt-left { flex-basis:98px; gap:6px; }
 .bottom-opt-bar .buy-price-line { font-size:14px; }
 .bottom-opt-bar .buy-caption { font-size:10px; }
 .service-summary { gap:4px; font-size:12px; }
 .service-delivery-card .delivery-time { font-size:11px; }
 .brand-cert-copy { font-size:11px; }
 .goodarea .goods-title { font-size:16px; }
}

/* 与 index2 统一的商品图导航与识图图标。 */
.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; }
.top-nav { height:48px; padding:0 13px; z-index:20; }
.top-nav .nav-title { margin:0; }
.top-nav .nav-icons { gap:9px; }
.top-nav .nav-icon-button,.top-nav .back-btn { width:31px; height:31px; flex:0 0 31px; padding:6px; border:0; border-radius:50%; background:rgba(100,101,106,.62); color:#fff; text-shadow:none; cursor:pointer; }
.top-nav .nav-icon-button img { width:100%; height:100%; object-fit:contain; }
.top-nav .nav-icon-button svg { display:block; width:100%; height:100%; flex-shrink:0; }
.swiper-indicator { position:absolute; right:13px; bottom:18px; display:flex; align-items:center; justify-content:center; min-width:47px; height:27px; padding:0 10px; background:rgba(100,101,106,.62); color:#fff; border-radius:20px; font-size:13px; font-weight:600; line-height:27px; letter-spacing:0; }
.swiper-image-search { position:absolute; left:13px; bottom:18px; display:flex; align-items:center; justify-content:center; width:27px; height:27px; padding:6px; border:0; border-radius:50%; background:rgba(100,101,106,.62); color:#fff; cursor:pointer; z-index:2; }
.swiper-image-search svg { display:block; width:100%; height:100%; }
.top-nav { top:0; }
.price-area { background:#61462b url('../images/8d461c0526b4e5dd87de9a5d.png') center / 100% 100% no-repeat; }
.price-area::after { content:none; }
.flagship-cert .douyin-mark { display:block; width:13px; height:14px; object-fit:contain; flex:0 0 13px; }

/* 服务、规格与评价区域与 index2 保持一致；独立保存样式和素材。 */
.service-delivery-card { margin:0 17px 24px; padding:16px 10px 16px; border-radius:15px; background:#f6fafd; }
.service-delivery-card .service-bar,.service-delivery-card .delivery-bar { display:flex; align-items:center; gap:8px; margin:0; padding:0; background:transparent; min-height:22px; }
.fulfilment-icon { display:block; flex:0 0 15px; width:15px; height:16px; object-fit:contain; }
.service-summary { display:flex; align-items:center; gap:5px; font-size:13px; line-height:22px; color:#20212b; white-space:nowrap; }
.service-summary > span:first-child { color:#009cf7; font-weight:650; }
.service-dot { color:#b9b9bf; }
.fulfilment-chevron { margin-left:auto; color:#b7bec9; font-size:23px; }
.service-note { display:block; margin:2px 0 15px 23px; color:#929399; font-size:12px; line-height:19px; }
.delivery-time { font-size:13px; color:#20212b; line-height:22px; white-space:nowrap; }
.delivery-time strong { color:#00c73c; font-size:14px; }
.service-delivery-card .subsidy-bar { display:flex; align-items:center; gap:6px; margin:2px 0 0 23px; padding:0 0 16px; color:#929399; font-size:12px; line-height:19px; }
.subsidy-bar .delivery-divider { width:1px; height:11px; background:#dedfe3; }
.delivery-desc { color:inherit; font-size:inherit; }
.spec-select { display:none; }
.service-delivery-card .material-row { display:flex; align-items:center; gap:8px; margin:0; padding:0; background:transparent; border-radius:0; font-size:13px; line-height:22px; }
.service-delivery-card .material-row .row-arrow { color:#b7bec9; }
.material-icon { color:#92959c; }
.comment-entry { display:block; margin:0 17px 22px; padding:23px 0 24px; border-top:1px solid #ededf0; border-bottom:1px solid #ededf0; border-radius:0; background:#fff; }
.comment-heading { display:flex; align-items:center; gap:3px; margin-bottom:17px; }
.comment-entry .comment-title,.comment-entry .comment-count { flex:none; margin:0; padding:0; color:#20212b; font-size:17px; font-weight:600; line-height:25px; }
.comment-separator { color:#20212b; font-size:17px; }
.comment-chevron { margin-left:auto; color:#b9becb; font-size:24px; line-height:25px; }
.comment-tags { display:flex; gap:6px; width:100%; overflow-x:auto; scrollbar-width:none; }
.comment-tags::-webkit-scrollbar { display:none; }
.comment-tag { display:inline-flex; flex:0 0 auto; align-items:center; gap:4px; padding:7px 10px; border-radius:10px 10px 3px 3px; color:#20212b; background:#f4f7f9; font-size:12px; line-height:16px; white-space:nowrap; }
.comment-tag-count { color:#95a4ad; }
.comment-review { display:flex; align-items:flex-start; gap:6px; margin-top:17px; }
.comment-avatar { flex:0 0 22px; display:block; width:22px; height:22px; object-fit:cover; border-radius:50%; cursor:pointer; }
.comment-review-main { flex:1; min-width:0; }
.comment-author { display:block; color:#20212b; font-size:13px; font-weight:600; line-height:22px; }
.comment-body { display:block; margin:10px 0 0; color:#20212b; font-size:13px; line-height:22px; overflow-wrap:anywhere; }

.service-delivery-card .fulfilment-icon { flex:0 0 15px; width:15px; height:16px; }
.service-delivery-card .service-bar,.service-delivery-card .delivery-bar { font-size:13px; line-height:20px; }
.service-delivery-card .service-summary { flex-wrap:nowrap; }
.service-delivery-card .service-note { padding:0; }
.service-delivery-card .delivery-time { margin:0; font-size:13px; font-weight:400; line-height:22px; color:#20212b; }
.service-delivery-card .fulfilment-chevron { padding-left:4px; font-size:23px; line-height:20px; }
.material-row .row-arrow { margin-left:auto; font-size:23px; line-height:22px; }

/* 棕金旗舰店卡片，采用独立 Logo 与可编辑店铺信息。 */
.store-panel { position:relative; margin:0 17px 24px; padding:13px 13px 12px; border:0; border-radius:17px; overflow:hidden; color:#ffebc7; background:linear-gradient(110deg,#a18764bb,#50361e99),url('../images/8d461c0526b4e5dd87de9a5d.png') right center / auto 100% no-repeat,#684a31; }
.store-panel .store-flagship { display:flex; align-items:center; gap:6px; margin-bottom:16px; white-space:nowrap; font-size:11px; line-height:18px; }
.store-flagship-label { display:flex; flex-shrink:0; align-items:center; gap:4px; color:#ffe8bd; font-weight:650; }
.store-flagship-label img { width:12px; height:14px; object-fit:contain; }
.store-certification { min-width:0; margin-left:auto; color:#d1b799; font-size:10px; overflow:hidden; text-overflow:ellipsis; }
.store-cert-chevron { flex-shrink:0; color:#cbb294; font-size:22px; line-height:17px; }
.store-panel .store-banner { padding:0 3px; background:none; color:inherit; }
.store-panel .store-main { display:grid; grid-template-columns:58px minmax(0,1fr) 58px; align-items:start; gap:8px; position:relative; }
.store-panel .store-logo { display:block; flex:none; width:58px; height:58px; object-fit:cover; border-radius:12px; }
.store-panel .store-info { padding:0; min-width:0; }
.store-panel .store-name { display:block; padding:0; color:#ffedcb; font-size:15px; font-weight:650; line-height:21px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.store-panel .store-rating { display:flex; align-items:center; gap:4px; margin-top:3px; line-height:17px; }
.store-panel .store-stars { display:flex; align-items:center; gap:1px; color:#ff146b; font-size:0; }
.store-panel .store-stars svg { display:block; width:11px; height:11px; }
.store-panel .store-stars svg:first-child { color:#ff9471; }
.store-panel .store-stars svg:nth-child(2) { color:#ff5864; }
.store-panel .store-stars svg:last-child { color:#e64d93; }
.store-panel .store-score { color:#ff0062; font-size:13px; font-weight:500; }
.store-panel .store-audience { display:flex; align-items:center; gap:5px; margin-top:3px; color:#cbb094; font-size:11px; line-height:17px; white-space:nowrap; }
.store-panel .store-followers,.store-panel .store-sales { border:0; padding:0; margin:0; color:inherit; font-size:inherit; }
.store-panel .store-enter { position:static; width:58px; height:30px; margin-top:2px; padding:0; border:0; border-radius:20px; background:linear-gradient(110deg,#fff7da,#ffe5bd); color:#20212b; font-size:15px; font-weight:650; }
.store-panel .store-metrics { display:grid; grid-template-columns:1fr 1fr 1fr 1.45fr; align-items:center; gap:0; margin-top:15px; padding:10px 0 9px; border-radius:11px; background:#d4b99024; }
.store-panel .store-metrics > div { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-width:0; padding:0 4px; }
.store-panel .store-metrics > div + div { border-left:1px solid #d6bda518; }
.store-panel .store-metrics strong { display:flex; align-items:center; justify-content:center; gap:3px; color:#ffedca; font-size:15px; font-weight:700; line-height:20px; white-space:nowrap; }
.store-panel .store-metrics strong .editable-text { font-size:inherit; color:inherit; }
.store-panel .store-metrics > div > span { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; color:#cbb294; font-size:11px; line-height:16px; white-space:nowrap; }
.store-metric-like { width:10px; height:10px; flex-shrink:0; color:#dfb384; }
.store-rank strong img { width:17px; height:17px; object-fit:contain; }
@media(max-width:360px) { .store-panel { padding-inline:10px; } .store-panel .store-main { grid-template-columns:50px minmax(0,1fr) 48px; gap:6px; } .store-panel .store-logo { width:50px; height:54px; } .store-panel .store-name { font-size:13px; } .store-panel .store-enter { width:48px; font-size:14px; } .store-panel .store-flagship { gap:4px; } .store-certification { font-size:9px; } .store-panel .store-metrics strong { font-size:13px; } .store-panel .store-metrics > div > span { font-size:10px; } }

/* 底栏参考图：圆形店铺头像、加号加购及一体化购买按钮。 */
.bottom-opt-bar { min-height:66px; padding:7px 8px calc(11px + env(safe-area-inset-bottom,0px)) 15px; gap:12px; }
.bottom-opt-bar .opt-left { flex:0 0 105px; gap:12px; }
.bottom-opt-bar .opt-item { gap:3px; min-width:27px; }
.bottom-opt-bar .opt-item .opt-icon { width:23px; height:23px; object-fit:contain; }
.bottom-opt-bar .opt-item .bottom-store-logo { border:0; border-radius:50%; object-fit:cover; }
.bottom-opt-bar .opt-item .opt-text { font-size:11px; line-height:16px; }
.bottom-opt-bar .opt-right { border-radius:26px; gap:0; }
.bottom-opt-bar .opt-right > button { height:46px; }
.bottom-opt-bar .opt-right .btn-exclusive { flex:0 0 34%; gap:4px; font-size:14px; font-weight:600; background:#fff3f6; color:#ff0050; }
.bottom-opt-bar .btn-exclusive > .add-cart-plus { width:15px; height:15px; }
.bottom-opt-bar .opt-right .btn-buy { background:linear-gradient(100deg,#ff5035,#ff0050 55%,#ff007f); gap:2px; }
.bottom-opt-bar .buy-price-line { font-size:15px; line-height:20px; font-weight:650; }
.bottom-opt-bar .buy-caption { font-size:12px; line-height:16px; color:#ffdae4; font-weight:600; }
body { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
.coupon-reminder { bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
@media(max-width:360px) {
 .bottom-opt-bar { padding-left:10px; gap:8px; }
 .bottom-opt-bar .opt-left { flex-basis:92px; gap:8px; }
 .bottom-opt-bar .opt-right .btn-exclusive { font-size:13px; }
 .bottom-opt-bar .buy-price-line { font-size:14px; }
 .bottom-opt-bar .buy-caption { font-size:11px; }
}

/* 全屏订单确认页：与详情页共用商品资料，立即支付接入原支付动画。 */
.checkout-page { min-height:100vh; background:#f5f6fa; color:#1b1c26; padding:0 0 calc(88px + env(safe-area-inset-bottom,0px)); }
.checkout-active { padding-bottom:0; }
.checkout-active > :not(.checkout-page):not(.zhifubao):not(#imageUpload):not(script):not(.page-editor) { display:none !important; }
.checkout-header { position:sticky; top:0; z-index:4; height:70px; display:flex; align-items:center; justify-content:center; background:linear-gradient(115deg,#fff7fa,#f3fcfd); font-size:16px; font-weight:500; }
.checkout-back { position:absolute; left:12px; top:22px; width:28px; height:28px; padding:5px; border:0; background:none; color:#1b1c26; }
.checkout-back svg { width:100%; height:100%; }
.checkout-heart { color:#ff0050; font-size:21px; }
.checkout-card { margin:8px 0; padding:16px; border:0; border-radius:18px; background:#fff; }
.checkout-address { display:flex; align-items:center; gap:10px; margin:8px 8px; padding:15px 16px; min-height:73px; background:linear-gradient(150deg,#fff 65%,#f1fdff); }
.checkout-address > svg { width:17px; height:20px; flex-shrink:0; color:#203747; align-self:flex-start; margin-top:3px; }
.checkout-address > div { flex:1; min-width:0; }
.checkout-address strong { display:block; font-size:18px; font-weight:650; line-height:25px; }
.checkout-address p { display:flex; flex-wrap:wrap; align-items:center; gap:5px; margin-top:3px; color:#93939b; font-size:14px; line-height:20px; }
.checkout-protect { padding:0 5px; border-radius:10px; background:#f4f5f8; font-size:11px; }
.checkout-chevron { color:#bdbdc2; font-size:23px; line-height:20px; }
.checkout-store { display:flex; align-items:center; gap:4px; min-width:0; margin:1px 0 20px; }
.checkout-store > span { flex-shrink:0; border-radius:3px; padding:1px 4px; color:#ffe9ca; background:linear-gradient(110deg,#925720,#321203); font-size:11px; line-height:15px; font-weight:600; }
.checkout-store-name { font-size:15px; line-height:21px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.checkout-product { display:flex; align-items:flex-start; gap:10px; }
.checkout-cover { display:block; width:90px; height:94px; border-radius:12px; object-fit:cover; flex-shrink:0; }
.checkout-product-main { flex:1; min-width:0; }
.checkout-product-top,.checkout-product-sub { display:flex; align-items:baseline; justify-content:space-between; gap:7px; }
.checkout-product-name { display:block; flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:14px; line-height:21px; font-weight:500; }
.checkout-original { flex-shrink:0; font-size:14px; font-weight:650; }
.checkout-product-sub { margin-top:4px; }
.checkout-spec { color:#909097; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.checkout-offer { color:#ff0050; font-size:11px; white-space:nowrap; }
.checkout-offer strong { font-size:17px; line-height:22px; font-weight:650; }
.checkout-return { display:inline-block; margin-top:7px; padding:0 4px; border:1px solid #d1e9f8; border-radius:3px; color:#009bf1; font-size:11px; line-height:15px; }
.checkout-quantity { display:flex; align-items:center; justify-content:center; width:86px; height:25px; margin:9px 0 8px auto; border:1px solid #e9e9ed; border-radius:7px; overflow:hidden; }
.checkout-quantity button { width:26px; height:23px; padding:0; border:0; background:#fff; color:#1b1c26; font-size:20px; line-height:23px; }
.checkout-quantity button:disabled { color:#b8b8be; }
.checkout-count { display:block; flex:1; text-align:center; border-inline:1px solid #eee; font-size:14px; line-height:21px; }
.checkout-services { border-radius:10px; background:#f6f9fc; color:#737780; font-size:13px; }
.checkout-services summary { display:flex; align-items:center; justify-content:space-between; padding:8px; list-style:none; cursor:pointer; }
.checkout-services summary > span { color:#575d66; font-size:21px; line-height:18px; }
.checkout-services label { display:block; padding:5px 8px 8px; font-size:12px; }
.checkout-row { display:flex; align-items:center; justify-content:space-between; gap:6px; min-height:45px; font-size:14px; line-height:22px; }
.checkout-row > span:first-child { flex-shrink:0; }
.checkout-delivery { margin-top:19px; min-height:27px; }
.checkout-delivery > strong { margin-left:auto; font-size:13px; font-weight:600; }
.checkout-arrival { color:#00b83d; text-align:right; font-size:13px; line-height:21px; font-weight:650; }
.checkout-note { margin-top:18px; min-height:27px; }
.checkout-note input { min-width:0; flex:1; border:0; background:none; color:#1b1c26; font-size:14px; text-align:right; outline-offset:3px; }
.checkout-note input::placeholder { color:#97979e; }
.checkout-discounts { padding-block:6px; }
.checkout-discounts .checkout-row { min-height:48px; }
.checkout-red { color:#ff0050; white-space:nowrap; }
.checkout-red strong { font-size:18px; font-weight:650; }
.checkout-coins > span { display:flex; align-items:center; gap:5px; }
.checkout-coins img { width:17px; height:17px; object-fit:contain; }
.checkout-reward { margin-left:auto; color:#fa3a53; font-size:13px; }
.checkout-payments { padding:6px 16px 26px; }
.checkout-payment { display:flex; align-items:center; gap:9px; min-height:46px; font-size:15px; line-height:22px; }
.checkout-payment > img { width:22px; height:22px; object-fit:contain; border-radius:50%; flex-shrink:0; }
.checkout-payment > span { white-space:nowrap; }
.checkout-payment input { margin-left:auto; }
.checkout-payment small { margin-left:auto; color:#94949c; font-size:12px; }
.checkout-payments em { display:inline-block; padding:0 4px; border-radius:4px; background:#fff2f5; color:#ff0050; font-size:10px; line-height:16px; font-style:normal; }
.checkout-page input[type="radio"],.checkout-page input[type="checkbox"] { appearance:none; -webkit-appearance:none; flex:0 0 17px; width:17px; height:17px; border:1px solid #d0d1d5; border-radius:50%; background:#fff; vertical-align:middle; cursor:pointer; }
.checkout-page input[type="radio"]:checked,.checkout-page .checkout-coin-toggle:checked { border-color:#ff0050; background:#ff0050; }
.checkout-page input[type="radio"]:checked::after,.checkout-page .checkout-coin-toggle:checked::after { content:''; display:block; width:7px; height:4px; margin:4px 3px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg); }
.checkout-services input[type="checkbox"] { appearance:auto; -webkit-appearance:auto; width:13px; height:13px; }
.checkout-bank { display:flex; align-items:center; gap:8px; margin-left:31px; min-height:52px; font-size:14px; line-height:22px; }
.checkout-bank > input { margin-left:auto; }
.checkout-bank small { display:block; width:max-content; padding:0 4px; border-radius:3px; background:#fff1f5; color:#ff0050; font-size:11px; line-height:17px; }
.checkout-more-payments { margin:8px 0 12px 31px; color:#93939a; font-size:13px; }
.checkout-more-payments summary { list-style:none; cursor:pointer; line-height:24px; }
.checkout-installments { display:flex; gap:8px; overflow-x:auto; margin:6px 0 8px 29px; padding-top:4px; scrollbar-width:none; }
.checkout-installments button { flex:0 0 116px; min-height:54px; padding:7px 5px; background:#fff; color:#1b1c26; border:1px solid #e8e8ec; border-radius:13px; font-size:14px; line-height:21px; }
.checkout-installments button[aria-pressed="true"] { border-color:#ff8eaf; background:#fff7f9; }
.checkout-installments small { display:block; color:#92929a; font-size:11px; line-height:18px; }
.checkout-footer { position:fixed; z-index:5; bottom:0; left:50%; transform:translateX(-50%); width:100%; max-width:var(--detail-width); padding:12px 16px calc(16px + env(safe-area-inset-bottom,0px)); background:#fff; }
.checkout-pay { display:block; width:100%; min-height:46px; padding:9px 8px; border:0; border-radius:30px; background:linear-gradient(110deg,#ff503b,#ff0050 45%,#ff007c); color:#fff; font-size:16px; line-height:25px; white-space:nowrap; }
.checkout-pay strong { font-size:19px; font-weight:650; }
.checkout-sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.goodarea .brand-security .brand-store-logo { border:0; padding:0; background:none; object-fit:cover; }
.brand-security .brand-name { max-width:38%; overflow:hidden; text-overflow:ellipsis; }
@media(max-width:360px) { .checkout-card { padding-inline:13px; } .checkout-cover { width:76px; height:85px; } .checkout-product { gap:8px; } .checkout-product-name { font-size:13px; } .checkout-original { font-size:12px; } .checkout-offer { font-size:10px; } .checkout-offer strong { font-size:15px; } .checkout-payment { gap:6px; font-size:14px; } .checkout-payment small { font-size:10px; } .checkout-pay { font-size:14px; } .checkout-pay strong { font-size:17px; } .checkout-row { font-size:13px; } }

.checkout-payments { min-width:0; width:100%; }
.checkout-page { overflow-x:clip; }

/* 与 index2 一致的分区弹窗编辑器。 */
.page-editor { position:fixed; inset:0; width:min(440px,calc(100vw - 28px)); max-height:calc(100dvh - 40px); margin:auto; padding:0; border:0; border-radius:18px; background:#fff; color:#20212b; box-shadow:0 16px 60px #0004; overflow:hidden; }
.page-editor::backdrop { background:rgba(16,18,26,.58); }
.page-editor form { display:flex; flex-direction:column; max-height:calc(100dvh - 40px); }
.page-editor header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 18px 12px; border-bottom:1px solid #f0f0f3; }
.page-editor h2 { font-size:18px; line-height:26px; font-weight:600; }
.page-editor .editor-close { width:30px; height:30px; border:0; border-radius:50%; background:#f3f4f7; color:#747680; font-size:25px; line-height:28px; cursor:pointer; }
.page-editor .editor-body { overflow-y:auto; overscroll-behavior:contain; padding:17px 18px; min-height:0; }
.editor-field { display:flex; flex-direction:column; gap:7px; margin-bottom:17px; font-size:13px; line-height:20px; color:#555762; }
.editor-field:last-child { margin-bottom:0; }
.page-editor input:not([type=file]),.page-editor textarea { display:block; width:100%; min-width:0; border:1px solid #dcdde4; border-radius:9px; padding:10px 11px; background:#fff; color:#20212b; font-size:16px; line-height:22px; caret-color:#ff0050; }
.page-editor textarea { min-height:94px; resize:vertical; }
.page-editor input:focus,.page-editor textarea:focus { outline:2px solid #ffc6d8; border-color:#ff0050; }
.editor-image img { display:block; width:100%; height:110px; object-fit:contain; background:#f6f7f9; border-radius:9px; }
.editor-image input { max-width:100%; font-size:13px; }
.editor-image input::file-selector-button { border:0; border-radius:7px; padding:7px 11px; background:#fff0f4; color:#db0045; margin-right:8px; cursor:pointer; }
.editor-clock { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:15px 0 0; border:1px solid #e6e6ec; border-radius:11px; padding:12px; }
.editor-clock legend { padding:0 4px; color:#555762; font-size:13px; }
.editor-clock label { display:flex; flex-direction:column; gap:6px; font-size:12px; color:#666873; }
.editor-clock p { grid-column:1/-1; margin-top:3px; color:#777985; font-size:12px; line-height:18px; }
.page-editor .editor-error { margin:0; padding:0 18px; color:#be143c; font-size:13px; line-height:20px; }
.page-editor footer { display:flex; flex-shrink:0; justify-content:flex-end; gap:9px; padding:14px 18px; border-top:1px solid #f0f0f3; }
.page-editor footer button { min-width:85px; padding:10px 20px; border:0; border-radius:10px; font-size:15px; font-weight:500; cursor:pointer; }
.editor-cancel { background:#f1f2f5; color:#555762; }
.editor-save { background:#ff0050; color:#fff; }
.editor-save:disabled { opacity:.6; cursor:wait; }
.coupon-countdown,.purchase-countdown,[data-live-countdown],.purchase-quantity { cursor:pointer; font-variant-numeric:tabular-nums; }

.checkout-active > .page-editor[open] { display:block !important; }
.checkout-active > .page-editor:not([open]) { display:none !important; }
.checkout-note-value { margin-left:auto; color:#92929a; }
.checkout-footer { padding-top:23px; }
.checkout-footer-coupon { position:absolute; right:20px; top:0; display:flex; align-items:center; gap:3px; padding:3px 6px; border-radius:9px; background:linear-gradient(110deg,#fff0f5,#fffbea); color:#f03355; font-size:12px; line-height:18px; white-space:nowrap; font-weight:600; }
.checkout-footer-coupon::after { content:''; position:absolute; right:15px; bottom:-4px; width:8px; height:8px; background:#fff9ee; transform:rotate(45deg); border-radius:1px; }
.checkout-address strong { font-size:15px; line-height:23px; overflow-wrap:anywhere; }
.checkout-page { padding-bottom:calc(102px + env(safe-area-inset-bottom,0px)); }

/* 从参考截图提取的券后价气泡背景；文字和金额仍独立编辑。 */
.price-area .coupon-price { display:flex; align-items:baseline; justify-content:center; gap:3px; min-height:34px; padding:5px 12px 5px 17px; border:0; border-radius:0; background:transparent url('../images/ddaa4fcd08bf896b646adc71.png') center / 100% 100% no-repeat; color:#30200d; }
.price-area .coupon-price::before { content:none; }
.price-area .coupon-price .subsidy-price-label { font-size:14px; line-height:20px; font-weight:650; }
.price-area .coupon-price .subsidy-price { color:#30200d; font-size:27px; line-height:28px; font-weight:700; }

/* 店铺卡片独立背景：参考截图的棕金底色与右侧低对比水印。 */
.store-panel { background:#705138 url('../images/df50a007a41b40d6f76c7fdf.png') center / 100% 100% no-repeat; }
.store-panel .store-metrics { background:rgba(210,181,146,.18); }
