
/* 价格计算卡片整体样式 */
.custom-tier-card {
    margin: 15px 0 15px 0; /* 在按钮上方拉开 15px 的舒适间距 */
    padding: 14px 18px;
    background: #f7f9fa; /* 采用浅灰底色，与主网页产生层次对比 */
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    clear: both; /* 确保清除浮动，防止排版错乱 */
    display: block;
}

/* 行排版 */
.tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    color: #4a5568;
}

/* 顶部订单概要标题 */
.tier-row.header {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    color: #718096;
    letter-spacing: 0.5px;
}

/* 数量显示标签 */
.qty-tag {
    background: #edf2f7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 分割线 */
.tier-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0 12px 0;
}

.tier-label {
    color: #4a5568;
}

.tier-value {
    font-weight: 600;
    color: #2d3748;
}

/* 总价高亮行 */
.tier-row.highlight {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #cbd5e0;
}

.total-label {
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
}

.total-value {
    font-size: 20px;
    font-weight: 800;
    color: #e53e3e; /* 突出红色显示总价 */
}

/* 节省金额提示标签 */
.tier-saving-tag {
    margin-top: 10px;
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #2f855a;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* 移动端安全策略 */
[class*="sticky"] .custom-tier-card,
[class*="fixed"] .custom-tier-card,
.mobile-fixed-footer .custom-tier-card {
    display: none !important;
}
