/* 卡片 ———— 左右布局，白底圆角，无hover效果 */
.card {
    max-width: 420px;
    width: 100%;
    background: #f5f2fa;
    border-radius: 28px;
    padding: 5px 10px 5px 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

/* 左侧：产品图片（钻石图标） */
.product-image {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: linear-gradient(#ffffff, #ffffff, #ffffff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(80, 60, 140, 0.12);
}

.product-image svg {
    width: 40px;
    height: 40px;
    display: block;
}

/* 右侧：文字信息区域 */
.info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

/* 标题：抖音钻石(抖币) */
.product-title {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2c;
    letter-spacing: 0.2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* 价格：$15.6 */
.price {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

/* 购买按钮 ———— 触摸优化，无hover效果 */
.purchase-btn {
    flex-shrink: 0;
    padding: 5px 10px;
    background: #FF4200;
    border: none;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 650;
    color: white;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(25, 15, 50, 0.15);
    white-space: nowrap;
    margin-left: auto;
    /* 触摸反馈：点击时缩小 */
    transition: transform 0.1s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.purchase-btn:active {
    transform: scale(0.95);
}

















.price .help-icon-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #888;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto !important;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    flex-shrink: 0;
    border: none;
    font-family: inherit;
    position: relative;
    margin-top: -2px;
}

.price .help-icon-title:active {
    transform: scale(0.85);
    background: #d0d0d0;
}
/* ===== 提示气泡 - 精准定位在问号右上角 ===== */
.tooltip-bubble {
    position: fixed;
    max-width: 260px;
    background: #888;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: all 0.25s ease;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    font-weight: 400;
    letter-spacing: 0.2px;
    transform-origin: top right;
}

.tooltip-bubble.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: none;
}


.tooltip-bubble.arrow-up::after {
    bottom: auto;
    top: -6px;
    border-top: none;
    border-bottom: 6px solid #1f1f38;
}
.wrapper {
    width: 100%;
    max-width: 500px;
    position: relative;
}
.goods-swiper {
    width: 100%;
    padding: 4px 0 8px 0;
    overflow: hidden;
}

.goods-swiper .swiper-wrapper {
    align-items: stretch;
    display: flex !important;
    gap: 5px;
}

/* 卡片 - 完全自定义类名 */
.goods-swiper .goods-card {
    width: 180px !important;
    flex-shrink: 0 !important;
    height: auto;
    background: #f5f2fa;
    border-radius: 20px;
    padding: 12px 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.1s;
    user-select: none;
    -webkit-user-select: none;
    flex-direction: row !important;
}

.goods-swiper .goods-card:active {
    transform: scale(0.97);
}

/* 商品图标 */
.goods-swiper .goods-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
}


.goods-swiper .goods-icon img {
    width: 52px;
    height: 52px;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

/* 商品信息 */
.goods-swiper .goods-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.goods-swiper .goods-name {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2c;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.goods-swiper .goods-action {
    font-size: 13px;
    font-weight: 500;
    color: #FF4200;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.goods-swiper .goods-action .arrow {
    display: inline-block;
    transition: transform 0.2s;
    font-size: 14px;
    color: #FF4200;
}

.goods-swiper .goods-card:active .goods-action .arrow {
    transform: translateX(4px);
}

/* 分页指示器 - 限定在 goods-swiper 下 */
.goods-swiper .swiper-pagination {
    position: relative;
    margin-top: 12px;
    bottom: auto;
}

.goods-swiper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transition: all 0.3s;
}

.goods-swiper .swiper-pagination-bullet-active {
    background: #007aff;
    width: 18px;
    border-radius: 4px;
}

/* 滑动提示 */
.scroll-hint {
    text-align: center;
    font-size: 12px;
    color: #bbb;
    margin-top: 10px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.scroll-hint .hint-arrow {
    display: inline-block;
    animation: hintMove 1.5s ease-in-out infinite;
}

@keyframes hintMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}
