/* V345 — one premium, accessible cart-discount visual for cards and detail. */
.iv345-tier{--iv345-ink:#153d58;--iv345-aqua:#0bbcc3;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:8px;min-width:0;margin:13px 0 10px;padding:12px 13px;border:1px solid rgba(27,155,188,.22);border-radius:14px;color:var(--iv345-ink);background:linear-gradient(122deg,#f7fcff 0%,#eaf8fb 52%,#f6fbff 100%);box-shadow:0 7px 26px rgba(5,85,128,.055)}
.iv345-tier::before{content:"";pointer-events:none;position:absolute;inset:-50% auto auto 52%;height:140px;width:250px;transform:rotate(-24deg);background:radial-gradient(ellipse,rgba(91,219,224,.24),transparent 68%);z-index:-1}
.iv345-tier-top,.iv345-tier-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px 12px}
.iv345-tier-heading{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.02em;color:#164662}
.iv345-tier-spark{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:7px;color:#008fa5;background:rgba(8,180,194,.11);font-size:14px}
.iv345-tier-rate{font-variant-numeric:tabular-nums;letter-spacing:-.06em;line-height:1;font-weight:900;font-size:23px;color:#0289a0;text-shadow:0 1px 0 rgba(255,255,255,.7)}
.iv345-tier-context{color:#456c80;font-size:10.5px;line-height:1.4;font-weight:600}
.iv345-tier-track{position:relative;height:7px;overflow:hidden;border-radius:99px;background:linear-gradient(90deg,#e6f1f6,#daeaf1);box-shadow:inset 0 1px 2px rgba(20,85,110,.08)}
.iv345-tier-track::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(6.6667% - 1.5px),rgba(255,255,255,.75) calc(6.6667% - 1.5px),rgba(255,255,255,.75) 6.6667%);pointer-events:none}
.iv345-tier-progress{display:block;height:100%;border-radius:inherit;background:linear-gradient(95deg,#178ac1 0%,#0abac9 63%,#0fdfae 100%);box-shadow:0 0 10px rgba(5,190,199,.26);transition:width .3s ease}
.iv345-tier-bottom{font-size:10.5px;font-weight:600;color:#53748a;line-height:1.4}
.iv345-tier-next{min-width:0}
.iv345-tier-limit{flex:none;font-weight:800;color:#196d89}
.iv345-tier--detail{padding:17px 19px;margin:12px 0 16px;border-radius:18px;background:linear-gradient(115deg,#f7fcff,#eafafc 55%,#f4faff)}
.iv345-tier--detail .iv345-tier-heading{font-size:13px}
.iv345-tier--detail .iv345-tier-rate{font-size:32px}
.iv345-tier--detail .iv345-tier-context,.iv345-tier--detail .iv345-tier-bottom{font-size:12px}
.iv345-tier--detail .iv345-tier-track{height:10px}
.product-card .iv345-tier{margin:10px 0 11px;padding:10px 11px;gap:7px;border-radius:12px}
.product-card .iv345-tier-rate{font-size:20px}
.product-card .iv345-tier-heading{font-size:11px}
@media(max-width:580px){.iv345-tier--detail{padding:13px}.iv345-tier-rate{font-size:24px}.iv345-tier-bottom{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.iv345-tier-progress{transition:none}}

/* V350: the rate is a forecast, not an earned discount; bar previews next threshold. */
.iv345-tier{background:linear-gradient(120deg,#fafdff 0%,#f3faff 65%,#f6fcfc 100%);border:1px dashed #a4d6df;box-shadow:none}
.iv345-tier-rate{color:#176f95;text-shadow:none;font-size:22px}
.iv350-projected{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:5px;justify-content:flex-end}
.iv350-projected>small{color:#517b8f;font-size:9px;letter-spacing:.045em;font-weight:800}
.iv350-current{font-size:10.5px;color:#607a89;font-weight:550}
.iv350-current b{color:#244c61}
.iv345-tier-track{background:#ebf3f6;box-shadow:none}
.iv345-tier-progress{background:linear-gradient(90deg,#8ec8d4,#21a1b6);box-shadow:none}
.product-card .iv345-tier{gap:5px;padding:9px 10px}
.product-card .iv345-tier-rate{font-size:19px}
.product-card .iv350-current{font-size:10px}
.iv345-tier--detail .iv345-tier-rate{font-size:27px}
/* V350_CATALOGUE_FX_PREVIEW */

/* IV_CART_TIERS_R5_NATIVE_PROGRESS: isolated native meter, no inline width or legacy pseudo layers. */
.iv345-tier[data-ivct5]{box-sizing:border-box;display:flex;flex-direction:column;gap:6px;min-width:0;max-width:100%;}
.iv345-tier[data-ivct5] .ivct5-head{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:12px;font-weight:750;line-height:1.3;}
.iv345-tier[data-ivct5] .ivct5-earned{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;flex-shrink:0;}
.iv345-tier[data-ivct5] .ivct5-earned small{font-size:9px;letter-spacing:.04em;font-weight:700;color:#53778a;}
.iv345-tier[data-ivct5] .ivct5-context,.iv345-tier[data-ivct5] .ivct5-campaign{font-size:11px;line-height:1.4;overflow-wrap:anywhere;color:#476b80;}
.iv345-tier[data-ivct5] progress.ivct5-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;max-width:100%;min-width:0;height:7px;min-height:7px;margin:0;padding:0;border:0;border-radius:6px;overflow:hidden;background:#d8e5eb;color:#168fa9;accent-color:#168fa9;box-shadow:none;flex:none;}
.iv345-tier[data-ivct5] progress.ivct5-progress::-webkit-progress-bar{background:#d8e5eb;border-radius:6px;}
.iv345-tier[data-ivct5] progress.ivct5-progress::-webkit-progress-value{background:#168fa9;border-radius:6px;box-shadow:none;}
.iv345-tier[data-ivct5] progress.ivct5-progress::-moz-progress-bar{background:#168fa9;border-radius:6px;box-shadow:none;}
.iv345-tier[data-ivct5] .ivct5-bottom{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:3px 8px;font-size:11px;line-height:1.4;}
.iv345-tier[data-ivct5] .ivct5-next{flex:1 1 120px;min-width:0;overflow-wrap:anywhere;}
.iv345-tier[data-ivct5] .ivct5-cap{flex:0 0 auto;font-weight:700;white-space:nowrap;}
.iv345-tier--detail[data-ivct5] progress.ivct5-progress{height:10px;min-height:10px;}
.iv345-tier--detail[data-ivct5] .ivct5-head{font-size:14px;}
.iv345-tier--detail[data-ivct5] .ivct5-context,.iv345-tier--detail[data-ivct5] .ivct5-bottom{font-size:12px;}

/* IV_CART_TIERS_R6_CONDITIONAL */
.iv345-tier[data-ivct5] .ivct6-projection{border-top:1px solid #badde5;padding-top:5px;display:flex;flex-direction:column;gap:3px;min-width:0;}
.iv345-tier[data-ivct5] .ivct6-row{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:11px;font-weight:700;color:#13516c;}
.iv345-tier[data-ivct5] .ivct6-row strong{color:#087b8f;font-size:17px;white-space:nowrap;}
.iv345-tier[data-ivct5] .ivct6-invalid{font-size:11px;color:#476b80;}
.iv345-tier[data-ivct5] [hidden]{display:none!important;}

/* IV_PREPAID_DETAIL_R2 — amount emphasis in existing payment row only. */
.iv344-pay-row.ivpd2-row{align-items:center;gap:8px 12px;flex-wrap:wrap;}
.iv344-pay-row .ivpd2-value{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-left:auto;text-align:right;min-width:0;max-width:100%;}
.iv344-pay-row .ivpd2-value strong{font-size:clamp(16px,2.5vw,23px);font-weight:800;color:#096449;line-height:1.2;overflow-wrap:anywhere;}
.iv344-pay-row .ivpd2-value small{font-size:10px;font-weight:500;color:#526f72;line-height:1.25;}
