/* 全局容器优化 */
    .goods-con {
        margin-top: 30px !important;
        width: 100%;
    }
    .card {
        border: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 30px;
        transition: transform 0.3s;
        background: #fff;
    }
    .card-body {
        padding: 30px;
    }
    
    /* 商品图片区域 */
    .goods-cover {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: contain;
        border-radius: 12px;
        background: #f9f9f9;
    }
    
    /* 商品标题 */
    .card-title {
        font-size: 22px;
        font-weight: 700;
        color: #333;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    /* 价格区域 */
    .goods-attr .currency {
        color: var(--price);
        font-size: 18px;
        font-weight: bold;
        position: relative;
        top: -4px;
    }
    .goods-attr .price {
        color: var(--price);
        font-size: 32px;
        font-weight: 800;
        letter-spacing: -1px;
    }
    .text-muted {
        font-size: 13px;
        color: #999 !important;
    }

    /* 规格选择组 */
    .form-group {
        margin-bottom: 20px;
    }
    .form-title {
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
        font-weight: 500;
        display: flex;
        align-items: center;
    }
    .form-title i {
        margin-right: 6px;
        font-size: 16px;
        color: var(--brand);
    }
    .spec-options {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    .spec-option {
        padding: 8px 20px;
        border: 1px solid #f0f0f0;
        background: #f9f9f9;
        border-radius: 8px;
        font-size: 14px;
        color: #555;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        min-width: 40px;
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    .spec-option:hover {
        background: #fff;
        border-color: #ddd;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .spec-option.active {
        background: var(--brand-soft);
        border-color: var(--brand);
        color: var(--brand);
        font-weight: 600;
        box-shadow: 0 6px 16px rgba(95, 132, 255, 0.18);
    }
    .spec-option.active::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0 12px 12px;
        border-color: transparent transparent var(--brand) transparent;
    }
    .spec-option.disabled {
        opacity: 0.5 !important;
        cursor: not-allowed !important;
        background: #eee !important;
        text-decoration: line-through !important;
        pointer-events: none !important;
    }
    
    .spec-option.available {
        cursor: pointer;
        transition: all 0.2s ease;
    }

    /* 数量选择器 */
    .quantity-selector {
        display: flex;
        align-items: center;
        border: 1px solid #eee;
        border-radius: 8px;
        width: fit-content;
        overflow: hidden;
        margin-top: 5px;
    }
    .quantity-btn {
        width: 38px;
        height: 38px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #666;
        transition: background 0.2s;
        border: none;
        font-size: 14px;
    }
    .quantity-btn:hover {
        background: #f5f5f5;
        color: #333;
    }
    .quantity-input {
        width: 50px;
        height: 38px;
        border: none;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        color: #333;
        outline: none;
        -moz-appearance: textfield;
        margin: 0;
    }

    /* 输入框美化 */
    .layui-input {
        height: 42px;
        border-radius: 8px;
        border-color: #eee;
        background: #fcfcfc;
        transition: all 0.3s;
        padding-left: 15px;
    }
    .layui-input:focus {
        border-color: var(--brand) !important;
        background: #fff;
        box-shadow: 0 0 0 3px var(--brand-ring);
    }

    /* 支付方式 */
    .payment-methods {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        flex-direction: unset;
    }
    .payment-item {
        width: 100%;
        padding: 15px;
        border: 1px solid #eee;
        border-radius: 10px;
        background: #fff;
        transition: all 0.2s;
        position: relative;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }
    .payment-item:hover {
        border-color: rgba(95, 132, 255, 0.22);
        background: var(--brand-soft);
    }
    .payment-item.active {
        border-color: var(--brand);
        background: var(--brand-soft);
        box-shadow: 0 8px 18px rgba(95, 132, 255, 0.16);
    }
    .payment-icon {
        width: 36px;
        height: 36px;
        margin-right: 12px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f5f5;
    }
    .payment-icon img {
        width: 24px;
        height: 24px;
    }
    .payment-info {
        flex: 1;
        min-width: 0;
    }
    .payment-name {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 2px;
    }
    .payment-desc {
        font-size: 12px;
        color: #888;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .payment-checked {
        color: var(--brand);
        position: absolute;
        top: -8px;
        right: -8px;
        background: #fff;
        border-radius: 50%;
        font-size: 20px;
        display: none;
        z-index: 2;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .payment-item.active .payment-checked {
        display: block;
    }

    /* 购买按钮 */
    .drawer-footer {
        margin-top: 30px;
    }
    .drawer-actions {
        display: flex;
        gap: 12px;
        align-items: stretch;
    }
    .drawer-btn {
        height: 54px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        text-decoration: none;
    }
    .home-btn {
        display: none; /* 桌面端隐藏首页按钮 */
    }
    .buy-btn-g {
        width: 100%;
        background: linear-gradient(135deg, var(--primary-from), var(--primary-to));
        color: #fff !important;
        box-shadow: 0 8px 20px var(--primary-shadow);
    }
    .buy-btn-g:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(90, 140, 214, 0.34);
        opacity: 0.95;
    }
    .buy-btn-g i {
        font-size: 18px;
    }
    .total-price {
        font-size: 14px;
        color: rgba(255,255,255,0.85);
        font-weight: 400;
        padding-left: 12px;
    }
    .total-price .dynamic-price {
        font-weight: 700;
        color: #fff;
        font-size: 20px;
        margin-left: 2px;
    }

    /* 商品详情内容 */
    .intro {
        font-size: 16px;
        line-height: 1.8;
        color: #444;
        padding: 10px;
    }
    .intro img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 10px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    
    /* 弹窗样式优化 */
    .layui-layer {
        border-radius: 12px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    }
    .layui-layer-title {
        background: #fff !important;
        color: #333 !important;
        font-size: 16px !important;
        font-weight: bold !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .layui-layer-setwin .layui-layer-close1 {
        background-position: -120px -30px !important; /* 调整为更现代的图标位置，或者保留默认 */
        opacity: 0.6;
    }
    
    /* 隐藏底部的导航栏（如果是公共部分引入的） */
    .footer-nav {
        display: none;
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
        .goods-con {
            margin-top: 15px !important;
            padding: 0 10px;
        }
        .card {
            border-radius: 12px;
            margin-bottom: 15px;
        }
        .card-body {
            padding: 20px;
        }
        .goods-cover {
            max-height: 180px;
            width: auto;
            max-width: 100%;
            margin: 0 auto;
            display: block;
            position: static; /* 移动端取消 sticky */
        }
        .payment-methods {
            grid-template-columns: 1fr;
        }
        /* 移动端底部吸底按钮 */
        .drawer-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            padding: 10px 15px;
            margin-top: 0;
            z-index: 999;
            box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
            padding-bottom: max(10px, env(safe-area-inset-bottom));
        }
        .drawer-actions {
            gap: 8px;
        }
        .drawer-btn {
            height: 46px;
            font-size: 15px;
            border-radius: 50px;
        }
        /* 移动端显示首页按钮 */
        .home-btn {
            display: flex !important;
            min-width: 80px;
            flex: 0 0 80px;
            background: #f5f7fa;
            color: #5a6c7d !important;
            border: 1px solid #e1e8ed;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }
        .home-btn:active {
            background: #edf1f5;
            border-color: #d1dce5;
            transform: scale(0.96);
        }
        .home-btn i {
            font-size: 20px;
        }
        .home-btn span {
            display: none;
        }
        .buy-btn-g {
            flex: 1;
        }
        .buy-btn-g i {
            font-size: 16px;
        }
        .total-price {
            font-size: 13px;
            padding-left: 8px;
        }
        .total-price .dynamic-price {
            font-size: 18px;
        }
        .intro {
            font-size: 15px;
            padding: 0;
        }
    }

    /* PC端布局强化优化 */
    @media (min-width: 769px) {
        .goods-con .row.no-gutters {
            display: flex !important;
            flex-wrap: nowrap !important;
        }
        
        /* 左侧图片栏 */
        .goods-con .col-md-4 {
            flex: 0 0 450px !important; /* 固定宽度 */
            max-width: 450px !important;
            padding: 40px !important; /* 覆盖内联样式 */
            border-right: 1px solid #f9f9f9;
            background: #fff;
            display: block; /* 确保 sticky 生效 */
        }
        
        /* 右侧信息栏 */
        .goods-con .col-md-8 {
            flex: 1 !important;
            max-width: calc(100% - 450px) !important;
            padding: 40px 50px !important; /* 覆盖内联样式 */
        }

        /* 图片吸顶效果 */
        .goods-cover {
            width: 100%;
            height: auto;
            max-height: none;
            border-radius: 16px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.03);
            position: sticky;
            top: 30px; /* 吸顶距离 */
        }
        
        /* 调整标题 */
        .card-title {
            font-size: 26px;
            margin-bottom: 20px;
        }
        
        /* 调整价格 */
        .goods-attr .price {
            font-size: 36px;
        }
        
        /* 购买按钮 */
        .buy-btn-g {
            max-width: 300px; /* 限制按钮宽度 */
            height: 56px;
        }
    }

/* 默认模板头尾优化 */
:root {
    --brand: #5f84ff;
    --brand-dark: #456dde;
    --brand-soft: #edf2ff;
    --brand-ring: rgba(95, 132, 255, 0.18);
    --primary-from: #7a9bff;
    --primary-to: #5f84ff;
    --primary-shadow: rgba(95, 132, 255, 0.26);
    --accent: #7a9bff;
    --accent-soft: #f1f5ff;
    --info: #6c8ff2;
    --info-soft: #eef3ff;
    --success: #5f84ff;
    --success-soft: #edf2ff;
    --warning: #f2a01b;
    --warning-soft: #fff3e0;
    --price: #e15241;
    --text: #1d2434;
    --muted: #6d7890;
    --border: #dbe4fa;
    --surface: #ffffff;
    --surface-2: #f4f7ff;
    --page-bg: #f5f6f8;
    --shadow-soft: 0 18px 34px rgba(67, 97, 173, 0.12);
    --shadow-card: 0 14px 28px rgba(67, 97, 173, 0.1);
}



main, .blog-container, .container {
    flex: 1 0 auto;
}

footer, .main-footer {
    flex-shrink: 0;
}

.drawer-footer {
    z-index: 9999;
}






/* Coupon input */
.coupon-input-wrap {
    position: relative;
}
.coupon-input-wrap .coupon-input {
    padding-right: 86px;
    background: #f8fafb;
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    transition: all 0.2s ease;
}
.coupon-input-wrap .coupon-input:focus {
    background: #fff;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-ring);
}
.coupon-input-wrap .coupon-input:disabled {
    background: #f1f3f5;
    color: #9aa3af;
    border-color: #e5e7eb;
}
.coupon-input-wrap .coupon-apply-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    background: var(--brand-soft);
    color: var(--brand);
    border: 1px solid #d8e4f5;
    box-shadow: 0 2px 6px rgba(58, 120, 194, 0.12);
}
.coupon-input-wrap .coupon-apply-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.coupon-input-wrap .coupon-apply-btn.layui-btn-disabled,
.coupon-input-wrap .coupon-apply-btn:disabled {
    background: #f1f3f5;
    color: #9aa3af;
    border-color: #e5e7eb;
    box-shadow: none;
}
.coupon-change-link {
    margin-left: 6px;
    font-size: 12px;
    color: var(--brand);
    text-decoration: none;
    display: none;
}
.coupon-change-link:hover {
    text-decoration: underline;
}
.coupon-tip {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #ff4d4f;
}



.goods-search-wrap {
    display: flex;
    justify-content: stretch;
}

.goods-search-panel {
    width: 100%;
    max-width: 680px;
    background: linear-gradient(145deg, #ffffff 0%, var(--brand-soft) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 10px;
}

.goods-search-aside {
    margin-bottom: 16px;
}

.goods-search-aside .goods-search-panel {
    max-width: none;
}

.goods-search-form {
    display: block;
}

.goods-search-shell {
    position: relative;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    padding: 0 92px 0 36px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.goods-search-shell:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-ring);
}

.goods-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b98a7;
    font-size: 14px;
    pointer-events: none;
}

.goods-search-input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    padding: 0;
}

.goods-search-input::placeholder {
    color: #9aa4b2;
}

.goods-search-clear {
    position: absolute;
    right: 86px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8b98a7;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.goods-search-clear.is-visible {
    display: inline-flex;
}

.goods-search-clear:hover {
    background: var(--surface-2);
    color: #5f6b78;
}

.goods-search-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 74px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary-from) 0%, var(--primary-to) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.goods-search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px var(--primary-shadow);
}

.transition {
    transition: all 0.3s ease;
}

#mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 899;
    display: none;
}



/* 商品列表页 */
.blog-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    width: 100%;
}

.goods-list-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.goods-list-aside {
    position: sticky;
    top: 92px;
    align-self: start;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.goods-list-main {
    min-width: 0;
}

.notice-bar {
    background: var(--surface);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.notice-bar-mobile {
    display: none;
}

.notice-bar::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(95, 132, 255, 0.16), transparent 60%);
}

@media (max-width: 768px) {
    .notice-bar-mobile {
        display: flex;
    }

    .notice-bar-desktop {
        display: none;
    }
}

.notice-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--brand-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    box-shadow: 0 8px 16px rgba(95, 132, 255, 0.18);
}

.notice-icon .layui-icon {
    font-size: 20px;
}

.notice-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.notice-content {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
}

.list-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.list-banner.is-search {
    background: var(--accent-soft);
    border-color: #dbe3ff;
}

.list-banner.is-category {
    background: var(--info-soft);
    border-color: #d6e9fb;
}

.list-banner.is-featured {
    background: var(--brand-soft);
    border-color: rgba(95, 132, 255, 0.18);
}

.list-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-from), var(--primary-to));
}

.list-banner.is-search .list-badge {
    background: linear-gradient(135deg, #8bb3ff, var(--accent));
}

.list-banner.is-category .list-badge {
    background: linear-gradient(135deg, #86c0ff, var(--info));
}

.list-desc {
    font-size: 12px;
    color: var(--muted);
}

.category-section {
    background: var(--surface);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.category-grid {
    display: grid;
    gap: 16px;
}

.goods-list-aside .category-grid {
    grid-template-columns: 1fr;
}

.category-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.category-card:hover {
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.category-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    gap: 10px;
}

.category-item:hover {
    transform: translateY(-2px);
}

.category-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    overflow: hidden;
    flex: 0 0 auto;
}

.category-item:hover .category-icon {
    background: var(--brand-soft);
    box-shadow: 0 8px 18px rgba(95, 132, 255, 0.18);
}

.category-icon img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.category-item:hover .category-icon img {
    transform: scale(1.1);
}

.category-item span {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.category-item:hover span {
    color: var(--brand);
    font-weight: 600;
}

.category-item:hover .category-count {
    color: var(--muted);
    font-weight: 400;
}

.category-item.is-active {
    transform: translateY(-2px);
}

.category-item.is-active .category-icon {
    background: var(--brand-soft);
    box-shadow: 0 8px 18px rgba(95, 132, 255, 0.18);
}

.category-item.is-active span {
    color: var(--brand);
    font-weight: 600;
}

.category-item.is-active .category-count {
    color: var(--muted);
    font-weight: 400;
}

.category-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
}

.category-count {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.subcategory-item {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    color: #52606d;
    font-size: 12px;
    line-height: 1;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
}

.subcategory-item:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand);
}

.subcategory-item.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.goods-list-section {
    position: relative;
}

#goods-list-wrapper {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#goods-list-wrapper.is-loading {
    opacity: 0.6;
    transform: translateY(4px);
}

#goods-list-wrapper.is-loaded {
    animation: goodsFadeIn 0.35s ease;
}

@keyframes goodsFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.goods-card {
    display: block;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: 1px solid var(--border);
}

.goods-card:hover {
    box-shadow: var(--shadow-card);
    border-color: #d7dee7;
    transform: translateY(-2px);
    z-index: 2;
}

.goods-img-box {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--surface-2);
    overflow: hidden;
}

.goods-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.goods-card:hover .goods-img {
    transform: scale(1.08);
}

.goods-deliver-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 999px;
    color: #fff;
    z-index: 1;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.goods-deliver-tag.auto {
    background: var(--success);
}

.goods-deliver-tag.manual {
    background: var(--warning);
}

.goods-info {
    padding: 12px;
}

.goods-title {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    height: 42px;
    font-weight: 600;
}

.goods-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.price-current {
    color: var(--price);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.price-current small {
    font-size: 12px;
    margin-right: 1px;
}

.price-market {
    color: #9aa4b2;
    font-size: 12px;
    text-decoration: line-through;
    margin-left: 5px;
}

.buy-icon {
    width: 24px;
    height: 24px;
    background: var(--surface-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8795;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.goods-card:hover .buy-icon {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 8px 18px rgba(95, 132, 255, 0.2);
}

.goods-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    margin-top: 5px;
}

.goods-stats span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.goods-stats .fa {
    font-size: 12px;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: var(--surface-2);
    border-radius: 16px;
    font-size: 11px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(95, 132, 255, 0.12);
}

.stat-icon {
    font-size: 12px;
}

.stat-label {
    color: var(--muted);
    font-weight: 500;
}

.stat-value {
    color: var(--text);
    font-weight: 600;
}

.stock-stat .stat-value {
    color: var(--info);
}

.sales-stat .stat-value {
    color: var(--brand);
}

.empty-container {
    padding: 60px 0;
    text-align: center;
}

.empty-icon {
    font-size: 60px;
    color: #d8dee6;
    margin-bottom: 20px;
}

.empty-text {
    color: #7a8795;
    font-size: 16px;
    margin-bottom: 25px;
}

.skeleton-card {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.skeleton-img {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    background: #e9edf3;
}

.skeleton-line {
    height: 12px;
    margin: 10px 12px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: #e9edf3;
}

.skeleton-line.short {
    width: 60%;
    margin-bottom: 14px;
}

.skeleton-shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.7), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

@media (max-width: 992px) {
    .goods-list-layout {
        grid-template-columns: 1fr;
    }
    .goods-list-aside {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .goods-list-aside {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .notice-bar-mobile {
        order: 1;
        margin-bottom: 0;
    }

    .category-section {
        order: 2;
    }

    .goods-search-aside {
        order: 3;
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .list-banner {
        flex-direction: column;
        align-items: flex-start;
    }

}


:root {
    --qb-bg: #f5f7fb;
    --qb-ink: #101828;
    --qb-text: #263347;
    --qb-muted: #6b7688;
    --qb-line: rgba(148, 163, 184, .22);
    --qb-card: rgba(255, 255, 255, .78);
    --qb-card-solid: #ffffff;
    --qb-blue: #12b7f5;
    --qb-blue-2: #2f6df6;
    --qb-gold: #f6c24b;
    --qb-gold-2: #d59527;
    --qb-red: #ec5b6c;
    --qb-shadow: 0 22px 60px rgba(24, 39, 75, .12);
    --qb-shadow-sm: 0 10px 30px rgba(24, 39, 75, .08);
    --qb-radius-xl: 30px;
    --qb-radius-lg: 22px;
    --qb-radius-md: 16px;
}

body {
    background:
        radial-gradient(circle at 8% -10%, rgba(18,183,245,.18), transparent 34%),
        radial-gradient(circle at 90% 8%, rgba(246,194,75,.20), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(47,109,246,.10), transparent 40%),
        var(--qb-bg) !important;
    color: var(--qb-text);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image: linear-gradient(rgba(16,24,40,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(16,24,40,.025) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
}

/* 顶部：亚克力清爽底 + 轻奢金蓝点缀 */
.h-fix {
    background: rgba(255,255,255,.72) !important;
    border-bottom: 1px solid rgba(255,255,255,.68) !important;
    box-shadow: 0 10px 36px rgba(15,23,42,.08) !important;
    backdrop-filter: blur(22px) saturate(1.45) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.45) !important;
}
.header-bar { min-height: 76px !important; }
.logo img { max-height: 48px !important; }
.logo-text a span {
    font-weight: 950 !important;
    letter-spacing: .02em !important;
    color: transparent !important;
    background: linear-gradient(135deg, #101828 0%, #1a66e8 46%, #c08425 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.header .nav-bar li a {
    border-radius: 999px !important;
    font-weight: 800 !important;
    color: rgba(38,51,71,.74) !important;
}
.header .nav-bar li a:hover,
.header .nav-bar li.active > a {
    background: linear-gradient(135deg, rgba(18,183,245,.12), rgba(246,194,75,.14)) !important;
    color: #0f5fd7 !important;
}
.header-order-link {
    height: 42px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--qb-blue), var(--qb-blue-2)) !important;
    box-shadow: 0 12px 28px rgba(18,183,245,.28) !important;
}
.header-order-link:hover { transform: translateY(-1px); filter: brightness(1.04); }
.m-btn {
    border-radius: 15px !important;
    background: rgba(15,23,42,.05) !important;
    color: #1c2b45 !important;
}

.df-list-page.blog-container {
    max-width: 1220px;
    margin: 18px auto 64px;
    padding: 0 18px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}
.df-shell { display: flex; flex-direction: column; gap: 22px; }

/* 顶部英雄区 */
.df-hero {
    position: relative;
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 18px;
    overflow: hidden;
    border-radius: 34px;
    padding: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 16%, rgba(18,183,245,.38), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(246,194,75,.34), transparent 28%),
        linear-gradient(135deg, #050912 0%, #111827 54%, #0b1220 100%);
    box-shadow: 0 32px 88px rgba(12, 20, 36, .28);
    isolation: isolate;
}
.df-hero::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 33px;
    border: 1px solid rgba(255,255,255,.14);
    pointer-events: none;
    z-index: 1;
}
.df-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, rgba(255,255,255,.08), transparent 24%, transparent 70%, rgba(255,255,255,.06));
    z-index: 0;
}
.df-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: .65;
    pointer-events: none;
    z-index: 0;
}
.df-hero-glow-a { width: 220px; height: 220px; left: -42px; top: -58px; background: rgba(18,183,245,.54); }
.df-hero-glow-b { width: 260px; height: 260px; right: -82px; bottom: -92px; background: rgba(246,194,75,.44); }
.df-hero-main,
.df-hero-side { position: relative; z-index: 2; }
.df-hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.df-hero-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}
.df-hero-order-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    color: #07111f;
    background: linear-gradient(135deg, #fff2b8, var(--qb-gold) 48%, #f0a52c);
    box-shadow: 0 12px 28px rgba(246,194,75,.25);
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.df-hero-order-top:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 16px 34px rgba(246,194,75,.32); }
.df-hero-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #f8d983;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}
.df-hero-title {
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(28px, 5vw, 54px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.04em;
    text-shadow: 0 12px 36px rgba(0,0,0,.24);
}
.df-hero-subtitle {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: 15px;
    line-height: 1.8;
}
.df-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.df-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.df-hero-btn:hover { transform: translateY(-2px); }
.df-hero-btn.is-primary {
    color: #07111f;
    background: linear-gradient(135deg, #fff2b8, var(--qb-gold) 46%, #f0a52c);
    box-shadow: 0 16px 34px rgba(246,194,75,.28);
}
.df-hero-btn.is-ghost {
    color: rgba(255,255,255,.90);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
}
.df-hero-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}
.df-site-notice {
    padding: 16px 16px 15px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.df-site-notice-head { display: flex; align-items: center; margin-bottom: 10px; }
.df-site-notice-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}
.df-site-notice-title i {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #07111f;
    background: linear-gradient(135deg, #fff2b8, var(--qb-gold));
}
.df-site-notice-body {
    max-height: 138px;
    overflow: auto;
    color: rgba(255,255,255,.74);
    font-size: 14px;
    line-height: 1.78;
}
.df-site-notice-body::-webkit-scrollbar { width: 4px; }
.df-site-notice-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 999px; }
.df-site-notice-body > *:first-child { margin-top: 0; }
.df-site-notice-body > *:last-child { margin-bottom: 0; }

/* 分类：横向胶囊，手机更顺滑 */
.df-category-section,
.df-products-section { padding: 0; }
.df-category-wrapper { display: flex; flex-direction: column; gap: 12px; }
.df-category-grid,
.df-subtabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.df-category-grid::-webkit-scrollbar,
.df-subtabs::-webkit-scrollbar { display: none; }
.df-category-card,
.df-subtab-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 17px;
    border-radius: 999px;
    color: var(--qb-text);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 12px 32px rgba(24,39,75,.08);
    text-decoration: none;
    transition: all .24s cubic-bezier(.2,.8,.2,1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.df-category-card:hover,
.df-subtab-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(18,183,245,.16);
}
.df-category-card.is-active,
.df-subtab-chip.is-active {
    color: #07111f;
    border-color: rgba(246,194,75,.58);
    background: linear-gradient(135deg, #fff7d5, #f8d56f 58%, #f6b947);
    box-shadow: 0 14px 34px rgba(246,194,75,.26);
}
.df-category-thumb,
.df-category-badge {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.df-category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.df-category-badge {
    color: #fff;
    background: linear-gradient(135deg, var(--qb-blue), var(--qb-blue-2));
    box-shadow: 0 10px 22px rgba(18,183,245,.22);
}
.df-category-card.is-active .df-category-badge,
.df-category-card.is-active .df-category-badge.is-muted { background: rgba(7,17,31,.12); color: #07111f; box-shadow: none; }
.df-category-badge.is-muted { background: rgba(18,183,245,.10); color: var(--qb-blue-2); }
.df-category-label { font-size: 14px; line-height: 1.25; font-weight: 900; white-space: nowrap; }
.df-subtabs-wrap { margin-top: -4px; }
.df-subtabs-wrap.is-hidden { display: none; }
.df-subtab-chip { min-height: 38px; padding: 0 15px; font-size: 13px; font-weight: 900; }
.df-search-form,
.js-goods-search-form,
.df-search-shell { display: none !important; }

/* 商品标题栏 */
.df-products-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 16px;
}
.df-section-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--qb-ink);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 950;
    letter-spacing: -.02em;
}
.df-section-title i {
    width: 38px;
    height: 38px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #07111f;
    background: linear-gradient(135deg, #fff2b8, var(--qb-gold));
    box-shadow: 0 12px 28px rgba(246,194,75,.22);
}
.df-products-tip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(38,51,71,.62);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.8);
}

/* 商品网格 */
#goods-list-wrapper { transition: opacity .24s ease, transform .24s ease; }
#goods-list-wrapper.is-loading { opacity: .68; transform: translateY(4px); }
#goods-list-wrapper.is-loaded { animation: dfLoadPulse .38s ease; }
.df-products-grid {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
}
.df-product-card,
.df-skeleton-card {
    position: relative;
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.74));
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: 0 18px 48px rgba(24,39,75,.10);
    transform: translateZ(0);
    transition: transform .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s ease, border-color .34s ease;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.df-product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,.42), transparent 28%, transparent 74%, rgba(18,183,245,.08));
    opacity: 0;
    transition: opacity .3s ease;
}
.df-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(18,183,245,.28);
    box-shadow: 0 26px 70px rgba(24,39,75,.16);
}
.df-product-card:hover::before { opacity: 1; }
.df-product-thumb,
.df-skeleton-thumb {
    position: relative;
    aspect-ratio: 1.15 / 1;
    overflow: hidden;
    margin: 12px 12px 0;
    border-radius: 22px;
    background: linear-gradient(135deg, #ebf7ff, #fff4cc);
}
.df-product-thumb::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 46%;
    background: linear-gradient(to top, rgba(7,17,31,.25), transparent);
    pointer-events: none;
}
.df-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease;
}
.df-product-card:hover .df-product-thumb img { transform: scale(1.06); filter: saturate(1.06); }
.df-product-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 18px;
}
.df-product-name {
    display: -webkit-box;
    min-height: 45px;
    overflow: hidden;
    color: var(--qb-ink);
    font-size: 16px;
    line-height: 1.42;
    font-weight: 950;
    letter-spacing: -.01em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.df-product-card:hover .df-product-name { color: #0f5fd7; }
.df-product-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.df-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    border: 1px solid transparent;
}
.df-pill.is-auto { color: #0f5fd7; background: rgba(18,183,245,.10); border-color: rgba(18,183,245,.20); }
.df-pill.is-manual { color: #a66b10; background: rgba(246,194,75,.15); border-color: rgba(246,194,75,.28); }
.df-product-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--qb-muted);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 800;
}
.df-product-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(148,163,184,.18);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.df-product-price-box { min-width: 0; }
.df-price-label {
    display: block !important;
    margin-bottom: 5px;
    color: rgba(38,51,71,.48);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}
.df-product-price-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.df-product-price { display: none !important; }
.df-product-price-amount {
    color: var(--qb-red);
    font-size: 21px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.df-product-price-amount em { font-size: 13px; font-style: normal; margin-right: 1px; }
.df-product-action {
    flex: 0 0 auto;
    min-width: 92px;
    height: 42px;
    padding: 0 13px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #07111f;
    background: linear-gradient(135deg, #fff2b8, var(--qb-gold) 52%, #f0a52c);
    box-shadow: 0 12px 24px rgba(246,194,75,.24);
    font-size: 13px;
    font-weight: 950;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.df-product-card:hover .df-product-action { transform: translateX(2px); box-shadow: 0 16px 28px rgba(246,194,75,.32); filter: brightness(1.03); }
.df-product-mobile-meta { display: none; }

/* 空状态 / 骨架屏 */
.df-empty-state {
    padding: 58px 20px;
    border-radius: 28px;
    text-align: center;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: var(--qb-shadow-sm);
}
.df-empty-state i { font-size: 48px; color: rgba(18,183,245,.32); display: inline-block; margin-bottom: 16px; }
.df-empty-state h3 { margin: 0 0 8px; color: var(--qb-ink); font-size: 18px; font-weight: 950; }
.df-empty-state p { max-width: 420px; margin: 0 auto; color: var(--qb-muted); font-size: 14px; line-height: 1.7; }
.df-skeleton-thumb,
.df-skeleton-line { position: relative; overflow: hidden; background: rgba(226,232,240,.75); }
.df-skeleton-body { padding: 18px; }
.df-skeleton-line { height: 13px; border-radius: 999px; }
.df-skeleton-line + .df-skeleton-line { margin-top: 12px; }
.df-skeleton-line.short { width: 42%; }
.df-skeleton-line.price { width: 54%; margin-top: 18px; }
.df-skeleton-thumb::after,
.df-skeleton-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
    transform: translateX(-100%);
    animation: dfShimmer 1.2s infinite;
}
@keyframes dfShimmer { 100% { transform: translateX(100%); } }
@keyframes dfLoadPulse { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* 商品详情页同步升级 */
.goods-con { max-width: 1160px !important; }
.goods-con .card {
    border-radius: 30px !important;
    border: 1px solid rgba(255,255,255,.78) !important;
    background: rgba(255,255,255,.76) !important;
    box-shadow: 0 22px 60px rgba(24,39,75,.12) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.goods-cover {
    border-radius: 24px !important;
    background: linear-gradient(135deg, #eef8ff, #fff5d6) !important;
    box-shadow: 0 14px 36px rgba(24,39,75,.10);
}
.card-title {
    color: var(--qb-ink) !important;
    font-size: clamp(22px, 2.6vw, 32px) !important;
    font-weight: 950 !important;
    letter-spacing: -.03em;
}
.stat-item {
    border-radius: 999px !important;
    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(148,163,184,.22) !important;
    box-shadow: 0 10px 26px rgba(24,39,75,.08) !important;
}
.spec-option,
.layui-input,
.quantity-selector,
.payment-item {
    border-radius: 16px !important;
    border-color: rgba(148,163,184,.24) !important;
    background: rgba(255,255,255,.82) !important;
}
.spec-option.active,
.payment-item.active {
    color: #0f5fd7 !important;
    border-color: rgba(18,183,245,.46) !important;
    background: rgba(18,183,245,.10) !important;
    box-shadow: 0 12px 28px rgba(18,183,245,.14) !important;
}
.drawer-btn { border-radius: 18px !important; }
.buy-btn-g {
    background: linear-gradient(135deg, var(--qb-blue), var(--qb-blue-2)) !important;
    box-shadow: 0 16px 34px rgba(18,183,245,.26) !important;
}
.home-btn {
    background: rgba(255,255,255,.86) !important;
    color: var(--qb-text) !important;
    border: 1px solid rgba(148,163,184,.22) !important;
}

/* 页脚/移动底部导航 */
.main-footer {
    background: rgba(255,255,255,.64) !important;
    border-top: 1px solid rgba(255,255,255,.72) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.goods-list-page ~ .footer-nav {
    border: 1px solid rgba(255,255,255,.78) !important;
    background: rgba(255,255,255,.80) !important;
    box-shadow: 0 18px 44px rgba(24,39,75,.16) !important;
    backdrop-filter: blur(22px) saturate(1.35) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.35) !important;
}
.footer-nav .nav-item.active,
.footer-nav .nav-item.active .nav-icon,
.footer-nav .nav-item.active .nav-text { color: #0f5fd7 !important; }
.footer-nav .nav-item::before { background: linear-gradient(135deg, rgba(18,183,245,.13), rgba(246,194,75,.16)) !important; }

@media (max-width: 1180px) {
    .df-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 880px) {
    .df-hero { grid-template-columns: 1fr; padding: 24px; }
    .df-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 768px) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
    .header-bar { min-height: 62px !important; padding: 8px 0 !important; }
    .logo img { max-height: 38px !important; }
    .logo-text a span { max-width: 58vw !important; font-size: 23px !important; }
    .nav-container { display: none !important; }
    .header-order-link { display: inline-flex !important; height: 38px !important; padding: 0 12px !important; font-size: 13px !important; }
    .m-btn { display: none !important; }

    .df-list-page.blog-container { margin-top: 14px; padding: 0 12px; }
    .df-shell { gap: 18px; }
    .df-hero {
        min-height: auto;
        border-radius: 26px;
        padding: 18px;
        gap: 14px;
    }
    .df-hero-topline { align-items: center; }
    .df-hero-kicker { padding: 7px 10px; font-size: 11px; max-width: 56%; overflow: hidden; }
    .df-hero-kicker span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .df-hero-order-top { min-height: 38px; padding: 0 13px; font-size: 13px; }
    .df-hero-title { margin-top: 10px; font-size: 30px; }
    .df-hero-subtitle { font-size: 13px; line-height: 1.72; }
    .df-hero-actions { display: none; }
    .df-site-notice { border-radius: 18px; padding: 13px; }
    .df-site-notice-body { max-height: none; font-size: 13px; }

    .df-category-grid,
    .df-subtabs { gap: 9px; margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
    .df-category-card { min-height: 42px; padding: 0 14px; }
    .df-category-thumb,
    .df-category-badge { width: 28px; height: 28px; border-radius: 11px; }
    .df-category-label { font-size: 13px; }

    .df-products-head { align-items: flex-start; margin-bottom: 12px; }
    .df-section-title { font-size: 18px; }
    .df-section-title i { width: 34px; height: 34px; border-radius: 13px; }
    .df-products-tip { display: none; }

    /* 手机：保持你要的一条一个，加入高级卡片质感 */
    .df-products-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        display: grid !important;
    }
    .df-product-card,
    .df-skeleton-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        min-height: 112px !important;
        padding: 10px !important;
        border-radius: 22px !important;
        background: rgba(255,255,255,.82) !important;
        border: 1px solid rgba(255,255,255,.78) !important;
        box-shadow: 0 14px 36px rgba(24,39,75,.10) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .df-product-card:hover { transform: translateY(-2px) !important; box-shadow: 0 16px 38px rgba(24,39,75,.12) !important; }
    .df-product-thumb,
    .df-skeleton-thumb {
        width: 92px !important;
        height: 92px !important;
        flex: 0 0 92px !important;
        aspect-ratio: auto !important;
        margin: 0 !important;
        border-radius: 17px !important;
    }
    .df-product-thumb img { border-radius: 17px !important; }
    .df-product-card:hover .df-product-thumb img { transform: scale(1.03) !important; }
    .df-product-body {
        min-width: 0 !important;
        padding: 2px 0 2px 12px !important;
        gap: 7px !important;
        justify-content: center !important;
    }
    .df-product-name {
        min-height: 0 !important;
        color: var(--qb-ink) !important;
        font-size: 16px !important;
        line-height: 1.38 !important;
        font-weight: 950 !important;
        -webkit-line-clamp: 2 !important;
    }
    .df-product-badges { display: none !important; }
    .df-product-stats,
    .df-product-footer { display: none !important; }
    .df-product-mobile-meta {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        margin-top: 2px !important;
    }
    .df-mobile-price,
    .df-mobile-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 25px !important;
        padding: 0 9px !important;
        border-radius: 9px !important;
        font-size: 12px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        font-weight: 900 !important;
    }
    .df-mobile-price { color: #c0394d !important; background: rgba(236,91,108,.13) !important; }
    .df-mobile-badge.is-sales { color: #4e5b70 !important; background: rgba(71,85,105,.10) !important; }
    .df-mobile-badge.is-stock { color: #95680f !important; background: rgba(246,194,75,.20) !important; }

    .goods-con .card-body { padding: 20px !important; }
    .payment-methods { grid-template-columns: 1fr !important; gap: 10px !important; }
    .drawer-actions { flex-direction: column; }
}
@media (max-width: 390px) {
    .df-hero-title { font-size: 27px; }
    .df-hero-kicker { max-width: 50%; }
    .df-hero-order-top { padding: 0 11px; }
    .df-product-thumb,
    .df-skeleton-thumb { width: 82px !important; height: 82px !important; flex-basis: 82px !important; }
    .df-product-name { font-size: 15px !important; }
    .df-mobile-price,
    .df-mobile-badge { padding: 0 7px !important; }
}

/* QB688_V5_20260530：商品详情页手机端生成订单按钮强化，避免被客服悬浮窗遮挡 */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
    }
    .goods-con {
        padding-bottom: 132px !important;
    }
    .drawer-footer {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        margin: 0 !important;
        padding: 10px !important;
        border-radius: 24px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        border: 1px solid rgba(255, 255, 255, 0.86) !important;
        box-shadow: 0 -10px 36px rgba(24, 39, 75, 0.18), 0 14px 42px rgba(18, 183, 245, 0.20) !important;
        backdrop-filter: blur(22px) saturate(1.35) !important;
        -webkit-backdrop-filter: blur(22px) saturate(1.35) !important;
        z-index: 2147483000 !important;
        box-sizing: border-box !important;
    }
    .drawer-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
    .drawer-actions .home-btn {
        display: none !important;
    }
    .drawer-actions .buy-btn-g {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 62px !important;
        min-height: 62px !important;
        border-radius: 20px !important;
        font-size: 20px !important;
        font-weight: 950 !important;
        letter-spacing: 0.04em !important;
        background: linear-gradient(135deg, #19c7ff 0%, #2575ff 54%, #6b7cff 100%) !important;
        color: #fff !important;
        border: 0 !important;
        box-shadow: 0 16px 34px rgba(37, 117, 255, 0.35), inset 0 1px 0 rgba(255,255,255,.35) !important;
        transform: none !important;
        opacity: 1 !important;
        position: relative !important;
        overflow: hidden !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .drawer-actions .buy-btn-g::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
        transform: translateX(-120%);
        animation: qbOrderBtnShine 2.2s ease-in-out infinite;
        pointer-events: none;
    }
    .drawer-actions .buy-btn-g:active {
        transform: scale(0.985) !important;
        box-shadow: 0 10px 24px rgba(37, 117, 255, 0.28), inset 0 1px 0 rgba(255,255,255,.28) !important;
    }
    .drawer-actions .buy-btn-g i {
        font-size: 24px !important;
        margin-right: 6px !important;
    }
    .drawer-actions .buy-btn-g span {
        position: relative !important;
        z-index: 1 !important;
        line-height: 1 !important;
    }
    .payment-methods {
        margin-bottom: 10px !important;
    }
}

@keyframes qbOrderBtnShine {
    0% { transform: translateX(-120%); }
    48%, 100% { transform: translateX(120%); }
}

/* QB688_V7_20260530：首页英雄区压缩标题、删除查询订单、放大公告 */
.df-hero {
    min-height: 185px !important;
    grid-template-columns: minmax(160px, .42fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    padding: 22px !important;
}
.df-hero-main {
    justify-content: flex-start !important;
}
.df-hero-topline {
    justify-content: flex-start !important;
}
.df-hero-order-top,
.df-hero-title {
    display: none !important;
}
.df-hero-kicker.df-hero-site-chip {
    max-width: 100% !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    letter-spacing: .05em !important;
    color: #ffe49b !important;
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 12px 28px rgba(0,0,0,.16) !important;
}
.df-hero-kicker.df-hero-site-chip span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.df-hero-side {
    justify-content: stretch !important;
}
.df-site-notice {
    height: 100% !important;
    padding: 20px !important;
    border-radius: 24px !important;
}
.df-site-notice-head {
    margin-bottom: 12px !important;
}
.df-site-notice-title {
    font-size: 18px !important;
}
.df-site-notice-title i {
    width: 40px !important;
    height: 40px !important;
    border-radius: 15px !important;
    font-size: 17px !important;
}
.df-site-notice-body {
    max-height: none !important;
    font-size: 16px !important;
    line-height: 1.86 !important;
    color: rgba(255,255,255,.82) !important;
}

@media (max-width: 768px) {
    .df-hero {
        min-height: auto !important;
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        gap: 12px !important;
        border-radius: 26px !important;
    }
    .df-hero-main {
        min-height: 0 !important;
    }
    .df-hero-kicker.df-hero-site-chip {
        padding: 8px 13px !important;
        font-size: 14px !important;
        max-width: 100% !important;
        letter-spacing: .04em !important;
    }
    .df-site-notice {
        padding: 16px !important;
        border-radius: 20px !important;
    }
    .df-site-notice-head {
        margin-bottom: 12px !important;
    }
    .df-site-notice-title {
        font-size: 18px !important;
    }
    .df-site-notice-title i {
        width: 42px !important;
        height: 42px !important;
        border-radius: 15px !important;
        font-size: 18px !important;
    }
    .df-site-notice-body {
        max-height: 250px !important;
        overflow: auto !important;
        font-size: 16px !important;
        line-height: 1.86 !important;
    }
}

@media (max-width: 390px) {
    .df-hero-kicker.df-hero-site-chip {
        font-size: 13px !important;
    }
    .df-site-notice-body {
        font-size: 15px !important;
        max-height: 240px !important;
    }
}

/* QB688_V8_20260530：公告区更紧凑，正文不再内滚；详情页提交按钮正常占位不遮挡结果 */
.df-hero.df-hero-notice-only {
    min-height: auto !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    padding: 18px 20px 20px !important;
    gap: 0 !important;
}
.df-hero-notice-only .df-site-notice {
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.df-hero-notice-only .df-site-notice-head {
    margin-bottom: 10px !important;
}
.df-hero-notice-only .df-site-notice-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    color: #ffe8a6 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: .03em !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 10px 24px rgba(0,0,0,.12) !important;
}
.df-hero-notice-only .df-site-notice-title i {
    width: 22px !important;
    height: 22px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    color: #07111f !important;
    background: linear-gradient(135deg, #fff0b0, var(--qb-gold)) !important;
}
.df-hero-notice-only .df-site-notice-body {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 13px 15px 14px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    background: rgba(255,255,255,.095) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.11) !important;
    color: rgba(255,255,255,.83) !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
}

@media (max-width: 768px) {
    .df-hero.df-hero-notice-only {
        padding: 14px !important;
        border-radius: 24px !important;
    }
    .df-hero-notice-only .df-site-notice-head {
        margin-bottom: 8px !important;
    }
    .df-hero-notice-only .df-site-notice-title {
        padding: 6px 10px !important;
        font-size: 13px !important;
        gap: 6px !important;
    }
    .df-hero-notice-only .df-site-notice-title i {
        width: 20px !important;
        height: 20px !important;
        border-radius: 8px !important;
        font-size: 11px !important;
    }
    .df-hero-notice-only .df-site-notice-body {
        max-height: none !important;
        overflow: visible !important;
        padding: 11px 12px 12px !important;
        border-radius: 16px !important;
        font-size: 14.5px !important;
        line-height: 1.68 !important;
    }

    body {
        padding-bottom: calc(38px + env(safe-area-inset-bottom)) !important;
    }
    .goods-con {
        padding-bottom: 28px !important;
    }
    .drawer-footer {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin: 14px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 20 !important;
    }
    .drawer-actions {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
    }
    .drawer-actions .home-btn {
        display: none !important;
    }
    .drawer-actions .buy-btn-g {
        width: 100% !important;
        height: 50px !important;
        min-height: 50px !important;
        border-radius: 15px !important;
        font-size: 16px !important;
        font-weight: 900 !important;
        letter-spacing: .02em !important;
        color: #fff !important;
        background: linear-gradient(135deg, #25b8f4 0%, #2678ff 62%, #4f63ff 100%) !important;
        border: 0 !important;
        box-shadow: 0 10px 24px rgba(38,120,255,.24), inset 0 1px 0 rgba(255,255,255,.28) !important;
        transform: none !important;
        opacity: 1 !important;
        position: relative !important;
        overflow: hidden !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    .drawer-actions .buy-btn-g::before {
        display: none !important;
        animation: none !important;
    }
    .drawer-actions .buy-btn-g:active {
        transform: scale(.99) !important;
        box-shadow: 0 7px 18px rgba(38,120,255,.22), inset 0 1px 0 rgba(255,255,255,.24) !important;
    }
    .drawer-actions .buy-btn-g i {
        font-size: 18px !important;
        margin-right: 5px !important;
    }
    .drawer-actions .buy-btn-g span {
        line-height: 1 !important;
    }
}

@media (max-width: 390px) {
    .df-hero-notice-only .df-site-notice-body {
        font-size: 14px !important;
        line-height: 1.66 !important;
    }
}

/* QB688_V9_20260530：公告正文恢复内部滚动，同时尽量多展示内容 */
.df-hero-notice-only .df-site-notice-body {
    max-height: 280px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255,255,255,.34) rgba(255,255,255,.08) !important;
}
.df-hero-notice-only .df-site-notice-body::-webkit-scrollbar {
    width: 4px !important;
}
.df-hero-notice-only .df-site-notice-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.32) !important;
    border-radius: 999px !important;
}
.df-hero-notice-only .df-site-notice-body::-webkit-scrollbar-track {
    background: rgba(255,255,255,.06) !important;
    border-radius: 999px !important;
}

@media (max-width: 768px) {
    .df-hero-notice-only .df-site-notice-body {
        max-height: 235px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 10px 12px 11px !important;
        font-size: 14.5px !important;
        line-height: 1.62 !important;
    }
}

@media (max-width: 390px) {
    .df-hero-notice-only .df-site-notice-body {
        max-height: 220px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
}
