/* TPS Multi-Buy block. Store tokens: ink #1a3a5c, navy #0a1628, muted #61748a, hairline #e6ebef,
   fill #f7fafc, blue #45aad3 / #2f7fb6 (the one selected state), green only for savings. */
.summary.entry-summary .tps-mb { order: 4 !important; }
.tps-mb { box-sizing: border-box; width: 100%; border: 1px solid #e6ebef; border-radius: 14px; background: #fff; padding: 16px 14px 14px; margin: 12px 0 14px; color: #1a3a5c; font-family: inherit; line-height: 1.35; clear: both; }
.tps-mb *, .tps-mb *::before, .tps-mb *::after { box-sizing: border-box; }
.tps-mb__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 14px; }
.tps-mb__eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #61748a; }
.tps-mb__note { font-size: 12.5px; color: #61748a; text-align: right; }
.tps-mb__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tps-mb__card { position: relative; display: grid; gap: 5px; justify-items: center; align-content: center; text-align: center; min-height: 100px; margin: 0; padding: 18px 8px 14px; border: 1.5px solid #e6ebef; border-radius: 12px; background: #fff; color: #1a3a5c; font: inherit; line-height: 1.2; cursor: pointer; box-shadow: none; -webkit-appearance: none; appearance: none; transition: border-color .15s, background .15s; }
.tps-mb__card:hover { border-color: #b9d2e6; background: #fff; }
.tps-mb__card.is-on { border-color: #45aad3; background: #e9f5fb; }
.tps-mb__card:focus { outline: 0 !important; box-shadow: none !important; }
.tps-mb__card:focus-visible { outline: 3px solid #45aad3 !important; outline-offset: 2px; }
.tps-mb__card--wide { grid-column: 1 / -1; min-height: 92px; }
.tps-mb__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #2f7fb6; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; line-height: 1.2; white-space: nowrap; }
.tps-mb__badge--bulk { background: #0a1628; }
.tps-mb__qty { font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #0a1628; }
.tps-mb__pct { font-size: 15px; font-weight: 800; color: #2f7fb6; min-height: 1.2em; }
.tps-mb__ea { font-size: 13.5px; color: #61748a; font-variant-numeric: tabular-nums; }
.tps-mb__card--ask .tps-mb__pct { color: #0a1628; }
.tps-mb__card--ask .tps-mb__ea { color: #2f7fb6; font-weight: 600; }
.tps-mb__hint { margin: 12px 0 0; font-size: 13.5px; font-weight: 600; color: #0a1628; min-height: 1.3em; }
.tps-mb__hint .tps-mb__save { color: #15803d; }
.tps-mb__fine { margin: 6px 0 0; font-size: 12px; color: #61748a; }
.tps-mb__btn-total, .single_add_to_cart_button .tps-cta-amt { font-weight: 500; opacity: .9; margin-left: 4px; white-space: nowrap; }

/* basket line: shelf price struck through, tier price next to it */
.tps-mb-was { opacity: .55; margin-right: 4px; }
.tps-mb-now { text-decoration: none; font-weight: 700; }

/* bulk enquiry sheet */
.tps-mb__sheet { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 22, 40, .5); }
.tps-mb__sheet[hidden] { display: none; }
.tps-mb__sheet-card { width: 100%; max-width: 520px; background: #fff; border-radius: 22px 22px 0 0; padding: 14px 20px 28px; display: grid; gap: 12px; color: #1a3a5c; animation: tps-mb-up .22s ease-out; }
@media (min-width: 640px) { .tps-mb__sheet { align-items: center; padding: 20px; } .tps-mb__sheet-card { border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .tps-mb__sheet-card { animation: none; } .tps-mb__card { transition: none; } }
@keyframes tps-mb-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.tps-mb__grab { display: block; width: 40px; height: 4px; border-radius: 2px; background: #e6ebef; margin: 0 auto 4px; }
.tps-mb__sheet-card h4 { margin: 0; font-size: 20px; font-weight: 800; color: #0a1628; letter-spacing: -.01em; }
.tps-mb__sheet-card p { margin: 0; font-size: 13.5px; color: #61748a; line-height: 1.5; }
.tps-mb__sheet-card p strong { color: #1a3a5c; }
.tps-mb__cta { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1.5px solid #e6ebef; border-radius: 12px; background: #fff; color: #0a1628; font-size: 15px; font-weight: 700; text-decoration: none; padding: 0 14px; line-height: 1.2; }
.tps-mb__cta:hover { text-decoration: none; border-color: #b9d2e6; color: #0a1628; }
.tps-mb__cta svg { flex: none; }
.tps-mb__cta--wa { background: #1da851; border-color: #1da851; color: #fff; }
.tps-mb__cta--wa:hover { background: #178f45; border-color: #178f45; color: #fff; }
.tps-mb__cta--close { min-height: 0; border: 0; background: none; color: #61748a; font-size: 13px; font-weight: 600; padding: 6px; cursor: pointer; box-shadow: none; }
body.tps-mb-sheet-open { overflow: hidden; }
