* {
    margin: 0;
    padding: 0;
}

.bath10 {
    clear: both;
    height: 10px;
}

.top-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    padding: 0 10px;

}

.top-fixed-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-fixed .back {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.top-fixed .title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.top-fixed .right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.top-fixed .new-top-right {
    margin-top: 5px;
}

.top-fixed .share {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.share-box {
    width: 50px;
    height: 80px;
    display: flex;
    flex-wrap: wrap;
}

.share-icon {
    width: 50px;
    height: 50px;
    background-color: #e7e7e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}

.copyUrl {
    width: 100%;
    height: 30px;
    font-size: 12px;
}

.uni-app--maxwidth {
    padding-top: 50px;
    width: 100% !important;
    max-width: 100% !important;

}

.goods-detail {
    padding: 0 10px;
    box-sizing: border-box;
}

.uni-scroll-view {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.container-top {

    width: 100% !important;
}

/* ==================== 滚动修复方案 ==================== */
/* 重要：使用更高优先级覆盖 goodsDetail.css 中的固定定位 */

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-y: auto !important;
    /* 允许body滚动 */
    height: auto !important;
}

body.pages-buy-pages-goodsDetail {
    background-color: #f7f8fc;
    overflow-y: auto !important;
    /* 允许滚动 */
    height: auto !important;
}

.uni-app--maxwidth {
    background: #f7f8fc;
    overflow-y: visible !important;
}

/* 核心修复：覆盖原始的 fixed 定位 */
.container[data-v-3ba64cc3] {
    position: relative !important;
    /* 覆盖 fixed */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background-color: #f7f8fc !important;
    min-height: 100vh !important;
    padding-bottom: 80px !important;
    /* 给底部按钮留空间 */
    overflow: visible !important;
    /* 覆盖 hidden */
}

/* 移除原有的height限制，让内容自然流动 */
.goods-detail[data-v-3ba64cc3] {
    height: auto !important;
    overflow: visible !important;
}

.uni-scroll-view,
.uni-scroll-view-content {
    height: auto !important;
    overflow: visible !important;
}

/* 底部按钮固定在屏幕底部 */
.goods-absolute[data-v-d4559940] {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;

    z-index: 9999 !important;
}

/* 隐藏骨架屏 */
.skeleton {
    display: none !important;
}

.container-top {
    background-color: #fff !important;
    padding: 10px 0 0 0;
    border-radius: 10px 10px 0 0;
}

.container-top,
.container-top-good,
.container-top-good-con-no {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
}

.container-top .goods-detail-card-price {
    font-size: 24px;
}

.goods-detail-card-price-original {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
    margin-top: 6px;
}

/* 标签导航 */
.netease-nav-bar {
    margin-top: 10px;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    background: #f7f7f7;
    border-radius: 8px;
    color: #666;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    box-sizing: border-box;
}

.netease-nav-item {
    color: #666;
    text-decoration: none;
    white-space: nowrap;
}

.netease-nav-item:hover {
    color: #333;
}

.netease-nav-sep {
    width: 1px;
    height: 16px;
    background: #d8d8d8;
    display: block;
}


.goods-detail-card-title {
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}



.dropdown-icon-box {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    color: #666;
}

.bottom-sheet-dialog-title {
    text-align: center;
}

/* 底部弹窗样式 */
.bottom-sheet-mask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .55);
    z-index: 1998;
    display: none;
}

.bottom-sheet {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 100vh;
    background: #fff;
    border-radius: 12px 12px 0 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform .25s ease;
    overflow: hidden;
}

.bottom-sheet.is-active {
    transform: translateY(0);
}

.bottom-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 16px;
    font-weight: 600;
}

.bottom-sheet__title {
    flex: 1;
    color: #111;
    text-align: center;
}

.bottom-sheet__close {
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 26px;
}

.bottom-sheet__content {
    padding: 14px 16px 24px;
    max-height: 80vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    word-break: break-all;
}

.bottom-sheet__plain-text {
    /* white-space: pre-wrap; */
    line-height: 26px;
}

body.bottom-sheet-open {
    overflow: hidden !important;
}

/* 卖家描述区域样式 */
.seller-description-container {
    background: #f7f7f7;
    padding: 12px 10px;
    border-radius: 8px;
    box-sizing: border-box;
}

.seller-description-header {
    margin-bottom: 10px;
}

.seller-description-text {
    font-size: 12px;
    font-weight: 400;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    position: relative;
    padding-right: 0px;
}

.seller-description-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.seller-description-content {
    position: relative;
}

.seller-description-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.5;
}

.seller-description-item {
    display: inline-block;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.seller-description-more {
    display: contents;
}

.seller-description-more .seller-description-item {
    display: inline-block;
}

.seller-description-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 12px;
    user-select: none;
    vertical-align: middle;
    background: linear-gradient(to right, transparent 0%, #f7f7f7 20%, #f7f7f7 100%);
    padding-left: 10px;
}

.seller-description-toggle:hover {
    color: #333;
}

.seller-description-toggle-text {
    margin-right: 4px;
}

.seller-description-toggle-icon {
    width: 18px;
    height: 18px;
    color: #666;
    font-size: 18px;
}

.seller-description-text.expanded .seller-description-toggle-icon {
    transform: rotate(180deg);
}

.seller-description-disclaimer {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    line-height: 1.4;
}

.goods-detail-block {
    padding: 16px 10px 20px 10px !important;

}

.goods-detail .goods-detail-block-box--zgpf {
    margin-bottom: 10px;
    padding-bottom: 0;
}

.goods-detail .goods-detail-block--zgpf {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;

}

.goods-detail .goods-detail-card {
    padding: 10px 10px !important;
}

.goods-detail .goods-detail-block {
    padding: 0px !important;
}

.goods-detail .goods-detail-block-highlight {
    padding: 10px 10px !important;
}

.goods-detail .goods-detail-box-types-bg-img {
    width: 100%;
    object-fit: cover;
}

.goods-block-no-goods {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    background-image: url(../img/sevice-title-bg.FwXH_56z.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.goods-block-no-goods-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.goods-block-no-goods-left-img {
    position: relative;
    width: 134px;
    height: 26px;
    margin-right: 10px;
}

/* 右边线分割 */
.goods-block-no-goods-left-img::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    display: block;
    width: 1px;
    height: 12px;
    background-color: #e5e5e5;
}

.goods-block-no-goods-left-text {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.goods-block-no-goods-right {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 18px;
}

.goods-block-no-goods-right svg {
    color: #666;
    font-size: 18px;
}

/* ==================== 找回包赔保障卡片样式 ==================== */
.recovery-guarantee-card {
    background: #F4F5F6;
    background-image: url(../img/guarantee.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 0px;
    box-sizing: border-box;
    border-radius: 12px;
    margin-top: 10px;
}

.recovery-guarantee-top {
    border-radius: 10px 10px 0 0;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.recovery-guarantee-top-left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
}

.recovery-title {
    font-size: 14px;
    font-weight: 600;
    color: #563F00;
    position: relative;
}

.recovery-title::after {
    content: '✓';
    position: absolute;
    top: -2px;
    right: -8px;
    font-size: 12px;
    color: #FF701E;
    font-weight: bold;
}

.recovery-amount-text {
    font-size: 12px;
    color: #563F00;
    font-weight: 400;
}

.recovery-amount {
    color: #FF701E;
    font-weight: 600;
    font-size: 16px;
}

.recovery-guarantee-top-right {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    font-weight: bold;
}

.shield-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFE8CC 0%, #FFD699 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 112, 30, 0.2);
}

.shield-icon::before {
    content: '✓';
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.arrow-icon {
    color: #563F00;
    font-size: 18px;
    font-weight: bold;
}

.recovery-guarantee-bottom {

    border-radius: 0 0 10px 10px;
    padding: 10px 10px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
}

.platform-commitment {
    font-size: 12px;
    font-weight: 400;
    color: #333;
    margin-right: 8px;
}

.commitment-items {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;

}

.commitment-item {
    display: flex;
    align-items: center;

}

.commitment-icon {
    width: 24px;
    height: 12px;
    object-fit: contain;
}

.commitment-item span {
    font-size: 12px;
    color: #333;
    font-weight: 400;
}

.goods-detail-tabs-border {
    justify-content: center;
    border: 0 !important;
}

.goods-detail-tabs-dot {
    width: 20px !important;
    height: 5px !important;
    background: transparent !important;
    background-image: url(../img/tabs1.png) !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}

/* 返回头部按钮样式 */
.back-to-top-btn {
    position: fixed;
    right: 20px;
    bottom: 160px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    color: #333;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #f5f5f5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top-btn svg {
    width: 24px;
    height: 24px;
}

.goods-detail-lc-line-img {
    width: 100%;
    object-fit: cover;
}




.goods-absolute {
    border-top: 1px solid #e7e7e7 !important;
    background-color: #fff !important;
}

.goods-absolute-bottom {
    height: 60px !important;
    background-color: #fff !important;
    background-image: linear-gradient(to bottom, #fff, #fff) !important;
}

.goods-absolute-btn {
    width: auto !important;
    padding: 0 25px !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    height: 38px !important;
    line-height: 38px !important;

}

.goods-btn-orange {
    border: 1px solid #f6a046;
    color: #f6a046 !important;
}

.goods-btn-text-orange {
    color: #f6a046 !important;
}

.goods-absolute-btn-orange {
    background: #f6a046 !important;
    color: #fff !important;
}

.goods-absolute-btn-text {
    font-size: 14px !important;
}

/* 悬浮微信提醒 */
.wx-remind-bar {
    position: fixed;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    width: 90vw;
    padding: 8px 12px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    color: #333;
}

.wx-remind-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 8px;
}

.wx-remind-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.wx-remind-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wx-remind-title {
    font-size: 13px;
    color: #111;
    font-weight: 500;
    margin-bottom: 2px;
}

.wx-remind-desc {
    font-size: 11px;
    color: #888;
}

.wx-remind-action {
    margin-left: 10px;
    font-size: 12px;
    color: #ff7f00;
    white-space: nowrap;
}

.wx-remind-close {
    position: absolute;
    right: 0;
    top: -6px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    background: rgba(5, 5, 5, 0.5);
    border-radius: 50%;
}

/* ==================== 商品推荐区域样式 ==================== */
.product-recommendation {
    padding: 10px 10px;
}

.product-recommendation-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
}

.product-recommendation-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #FF701E;
}

.recommendation-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.product-recommendation-title span {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.product-recommendation-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-recommendation-item {
    flex: 1;
    min-width: calc(50% - 5px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-recommendation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-item-preview {
    width: 100%;
    height: 140px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
    padding: 4px;
    box-sizing: border-box;
}

.preview-item {
    background: #2a2a2a;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.preview-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 2px;
}

.product-item-info {
    padding: 10px;
}

.product-item-tags {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;

}

.product-tag {
    font-size: 10px;
    color: #999;
    padding: 2px 4px;
    background: #f5f5f5;
    border-radius: 2px;
    line-height: 1.4;
}

.product-item-desc {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 6px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item-game {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-item-price {
    font-size: 18px;
    font-weight: 600;
    color: #FF3B30;
    margin-bottom: 4px;
}

.product-item-sold {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

/* ==================== 滚动通知样式 ==================== */
.notice-bar {
    flex: 1;
    height: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    font-size: 12px;
    color: #666;
}

.notice-avatars {
    height: 24px;
    display: flex;
    align-items: center;
    gap: 0px;
    flex-shrink: 0;
}



.notice-avatar {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: 1px solid #fff;
}

/* 第二个头像左移10px */
.notice-avatar:nth-child(2) {
    margin-left: -10px;
}

/* 第二个头像左移20px */
.notice-avatar:nth-child(3) {
    margin-left: -10px;
}



.notice-list {
    flex: 1;
    overflow: hidden;
    height: 24px;
    position: relative;
}

.notice-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    /* 改为纵向列表滚动，不再使用横向跑马灯 */
    white-space: normal;
    display: block;
    animation: none;
}

.notice-list .item {
    display: block;
    padding-right: 0;
    line-height: 24px;
    height: 24px;
    font-weight: 600;
    font-size: 12px;
    display: flex;

}

/* 横向滚动动画不再使用，保留占位，避免潜在引用报错 */
@keyframes notice-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}