.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8px;
}

.nav-link img {
    width: 34px;
    height: 34px;
    margin-bottom: 5px;
}

.noyanse {
    background: linear-gradient(to right, #00c6ff, #0072ff);
}

.vipyanse {
    background: linear-gradient(to right, #f12711, #f5af19);
}

.monthyanse {
    background: linear-gradient(to right, #ff416c,#ff4b2b);
}

.seasonyanse {
    background: linear-gradient(to right, #f953c6,#b91d73);
}

.yearyanse {
    background: linear-gradient(to right, #000b00,#000b00);
}

.boosvipyanse {
    background: linear-gradient(to right, #00c9ff,#92fe9d);
}
.fixed-height-scroll {
    max-height: 300px; /* 固定高度 */
    overflow-y: auto; /* 允许垂直滚动 */
    padding-right: 10px; /* 预留一些空间避免滚动条遮挡内容 */
}

/* 自定义滚动条样式 */
.fixed-height-scroll::-webkit-scrollbar {
    width: 4px; /* 滚动条宽度 */
}

.fixed-height-scroll::-webkit-scrollbar-thumb {
    background-color: #888; /* 滚动条颜色 */
    border-radius: 10px; /* 滚动条圆角 */
    height: 5px; /* 滚动条长度 */
}
.btn-soft.noyanse {
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: #fff;
}

.btn-soft.vipyanse {
    background: linear-gradient(to right, #f12711, #f5af19);
    color: #fff;
}

.btn-soft.monthyanse {
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    color: #fff;
}

.btn-soft.seasonyanse {
    background: linear-gradient(to right, #f953c6, #b91d73);
    color: #fff;
}

.btn-soft.yearyanse {
    background: linear-gradient(to right, #000b00, #000b00);
    color: #fff;
}

.btn-soft.boosvipyanse {
    background: linear-gradient(to right, #00c9ff, #92fe9d);
    color: #fff;
}
    .owl-theme .owl-nav [class*=owl-] {
    margin: 0 !important;
}
.text-highlight-red {
    color: #ff4d4f;
}

.text-highlight-green {
    color: #00b300;
}

.text-highlight-blue {
    color: #0066ff;
}

.text-highlight-zise {
    color: #f659ff;
}
/* 标签样式 */
.badge {
    position: relative;
    top: -10px;
    padding: 2px 4px;
    font-size: 11px;
    margin-left: 4px;
    background: linear-gradient(45deg, #ff4d4f, #ff7875);
    animation: shine 2s infinite;
}
/* 独家标签 */
.badge-exclusive {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white;
}

/* 专属标签 */
.badge-vip {
    background: linear-gradient(45deg, #845EC2, #9B89B3);
    color: white;
}

/* 新增标签 */
.badge-new {
    background: linear-gradient(45deg, #FF4D4F, #FF7875);
    color: white;
    animation: shine 2s infinite;
}

/* 特殊标签 */
.badge-special {
    background: linear-gradient(45deg, #00C9A7, #4ECDC4);
    color: white;
}

/* 免费标签 */
.badge-free {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    color: white;
}

/* 限时标签 */
.badge-limited {
    background: linear-gradient(45deg, #FFC75F, #FFD93D);
    color: #333;
}

/* 闪光动画 - 用于新增标签 */
@keyframes shine {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}
/* 卡片样式 */
.price-desc .benefit-card {
    background: #ffffff45;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 权益项样式 */
.price-desc .benefit-item {
    position: relative;
    cursor: pointer;
    padding: 5px 0;
    font-size: 12px;
}

/* 提示框样式 */
.price-desc .benefit-item[data-tooltip]:hover:after {
    content: attr(data-tooltip);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(10px, -50%);
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 999;
    max-width: 100px;
    width: max-content;  /* 根据内容自适应宽度 */
    white-space: normal;  /* 允许文字换行 */
    word-wrap: break-word;  /* 长单词换行 */
    line-height: 1.4;  /* 行高适中 */
}
/* 分类标题样式 */
.price-desc .benefit-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.price-desc .benefit-card-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 30px;
    height: 2px;
    background: #ff4d4f;
}

/* 图标颜色 */
i.fas.fa-check-circle.me-2.bg-opacity-75.text-fuhao {
    color: #2aa502;
}
/* 切换按钮样式 */
.switch-button {
    margin: 10px auto;
    width: 240px;
    height: 40px;
    position: relative;
}

.switch-button-checkbox {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}

.switch-button-label {
    position: relative;
    display: block;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    height: 100%;
    background: #fff;
}

.switch-button-label-span {
    position: relative;
    z-index: 1;
    float: left;
    width: 50%;
    height: 100%;
    line-height: 36px;
    text-align: center;
    font-weight: 500;
    color: #666;
    transition: color 0.3s;
}

.switch-button-label:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(50% - 4px);
    height: calc(100% - 4px);
    background: linear-gradient(45deg, #2196F3, #00BCD4);
    border-radius: 16px;
    transition: 0.3s ease;
}

.switch-button-checkbox:checked + .switch-button-label:before {
    left: calc(50% + 2px);
}

.switch-button-checkbox:checked + .switch-button-label .switch-button-label-span:last-child {
    color: #fff;
}

.switch-button-checkbox:not(:checked) + .switch-button-label .switch-button-label-span:first-child {
    color: #fff;
}

/* 内容区域样式 */
.member-content {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.member-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.member-contents-wrapper {
    position: relative;
    min-height: 600px; /* 设置一个最小高度，防止内容切换时页面跳动 */
}
/* 添加hover效果 */
.switch-button:hover {
    opacity: 0.9;
}

/* 添加点击效果 */
.switch-button:active {
    transform: scale(0.98);
}
.owl-theme .owl-dots {
bottom: -1.5rem !important;
}
.card-body {
    padding: 0 5px !important;
}
/*抢购会员按钮*/


.promotion-price-tag {
    background: #FFE7BA;
    color: #FF4E4E;
    padding: 6px 12px;
    border-radius: 20px 0 0 20px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    width: 40%;
    justify-content: center;
}

.promotion-grab {
    background: #FF4E4E;
    color: white;
    padding: 6px 15px;
    border-radius: 0 20px 20px 0;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    width: 60%;
    position: relative;
    overflow: hidden;
}

.promotion-grab:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.promotion-grab[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 闪光效果 - 使用特殊的动画名称 */
.promotion-grab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: promotionShine 2s infinite;
}

@keyframes promotionShine {
    to {
        left: 200%;
    }
}
    /* 进度条区域 */
.quota-progress {
    margin: 16px 0 20px; /* 增加底部间距，避免被下方内容遮挡 */
}

.progress-bar {
    height: 20px;
    background: #FFE7E7;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.progress-inner {
    height: 100%;
background: linear-gradient(90deg, #ff0000 0%, #eb6fc3a3 100%);
    border-radius: 12px;
    transition: width 0.3s ease;
    position: relative;
}

/* 文字轮播容器 */
.progress-text-wrapper {
    position: absolute;
    left: 12px;
    top: 0;
    height: 24px;
    overflow: hidden;
}

/* 轮播文字样式 */
.progress-text {
    height: 24px;
    line-height: 24px;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    animation: textSlide 4s ease-in-out infinite;
}

.quota-limit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
}
/* 平滑轮播动画 */
@keyframes textSlide {
    0%, 45% {
        transform: translateY(0);
    }
    50%, 95% {
        transform: translateY(-24px);
    }
    100% {
        transform: translateY(0);
    }
}
/* 价格承诺区域 */
.progress-text-chengnuo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 8px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    margin-top: 0; /* 移除上边距 */
}

.chengnuo-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.chengnuo-link:hover {
    color: #FF4E4E;
}

.chengnuo-link i {
    font-size: 14px;
    color: #FF4E4E;
}

.restore-price {
    margin-left: auto;
    color: #999;
}

/* 容器布局 */
.promo-price-wrapper {
    position: relative;
    padding-bottom: 40px;
}
    /* 模态框样式优化 */
.modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal-header {
    background: linear-gradient(135deg, #FF4E4E 0%, #FF7676 100%);
    border: none;
    padding: 1rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-body {
    padding: 1.5rem;
    background: #f8f9fa;
}

/* 价格分析区域 */
.price-analysis {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.current-price-tag {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 1rem;
}

.current-price-tag .label {
    font-size: 14px;
    color: #666;
}

.current-price-tag .price {
    font-size: 24px;
    font-weight: bold;
    color: #FF4E4E;
}

.current-price-tag .original {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.price-tips {
    display: flex;
    gap: 20px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
}

.tip-item i {
    font-size: 14px;
}

/* 通知区域样式 */
.notice-wrapper {
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

/* 通知标题 */
.notice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.notice-title i {
    color: #666;
}

/* 通知内容 */
.notice-content {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 高亮提示 */
.notice-highlight {
    margin-top: 12px;
}

.notice-highlight .highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0;
    color: #FF4E4E;
}

.notice-highlight .highlight-item i {
    color: #FF9500;
}
    /* 促销卡片基础样式 */
.promo-price-wrapper {
    background: #FFF8E7;
    border-radius: 8px;
    padding: 12px;
    margin: 10px 0;
    text-align: center;
    position: relative;
}

/* 促销标签样式 */
.promo-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
    white-space: nowrap;
}

/* 促销标签变体 */
.promo-tag.hot { background: #FF6B6B; }
.promo-tag.limited { background: #FF922B; }
.promo-tag.new { background: #20C997; }
.promo-tag.special { background: #845EF7; }

/* 价格区块样式 */
.price-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* 闪电图标 */
.flash-icon {
    font-size: 20px;
    color: #FF3B3B;
    animation: flash-pulse 2s infinite;
}

/* 价格文本样式 */
.current-price {
    font-size: 24px;
    font-weight: bold;
    color: #FF3B3B;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-top: 12px;
}

/* 倒计时样式 */
.countdown {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin: 4px 0;
}

.countdown-prefix {
    margin-right: 4px;
    background: #f32121;
    border-radius: 12px 12px 0;
    padding: 2px 8px;
    color: #ffffff;
}

.time {
    font-family: Monaco, Consolas, monospace;
    color: #FF3B3B;
    font-weight: 500;
    background: #ffffff;
        width: 120px;
}

/* 节省金额样式 */
.saving-amount {
    display: inline-block;
    color: #fd196cd6;
    border: 1px solid #ff070729;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 4px;
}
.cat_qianggou {
    display: inline-flex;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 78, 78, 0.1);
    margin: 0 auto;
    width: 200px;
    position: relative;
}
/* 动画效果 */
@keyframes flash-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}