:root {
  --blue: #1c3f94;
  --blue-dark: #12296a;
  --red: #d52b3a;
  --yellow: #fcc419;
  --ink: #1b2233;
  --muted: #5d667a;
  --bg: #f6f7fb;
  --card: #fff;
  --line: #e3e6ef;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
header.top { background: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
header.top img { height: 64px; width: 64px; object-fit: contain; }
.brand { font-weight: 800; color: var(--blue); line-height: 1.1; }
.brand small { display: block; color: var(--red); font-weight: 600; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
nav { margin-left: auto; display: flex; gap: 20px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
nav a:hover { color: var(--red); }

/* hero */
.hero { background: linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, #2a56c4); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(252,196,25,.55), rgba(252,196,25,0) 65%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 12px; line-height: 1.1; }
.hero p { margin: 0 0 20px; font-size: 1.1rem; opacity: .92; max-width: 520px; }
.tag { display: inline-block; background: var(--yellow); color: #3a2c00; font-weight: 700; padding: 4px 12px; border-radius: 999px; font-size: .8rem; margin-bottom: 14px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-size: 1rem; }
.btn.red { background: var(--red); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn.blue { background: var(--blue); color: #fff; }
.hero-logo { justify-self: center; background: #fff; border-radius: 50%; padding: 10px; width: min(300px, 70vw); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.hero-logo img { display: block; width: 100%; border-radius: 50%; }

section { padding: 56px 0; }
section h2 { font-size: 1.9rem; color: var(--blue); margin: 0 0 6px; }
section .sub { color: var(--muted); margin: 0 0 28px; }

/* rates */
#rates { margin-top: -40px; padding-top: 0; position: relative; z-index: 2; }
.panel { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: 0 10px 34px rgba(18,41,106,.14); }
.panel h2 { margin-top: 0; }
.rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.rate-card { border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; transition: border-color .2s; }
.rate-card.best { border-color: var(--yellow); background: #fffdf3; }
.badge { position: absolute; top: -12px; right: 16px; background: var(--yellow); color: #3a2c00; font-size: .75rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.rate-card h3 { margin: 0 0 4px; font-size: 1.2rem; }
.rate-card.wu h3 { color: #b8860b; }
.rate-card.metro h3 { color: var(--red); }
.rate-val { font-size: 2.1rem; font-weight: 800; color: var(--blue); }
.rate-val small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.meta { color: var(--muted); font-size: .9rem; margin: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { background: #eef2fc; color: var(--blue); font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.calc { background: var(--bg); border-radius: var(--radius); padding: 20px; }
.calc h3 { margin: 0 0 12px; color: var(--blue); }
.calc-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-width: 140px; }
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.res { background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); }
.res.best { border-color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
.res .who { font-weight: 700; font-size: .9rem; color: var(--muted); }
.res .recv { font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.res .fee { font-size: .85rem; color: var(--muted); }
.disclaimer { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }

/* sale */
#sale { background: #fff; }
.sale-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 7px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; font: inherit; font-weight: 600; font-size: .9rem; }
.filters button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; position: relative; transition: transform .15s, box-shadow .15s; }
.item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,41,106,.12); }
.item .pic { height: 120px; display: grid; place-items: center; font-size: 3.4rem; background: linear-gradient(135deg, #fff6d6, #ffe9ea); }
.item .pic img { width: 100%; height: 100%; object-fit: cover; }
.item .off { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.item .body { padding: 14px; }
.item .cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.item h4 { margin: 2px 0 8px; font-size: .98rem; line-height: 1.3; min-height: 2.6em; }
.price { font-size: 1.3rem; font-weight: 800; color: var(--red); }
.was { color: var(--muted); text-decoration: line-through; margin-left: 6px; font-size: .9rem; }
.until { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.empty { color: var(--muted); padding: 20px 0; }

/* visit */
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vcard { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.vcard h3 { margin: 0 0 6px; color: var(--blue); }
.vcard p { margin: 0; color: var(--muted); }

footer { background: var(--blue-dark); color: #d6defa; text-align: center; padding: 28px 20px; }
footer strong { color: var(--yellow); }
footer a { color: #fff; }
.stripe { height: 6px; background: linear-gradient(90deg, var(--blue) 33%, var(--yellow) 33% 66%, var(--red) 66%); }

@media (max-width: 760px) {
  nav { display: none; }
  .hero .wrap, .rate-grid, .results, .visit { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: 190px; }
  .panel { padding: 20px; }
}

/* admin */
.admin .panel { margin-bottom: 24px; }
.admin table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin td, .admin th { padding: 4px; text-align: left; }
.admin td input { width: 100%; min-width: 0; }
.admin .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin .row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.admin .x { background: none; border: 0; color: var(--red); font-size: 1.2rem; cursor: pointer; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.toast.show { opacity: 1; }
.table-scroll { overflow-x: auto; }

/* provider logos */
.plogo { background-repeat: no-repeat; background-position: left center; background-size: contain; margin-bottom: 8px; }
.plogo.wu { height: 56px; width: 150px; }
.plogo.metro { height: 150px; width: 167px; background-size: 100% auto; background-position: top left; aspect-ratio: 418 / 375; height: auto; width: 170px; }
.rate-grid { grid-template-columns: 1fr 1.3fr; }
.rate-card.featured { border-color: var(--blue); box-shadow: 0 8px 24px rgba(0,82,160,.18); }
.rate-card.featured.best { border-color: var(--yellow); }
.rate-card.featured .rate-val { font-size: 2.6rem; }
.rate-card h3 { font-size: 1rem; }
.rate-card.featured h3 { font-size: 1.4rem; color: #0052a0; }
@media (max-width: 760px) { .rate-grid { grid-template-columns: 1fr; } }

/* clearance */
#sale { background: repeating-linear-gradient(135deg, #fff 0 18px, #fff8e1 18px 36px); }
.clear-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(100deg, var(--red), #b01626); color: #fff; border-radius: 20px; padding: 24px 28px; margin-bottom: 24px; border: 4px dashed var(--yellow); }
.clear-banner h2 { color: #fff; margin: 6px 0 4px; font-size: clamp(1.4rem, 3vw, 2rem); }
.clear-banner p { margin: 0; opacity: .92; }
.cb-tag { background: var(--yellow); color: #3a2c00; font-weight: 900; letter-spacing: .12em; padding: 3px 12px; border-radius: 6px; font-size: .8rem; animation: flash 1.2s infinite; }
.cb-timer { text-align: center; background: rgba(0,0,0,.28); padding: 12px 22px; border-radius: 14px; }
.cb-timer small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.cb-timer b { font-size: 2rem; font-variant-numeric: tabular-nums; color: var(--yellow); }
@keyframes flash { 50% { opacity: .45; } }
.item { border: 2px solid var(--line); }
.item.low { border-color: var(--red); }
.item .off { background: var(--red); font-size: 1rem; padding: 5px 12px; transform: rotate(-4deg); box-shadow: 0 3px 8px rgba(213,43,58,.4); z-index: 1; }
.item .pic { height: 150px; flex-direction: column; gap: 4px; display: flex; align-items: center; justify-content: center; padding: 8px; text-align: center; }
.item .pic .emo { font-size: 3.6rem; line-height: 1; filter: drop-shadow(0 4px 4px rgba(0,0,0,.2)); }
.item .pic .pname { font-size: .72rem; font-weight: 700; color: rgba(0,0,0,.55); }
.cat-noodlespantry { background: linear-gradient(135deg, #ffe08a, #ffb347); }
.cat-snacks { background: linear-gradient(135deg, #ffd1d6, #ff8fa0); }
.cat-sweets { background: linear-gradient(135deg, #e3d1ff, #b38cf5); }
.cat-frozen { background: linear-gradient(135deg, #d4efff, #8ccaf5); }
.price { font-size: 1.6rem; }
.stock { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 4px; }
.stock.hot { color: var(--red); animation: flash 1.5s infinite; }
.until { color: var(--ink); font-weight: 600; }
.until b { color: var(--red); font-variant-numeric: tabular-nums; }

/* brand lockup */
.brand { display: flex; flex-direction: column; gap: 2px; font-weight: normal; }
.brand .bn { font-family: "Lobster Two", "Segoe Script", cursive; font-style: italic; font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--blue); letter-spacing: .01em; text-shadow: 0 2px 0 var(--yellow); }
.brand .bs { display: flex; align-items: center; gap: 8px; font-family: Montserrat, "Segoe UI", sans-serif; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.brand .bs b { color: var(--red); font-weight: 800; }
.brand .bs i { width: 22px; height: 2px; background: var(--yellow); border-radius: 2px; }
.brand .bs em { color: var(--muted); font-style: normal; font-weight: 600; }
.foot-brand { align-items: center; margin-bottom: 8px; }
.foot-brand .bn { color: #fff; text-shadow: 0 2px 0 var(--red); }
.foot-brand .bs em { color: #c9d4f7; }
@media (max-width: 480px) { .brand .bn { font-size: 1.7rem; } .brand .bs { font-size: .56rem; letter-spacing: .12em; gap: 5px; } .brand .bs i { width: 10px; } }
.plogo { mix-blend-mode: multiply; }

/* ===== Rates display + calculator (modeled on MetroRemit portal, Masagana colors) ===== */
#rates { margin-top: -64px; padding: 0 0 8px; }
.mx-offer { max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: 10px; background: #fff; text-align: center; box-shadow: 0 24px 50px rgba(9, 25, 83, .18); }
.mx-offer-head { padding: 9px 12px; background: linear-gradient(90deg, var(--blue-dark), var(--blue) 55%, var(--red)); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mx-offer-row { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 18px; padding: 16px 24px; border-bottom: 1px solid #edf0f7; text-align: left; }
.mx-offer-row.featured { background: linear-gradient(90deg, #f3f7ff, #fff 60%); padding-top: 22px; padding-bottom: 22px; }
.mx-offer-brand .plogo { margin: 0; }
.mx-offer-brand .plogo.wu { width: 140px; height: 52px; }
.mx-offer-brand .plogo.metro { width: 120px; }
.mx-offer-rate { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--blue-dark); }
.mx-offer-rate strong { font-size: clamp(17px, 2.2vw, 26px); font-weight: 700; }
.mx-offer-row.featured .mx-offer-rate strong { font-size: clamp(19px, 2.6vw, 30px); }
.mx-offer-rate em { font-style: normal; font-size: 22px; font-weight: 700; color: var(--red); }
.mx-offer-meta { display: grid; justify-items: end; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.mx-best { background: var(--yellow); color: #3a2c00; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.mx-offer small { display: block; padding: 12px 0 14px; color: var(--muted); font-size: 12px; }
.mx-flag { display: inline-block; flex: none; width: 20px; height: 20px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35); align-self: center; }
.mx-flag svg, .mx-route-flags svg, .mx-currency svg { display: block; width: 100%; height: 100%; }
.mx-flag.big { width: 32px; height: 32px; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(9,25,83,.25); }

.mx-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 34px; overflow: hidden; padding: 88px 24px 80px; margin-top: 40px; background: linear-gradient(135deg, rgba(42,86,196,.35), transparent 42%), radial-gradient(circle at 78% 16%, rgba(252,196,25,.22), transparent 27%), #0c2160; isolation: isolate; }
.mx-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 82%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.mx-orb { position: absolute; z-index: -1; border-radius: 999px; pointer-events: none; }
.mx-orb.one { top: 13%; left: -110px; width: 280px; height: 280px; border: 1px solid rgba(252,196,25,.3); box-shadow: 0 0 0 44px rgba(252,196,25,.04), 0 0 0 92px rgba(252,196,25,.03); }
.mx-orb.two { right: -70px; bottom: 5%; width: 210px; height: 210px; border: 1px solid rgba(213,43,58,.4); box-shadow: 0 0 0 52px rgba(213,43,58,.05); }
.mx-stage-heading { max-width: 720px; text-align: center; color: #fff; }
.mx-stage-heading > div { display: inline-flex; align-items: center; gap: 9px; color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.mx-stage-heading > div::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--yellow); box-shadow: 0 0 0 5px rgba(252,196,25,.15); }
.mx-stage-heading h2 { margin: 16px 0 14px; color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
.mx-stage-heading p { max-width: 560px; margin: 0 auto; color: #c3cff0; font-size: 17px; line-height: 1.6; }
.mx-card-wrap { width: min(100%, 600px); }
.mx-card { position: relative; width: 100%; padding: 34px; border: 1px solid rgba(255,255,255,.68); border-radius: 30px; background: #fff; box-shadow: 0 36px 90px rgba(0,8,34,.42), 0 10px 28px rgba(0,8,34,.18); color: var(--ink); }
.mx-card::before { content: ""; position: absolute; top: -1px; left: 13%; right: 13%; height: 3px; border-radius: 0 0 999px 999px; background: linear-gradient(90deg, transparent, var(--blue) 15%, var(--yellow) 50%, var(--red) 85%, transparent); }
.mx-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.mx-route { display: flex; align-items: center; gap: 14px; }
.mx-route-flags { display: flex; align-items: center; }
.mx-route-flags span { display: block; width: 34px; height: 34px; overflow: hidden; border: 3px solid #fff; border-radius: 999px; box-shadow: 0 3px 8px rgba(5,29,78,.15); }
.mx-route-flags span:last-child { margin-left: -5px; }
.mx-route-flags i { display: none; }
.mx-route small { display: block; color: #7b8aa5; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.mx-route strong { color: #0b214f; font-size: 15px; }
.mx-live { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; background: #fff7d6; color: #7a5a00; font-size: 11px; font-weight: 800; white-space: nowrap; }
.mx-live i { width: 7px; height: 7px; border-radius: 999px; background: #20a967; box-shadow: 0 0 0 4px rgba(32,169,103,.15); }
.mx-card.updating .mx-live i { animation: mx-pulse 850ms ease-in-out infinite; }
.mx-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 14px; border-radius: 16px; background: #eef2f8; }
.mx-tabs button { position: relative; padding: 11px 8px; border: 0; border-radius: 12px; background: transparent; color: #5d6c88; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.mx-tabs button.on { background: #fff; color: var(--blue); box-shadow: 0 3px 10px rgba(7,29,73,.12); }
.mx-tabs em { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--yellow); color: #3a2c00; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.mx-field { display: block; padding: 16px 18px 18px; border: 1.5px solid #cbd5e6; border-radius: 18px; background: #fff; cursor: text; transition: border-color .18s, box-shadow .18s, transform .18s; }
.mx-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28,63,148,.12); transform: translateY(-1px); }
.mx-field > span { display: block; margin-bottom: 8px; color: #64738c; font-size: 12px; font-weight: 700; }
.mx-money-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.mx-amount { position: relative; min-width: 0; }
.mx-amount input, .mx-amount > span, .mx-money-row > strong { display: block; width: 100%; min-width: 0; overflow: hidden; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #081d49; font: inherit; font-size: clamp(34px, 4.3vw, 48px); font-weight: 720; line-height: 1.1; letter-spacing: -.04em; text-overflow: ellipsis; white-space: nowrap; }
.mx-amount input { color: transparent; caret-color: transparent; }
.mx-amount > span { position: absolute; inset: 0; pointer-events: none; margin: 0 !important; color: #081d49; font-size: clamp(34px, 4.3vw, 48px) !important; font-weight: 720 !important; }
.mx-amount.editing input { color: #081d49; caret-color: var(--blue); }
.mx-amount.editing > span { opacity: 0; }
.mx-field.receive { border-color: #d8e1ef; background: #f4f7fc; cursor: default; }
.mx-field.receive:focus-within { transform: none; box-shadow: none; border-color: #d8e1ef; }
.mx-field.receive .mx-money-row > strong { color: var(--blue); }
.mx-currency { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px 0 8px; border: 1px solid #e2e8f2; border-radius: 999px; background: #eef2f8; color: #102954; font-size: 13px; font-weight: 800; }
.mx-currency b { display: block; width: 30px; height: 30px; overflow: hidden; border-radius: 999px; box-shadow: 0 2px 5px rgba(7,29,73,.12); }
.mx-breakdown { position: relative; display: grid; gap: 10px; padding: 16px 12px 16px 23px; }
.mx-breakdown::before { content: ""; position: absolute; top: 0; bottom: 0; left: 40px; width: 1px; background: #d9e2ef; }
.mx-breakdown > div, .mx-breakdown > button { position: relative; display: grid; grid-template-columns: 34px 124px 1fr 16px; align-items: center; gap: 10px; width: 100%; min-height: 27px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.mx-breakdown > button { cursor: pointer; }
.mx-breakdown > button:disabled { cursor: not-allowed; opacity: .5; }
.mx-breakdown i { z-index: 1; display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #d2dae7; border-radius: 999px; background: #fff; color: #4c5f7e; font-size: 12px; font-style: normal; font-weight: 800; }
.mx-breakdown span { color: #132b58; font-size: 12.5px; font-weight: 800; }
.mx-breakdown small { color: #78869c; font-size: 12px; font-weight: 650; }
.mx-breakdown b { color: var(--blue); transition: transform .16s; display: grid; }
.mx-breakdown > button:hover:not(:disabled) b { transform: translateX(3px); }
.mx-error { margin-top: 10px; padding: 11px 13px; border-radius: 12px; background: #fff0f0; color: #a12828; font-size: 13px; font-weight: 600; }
.mx-arrival { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 13px 16px; border: 1px solid #d8ecdf; border-radius: 14px; background: #eff9f3; }
.mx-arrival span { display: inline-flex; align-items: center; gap: 8px; color: #507162; font-size: 12px; font-weight: 750; }
.mx-arrival span i { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 999px; background: #d4f0df; color: #168653; font-size: 10px; font-style: normal; }
.mx-arrival strong { color: #106b42; font-size: 12px; }
.mx-continue { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 56px; margin-top: 20px; padding: 0 24px; border-radius: 15px; background: linear-gradient(135deg, #e23545, #b01626); box-shadow: 0 14px 28px rgba(213,43,58,.28), inset 0 1px 0 rgba(255,255,255,.24); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; transition: transform .17s, box-shadow .17s; }
.mx-continue:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(213,43,58,.34), inset 0 1px 0 rgba(255,255,255,.24); }
.mx-continue svg { transition: transform .17s; }
.mx-continue:hover svg { transform: translateX(4px); }
.mx-note { margin: 12px 0 0; color: #8a96a9; font-size: 11px; text-align: center; }
.mx-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; color: #b4c2e6; font-size: 11.5px; font-weight: 700; }
.mx-assure span { display: inline-flex; align-items: center; gap: 8px; }
.mx-assure i { color: var(--yellow); font-size: 9px; font-style: normal; letter-spacing: .08em; }
.mx-in { animation: mx-in .42s cubic-bezier(.22,1,.36,1) both; }
@keyframes mx-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes mx-pulse { 50% { opacity: .4; transform: scale(.78); } }

/* sticky rates bar */
.mx-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; justify-content: center; pointer-events: none; }
.mx-bar-inner { pointer-events: auto; display: flex; align-items: center; gap: 22px; width: 100%; max-width: 1240px; min-height: 44px; padding: 5px 16px 5px 28px; background: rgba(10, 26, 84, .72); color: #fff; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: 14px 14px 0 0; }
.mx-bar-label { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mx-bar .live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; }
.mx-bar .live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ddc97; animation: mx-ping 1.8s ease-out infinite; }
@keyframes mx-ping { 0% { opacity: .7; transform: scale(.7); } 70%, 100% { opacity: 0; transform: scale(2); } }
.mx-bar-list { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.mx-bar-list > div { display: flex; align-items: center; gap: 8px; }
.mx-bar-list span { color: #dbe6fb; font-size: 12.5px; }
.mx-bar-list em { display: inline-grid; place-items: center; color: rgba(255,255,255,.6); font-style: normal; }
.mx-bar-list strong { color: #fff; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mx-bar-list .mx-bar-name { color: var(--yellow); font-size: 11px; font-weight: 600; }
.mx-flag.sm { width: 20px; height: 20px; }
.mx-bar-note { margin-left: auto; color: rgba(214,226,250,.7); font-size: 11px; text-align: right; }
.mx-bar-cta { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.mx-bar-cta:hover { background: #e23545; transform: translateY(-1px); }
.mx-bar-cta svg { transition: transform .24s; }
.mx-bar-cta:hover svg { transform: translateX(4px); }
.mx-bar-spacer { height: 52px; background: var(--blue-dark); }

/* calculator modal */
.mx-modal-bg { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(8,22,70,.6); backdrop-filter: blur(8px); animation: mx-fade .35s both; }
.mx-modal { position: relative; width: min(520px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 32px; border-radius: 26px; background: #fff; box-shadow: 0 38px 100px rgba(0,13,54,.38); animation: mx-up .42s cubic-bezier(.16,1,.3,1) both; color: var(--ink); }
.mx-close { position: absolute; top: 16px; right: 16px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: #f1f4fa; color: #0a1a3d; font-size: 24px; cursor: pointer; }
.mx-kicker { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mx-modal h2 { margin: 10px 48px 8px 0; color: #0a1a3d; font-size: 28px; font-weight: 900; letter-spacing: -.02em; }
.mx-modal > p { margin: 0; color: #5b6b8c; font-size: 14px; }
.mx-modal-rate { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #eef4ff; }
.mx-modal-rate span { color: #5b6b8c; font-size: 12.5px; font-weight: 600; }
.mx-modal-rate strong { color: var(--blue); font-size: 13.5px; }
.mx-list { margin-top: 16px; overflow: hidden; border: 1px solid #e1e7f1; border-radius: 16px; }
.mx-list > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; border-bottom: 1px solid #edf1f6; }
.mx-list > div:last-child { border-bottom: 0; }
.mx-list span { color: #5b6b8c; font-size: 13.5px; }
.mx-list strong { color: #0a1a3d; font-size: 13.5px; }
.mx-list .total { background: var(--blue-dark); }
.mx-list .total span { color: #c3cff0; }
.mx-list .total strong { color: var(--yellow); font-size: 19px; }
.mx-modal-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 16px; padding: 13px 15px; border-radius: 14px; background: #effaf4; }
.mx-modal-note > span { display: grid; width: 23px; height: 23px; flex: none; place-items: center; border-radius: 50%; background: #19a866; color: #fff; font-size: 12px; font-weight: 900; }
.mx-modal-note p { margin: 0; color: #47615a; font-size: 12.5px; }
.mx-done { width: 100%; margin-top: 18px; padding: 14px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.mx-done:hover { background: var(--red); }
@keyframes mx-fade { from { background: rgba(8,22,70,0); } }
@keyframes mx-up { from { opacity: 0; transform: translateY(26px) scale(.96); } }

@media (max-width: 960px) { .mx-bar-note { display: none; } .mx-bar-inner { justify-content: space-between; padding-left: 16px; gap: 14px; } }
@media (max-width: 760px) {
  .mx-offer-row { grid-template-columns: 1fr; gap: 8px; padding: 16px; }
  .mx-offer-meta { justify-items: start; grid-auto-flow: column; gap: 12px; align-items: center; }
  .mx-bar-label { display: none; }
  .mx-bar-list { gap: 2px 14px; }
  .mx-bar-list .mx-bar-name { display: none; }
  .mx-bar-cta { padding: 8px 12px; font-size: 12px; }
  .mx-bar-inner { border-radius: 0; padding: 6px 12px; }
  .mx-stage { padding: 64px 16px 60px; gap: 28px; }
  .mx-card { padding: 24px 16px 20px; border-radius: 24px; }
  .mx-route-flags { display: none; }
  .mx-card-head { align-items: flex-start; }
  .mx-live { padding: 8px 10px; font-size: 10px; }
  .mx-breakdown { padding-right: 2px; padding-left: 16px; }
  .mx-breakdown::before { left: 33px; }
  .mx-breakdown > div, .mx-breakdown > button { grid-template-columns: 34px 96px 1fr 13px; gap: 7px; }
  .mx-amount input, .mx-amount > span, .mx-money-row > strong { font-size: 32px !important; }
  .mx-modal-bg { align-items: end; padding: 12px; }
  .mx-modal-rate { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .mx-in, .mx-bar .live::after, .mx-modal, .mx-modal-bg, .mx-live i { animation: none !important; } }

/* ===== v2: uniform provider rows, Metro highlighted; CAD + USD ===== */
.mx-offer-row { grid-template-columns: 170px 1fr auto; padding: 18px 24px; border-left: 5px solid transparent; }
.mx-offer-row.featured { background: linear-gradient(90deg, #fff9e0, #fff 70%); border-left-color: var(--yellow); box-shadow: inset 0 0 0 2px rgba(252,196,25,.55); padding-top: 18px; padding-bottom: 18px; }
.mx-offer-brand { display: grid; gap: 4px; justify-items: start; }
.mx-offer-brand b { font-size: 12px; color: var(--muted); font-weight: 700; }
.mx-offer-brand .plogo, .mx-offer-brand .plogo.wu, .mx-offer-brand .plogo.metro { width: 130px; height: 54px; aspect-ratio: auto; margin: 0; background-size: contain; background-position: left center; }
.mx-offer-rates { display: grid; gap: 8px; }
.mx-offer-rate strong, .mx-offer-row.featured .mx-offer-rate strong { font-size: clamp(16px, 2vw, 22px); }
.mx-flag.big { width: 28px; height: 28px; }
.mx-offer-meta { font-size: 12px; }

.mx-cur { position: relative; }
button.mx-currency { cursor: pointer; font-family: inherit; }
button.mx-currency i { font-style: normal; color: #476184; font-size: 14px; transform: translateY(-2px); }
.mx-cur-menu { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; min-width: 224px; margin: 0; padding: 6px; list-style: none; border: 1px solid #dfe7f3; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(7,29,73,.22); }
.mx-cur-menu[hidden] { display: none; }
.mx-cur-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; text-align: left; font: inherit; cursor: pointer; color: #1456c7; }
.mx-cur-menu button:hover { background: #f1f5fb; }
.mx-cur-menu button.on { background: #eaf1fd; }
.mx-cur-flag { display: block; flex: none; width: 30px; height: 30px; overflow: hidden; border-radius: 50%; box-shadow: 0 2px 5px rgba(7,29,73,.18); }
.mx-cur-flag svg { display: block; width: 100%; height: 100%; }
.mx-cur-text { display: grid; flex: 1; line-height: 1.2; }
.mx-cur-text strong { color: #102954; font-size: 13.5px; font-weight: 800; }
.mx-cur-text small { color: #667094; font-size: 12px; }

.mx-bar-list { gap: 4px 28px; }
.mx-bar-list .mx-bar-alt { color: rgba(219,230,251,.65); font-size: 11.5px; }
@media (max-width: 760px) {
  .mx-offer-row { grid-template-columns: 1fr; }
  .mx-bar-list .mx-bar-alt { display: none; }
  .mx-cur-menu { right: auto; left: 0; }
}
.mx-offer-brand .plogo.metro { background-size: auto 68px; background-position: left top; }

.mx-offer-rate { flex-wrap: nowrap; white-space: nowrap; }
.mx-offer-rate strong, .mx-offer-row.featured .mx-offer-rate strong { font-size: clamp(18px, 2.4vw, 26px); }

.mx-none { padding: 28px; color: var(--muted); }

/* ===== conversion + trust ===== */
.hd-dir { margin-left: 18px; flex: none; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.hd-dir:hover { background: #b01626; }
header.top nav { margin-left: auto; }
.status { display: inline-block; margin: 0 10px 12px 0; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; }
.status.open { background: #d9f7e6; color: #0b6b3a; }
.status.open::before { content: "● "; color: #1bbf6a; }
.status.closed { background: #ffe3e5; color: #8f1623; }
.hero .btns { margin-bottom: 18px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #dbe6fb; font-size: .9rem; font-weight: 600; }
.hero-facts li::before { content: "✓ "; color: var(--yellow); font-weight: 900; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; color: var(--blue-dark); }
.step p { margin: 0; color: var(--muted); }
#how { padding-bottom: 24px; }
.faq { display: grid; gap: 10px; max-width: 820px; margin-top: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--blue-dark); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 16px; color: var(--muted); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.visit-info { display: grid; gap: 14px; align-content: start; }
.visit-info .vcard p { margin: 0; }
.visit-info .vcard a { color: var(--blue); font-weight: 700; text-decoration: none; }
table.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.hours td { padding: 4px 0; color: var(--muted); }
table.hours td:last-child { text-align: right; }
table.hours tr.today td { color: var(--blue-dark); font-weight: 800; }
.hours-note { margin-top: 8px !important; font-size: .85rem; }
.licence { margin: 0; font-size: .82rem; color: var(--muted); }
.map { min-height: 340px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9eefb; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-ph { height: 100%; min-height: 340px; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) {
  nav { display: none; }
  .hd-dir { margin-left: auto; padding: 8px 13px; font-size: .82rem; }
  .steps, .visit-grid { grid-template-columns: 1fr; }
  .hero .btns .btn { flex: 1 1 100%; text-align: center; }
}

/* mobile: keep the page links visible now that the header button is gone */
@media (max-width: 760px) {
  header.top .wrap { flex-wrap: wrap; row-gap: 0; }
  header.top nav { display: flex; order: 3; width: 100%; margin: 0; padding: 6px 0 8px; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); }
  header.top nav a { font-size: .85rem; }
}

/* hero polish */
.hero h1 { font-family: Montserrat, "Segoe UI", sans-serif; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.025em; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p { font-size: 1.08rem; line-height: 1.6; color: #dbe6fb; max-width: 540px; margin: 0 0 24px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa6c4; }
.status.open::before { background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.22); }
.status.closed::before { background: #ff8a94; box-shadow: 0 0 0 4px rgba(255,138,148,.2); }
.status.open, .status.closed { color: #fff; }
.hero-facts { margin-top: 6px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
@media (max-width: 760px) { .hero h1 { font-size: 2rem; } .status { font-size: .72rem; } }
.status.open, .status.closed { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); }

/* logos carry their own wordmark: same box for both */
.mx-offer-brand { display: block; }
.mx-offer-brand .plogo, .mx-offer-brand .plogo.wu, .mx-offer-brand .plogo.metro { width: 150px; height: 96px; aspect-ratio: auto; margin: 0; background-repeat: no-repeat; background-position: left center; background-size: contain; }
.mx-offer-brand .plogo.metro { background-size: auto 118px; background-position: -14px center; }
.mx-offer-row, .mx-offer-row.featured { grid-template-columns: 170px 1fr auto; }
@media (max-width: 760px) { .mx-offer-brand .plogo, .mx-offer-brand .plogo.wu, .mx-offer-brand .plogo.metro { height: 84px; } .mx-offer-brand .plogo.metro { background-size: auto 104px; } }
@media (max-width: 760px) { .mx-offer-row, .mx-offer-row.featured { grid-template-columns: 1fr; } .mx-offer-meta { justify-items: start; } }

/* rates bar: both providers shown side by side */
.mx-bar-list { gap: 6px 34px; align-items: center; }
.mx-bar-pair { display: flex; align-items: center; gap: 14px; }
.mx-bar-cur { display: inline-flex; align-items: center; gap: 8px; }
.mx-bar-p { display: grid; line-height: 1.15; }
.mx-bar-p strong { font-size: 15px; }
.mx-bar-p small { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: rgba(219,230,251,.75); }
.mx-bar-p.rec small { color: var(--yellow); }
@media (max-width: 760px) {
  .mx-bar-list { gap: 4px 14px; }
  .mx-bar-pair { gap: 8px; flex-wrap: wrap; }
  .mx-bar-cur span:not(.mx-flag) { font-size: 11.5px; }
  .mx-bar-p strong { font-size: 13.5px; }
  .mx-bar-p small { font-size: 9px; }
  .mx-bar-inner { gap: 10px; }
}
@media (max-width: 460px) { .mx-bar-cur em, .mx-bar-cur .mx-flag:last-child { display: none; } }

/* ===== calculator + page choreography (ported from the MetroRemit site) ===== */
:root { --ease: cubic-bezier(0.22, 1, 0.36, 1); }
.mx-flag-pop { animation: mx-flag-pop 480ms var(--ease) both; }
@keyframes mx-flag-pop { from { opacity: 0; transform: scale(0.6) rotate(-12deg); } }
.mx-cur-menu:not([hidden]) { animation: mx-pop-in 200ms var(--ease) both; transform-origin: top right; }
@keyframes mx-pop-in { from { opacity: 0; transform: translateY(-8px) scale(0.97); } }
.mx-list > div { animation: mx-row-in 420ms var(--ease) both; }
.mx-list > div:nth-child(2) { animation-delay: 60ms; }
.mx-list > div:nth-child(3) { animation-delay: 120ms; }
.mx-list > div:nth-child(4) { animation-delay: 180ms; }
@keyframes mx-row-in { from { opacity: 0; transform: translateX(-12px); } }
.mx-bar-inner { animation: mx-bar-in 600ms var(--ease) both; }
@keyframes mx-bar-in { from { opacity: 0; transform: translateY(16px); } }
.mx-bar-p strong { animation: mx-rate-tick 900ms ease both; }
@keyframes mx-rate-tick { 0% { color: #8fd5ff; transform: translateY(-3px); } 100% { color: #fff; transform: none; } }
.mx-in { animation: mx-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@media (prefers-reduced-motion: reduce) { .mx-flag-pop, .mx-list > div, .mx-bar-inner, .mx-bar-p strong, .mx-cur-menu { animation: none !important; } }

/* ===== rate board (own design) ===== */
#rates { margin-top: 0; padding: 64px 0 0; background: var(--bg); }
.board { position: relative; max-width: 1040px; margin: 0 auto; padding: 34px 34px 24px; border-radius: 26px; background: linear-gradient(160deg, #0f2a74, #0a1c52); color: #fff; box-shadow: 0 30px 60px rgba(10,28,82,.28); overflow: hidden; }
.board::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 64px); pointer-events: none; }
.board > * { position: relative; }
.board-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.board-eyebrow { color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.board h2 { margin: 6px 0 0; color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; }
.board-upd { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .8rem; font-weight: 600; color: #dbe6fb; }
.board-upd i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.2); }
.b-grid { display: grid; gap: 12px; }
.b-row { display: grid; grid-template-columns: 210px repeat(var(--cols), 1fr); gap: 12px; align-items: stretch; }
.b-heads { align-items: center; padding: 0 4px; }
.b-col { display: flex; align-items: center; gap: 10px; }
.b-col span { display: grid; line-height: 1.15; }
.b-col b { font-size: 1.05rem; letter-spacing: .04em; }
.b-col small { color: #9fb2e6; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.b-prov { padding: 12px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.b-prov.pick { background: linear-gradient(135deg, rgba(252,196,25,.2), rgba(252,196,25,.06)); border-color: rgba(252,196,25,.7); box-shadow: 0 0 0 1px rgba(252,196,25,.25), 0 14px 30px rgba(0,0,0,.2); }
.b-brand { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; position: relative; }
.b-brand .plogo, .b-brand .plogo.wu, .b-brand .plogo.metro { width: 130px; height: 70px; margin: 0; aspect-ratio: auto; background-size: contain; background-position: left center; background-repeat: no-repeat; }
.b-brand .plogo.metro { background-size: auto 92px; background-position: -10px center; }
.b-tag { position: absolute; top: -9px; left: 12px; background: var(--yellow); color: #3a2c00; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.b-cell { display: grid; align-content: center; gap: 2px; padding: 8px 6px; }
.b-cell em { font-style: normal; color: #9fb2e6; font-size: .78rem; font-weight: 600; }
.b-cell strong { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.b-prov.pick .b-cell strong { color: var(--yellow); }
.b-cell small { color: #b8c6ee; font-size: .78rem; }
.board-note { margin: 18px 4px 0; color: #9fb2e6; font-size: .8rem; line-height: 1.5; }
.board .mx-flag.big { width: 30px; height: 30px; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
@media (max-width: 760px) {
  .board { padding: 24px 16px 18px; border-radius: 20px; }
  .b-row { grid-template-columns: repeat(var(--cols), 1fr); }
  .b-row > :first-child { grid-column: 1 / -1; }
  .b-heads > :first-child { display: none; }
  .b-brand { flex-direction: row; align-items: center; justify-content: flex-start; }
  .b-brand .plogo, .b-brand .plogo.wu, .b-brand .plogo.metro { height: 56px; width: 120px; }
  .b-brand .plogo.metro { background-size: auto 76px; }
  .b-tag { top: 8px; right: 10px; left: auto; }
}

/* ===== floating rates card (own design) ===== */
.mx-bar { display: none; }
.rb-wrap, #ratesbar { position: fixed; z-index: 45; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); pointer-events: none; }
#ratesbar.mx-bar { display: block; }
.rb-card { pointer-events: auto; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(10,28,82,.28); overflow: hidden; color: var(--ink); animation: rb-in 600ms cubic-bezier(.22,1,.36,1) both; }
@keyframes rb-in { from { opacity: 0; transform: translateY(18px); } }
.rb-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 16px; border: 0; background: linear-gradient(90deg, #12296a, #1c3f94); color: #fff; font: inherit; font-size: .9rem; cursor: pointer; text-align: left; }
.rb-head b { font-weight: 800; letter-spacing: .02em; }
.rb-live { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 4px rgba(61,220,151,.25); flex: none; }
.rb-upd { margin-left: auto; color: #c3cff0; font-size: .75rem; font-weight: 600; }
.rb-head i { display: grid; transform: rotate(-90deg); transition: transform .3s; }
.rb-card.closed .rb-head i { transform: rotate(90deg); }
.rb-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s cubic-bezier(.22,1,.36,1); }
.rb-body > * { overflow: hidden; min-height: 0; }
.rb-card.closed .rb-body { grid-template-rows: 0fr; }
.rb-body table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rb-body th, .rb-body td { padding: 8px 14px; text-align: right; font-size: .9rem; border-bottom: 1px solid #eef1f8; }
.rb-body thead th { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rb-body thead th .mx-flag { vertical-align: middle; margin-right: 4px; }
.rb-body tbody th { text-align: left; font-weight: 700; color: var(--ink); }
.rb-body td { font-weight: 800; color: var(--blue-dark); font-size: 1rem; }
.rb-body tr.rec { background: #fff9e0; }
.rb-body tr.rec th::after { content: "★"; color: #d99a00; margin-left: 6px; }
.rb-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; }
.rb-cta:hover { background: #b01626; }
.rb-cta svg { transition: transform .2s; }
.rb-cta:hover svg { transform: translateX(4px); }
.mx-bar-spacer { height: 150px; }
@media (max-width: 760px) { #ratesbar { bottom: 8px; } .rb-body th, .rb-body td { padding: 7px 12px; } .mx-bar-spacer { height: 130px; } }
@media (prefers-reduced-motion: reduce) { .rb-card, .rb-body, .rb-head i { animation: none; transition: none; } }

/* ===== v3: side-by-side rate board + always-visible rates dock ===== */
.b-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.b-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.b-card.pick { background: linear-gradient(160deg, rgba(252,196,25,.22), rgba(252,196,25,.05)); border-color: rgba(252,196,25,.75); box-shadow: 0 0 0 1px rgba(252,196,25,.25), 0 16px 34px rgba(0,0,0,.22); }
.b-card .b-tag { position: absolute; top: -11px; right: 16px; left: auto; background: var(--yellow); color: #3a2c00; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.b-card .b-brand { display: grid; place-items: center start; padding: 8px 14px; border-radius: 14px; background: #fff; height: 84px; }
.b-card .b-brand .plogo, .b-card .b-brand .plogo.wu, .b-card .b-brand .plogo.metro { width: 100%; max-width: 150px; height: 64px; margin: 0; aspect-ratio: auto; background-size: contain; background-position: left center; background-repeat: no-repeat; }
.b-card .b-brand .plogo.metro { background-size: auto 84px; background-position: -12px center; }
.b-rates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-rates li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,.18); }
.b-cur { display: inline-flex; align-items: center; gap: 8px; color: #dbe6fb; font-size: .95rem; }
.b-cur b { letter-spacing: .02em; }
.b-val { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.b-val strong { font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.b-val em { font-style: normal; color: #9fb2e6; font-size: .8rem; font-weight: 700; }
.b-card.pick .b-val strong { color: var(--yellow); }
.b-rates small { grid-column: 1 / -1; color: #aebde8; font-size: .76rem; }
@media (max-width: 760px) {
  .b-pair { gap: 10px; }
  .b-card { padding: 10px; gap: 10px; border-radius: 16px; }
  .b-card .b-brand { height: 64px; padding: 6px 10px; }
  .b-card .b-brand .plogo, .b-card .b-brand .plogo.wu, .b-card .b-brand .plogo.metro { height: 48px; }
  .b-card .b-brand .plogo.metro { background-size: auto 64px; background-position: -8px center; }
  .b-rates li { grid-template-columns: 1fr; padding: 9px 10px; gap: 2px; }
  .b-val { justify-content: flex-start; }
  .b-val strong { font-size: 1.35rem; }
  .b-cur { font-size: .82rem; }
  .b-cur .mx-flag.big { width: 22px; height: 22px; }
  .b-card .b-tag { right: 10px; font-size: 9.5px; padding: 3px 8px; }
}

.dock { pointer-events: auto; display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(10,28,82,.28); color: var(--ink); animation: rb-in 600ms cubic-bezier(.22,1,.36,1) both; }
.dock-label { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--blue-dark); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.dock-rows { display: flex; flex: 1; flex-wrap: wrap; gap: 6px 26px; justify-content: center; }
.dock-row { display: flex; align-items: center; gap: 14px; }
.dock-cur { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--muted); }
.dock-cur b { color: var(--ink); }
.dock-cur em { display: inline-grid; font-style: normal; color: #9aa6c4; }
.dock-p { display: grid; line-height: 1.1; }
.dock-p small { color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .02em; }
.dock-p strong { color: var(--blue-dark); font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.dock-p.rec small { color: #b07d00; }
.dock-p.rec strong { color: var(--red); }
.dock-cta { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; white-space: nowrap; transition: background .2s, transform .2s; }
.dock-cta:hover { background: #b01626; transform: translateY(-1px); }
.dock-cta svg { transition: transform .2s; }
.dock-cta:hover svg { transform: translateX(4px); }
#ratesbar { width: min(980px, calc(100% - 20px)); }
.mx-bar-spacer { height: 96px; }
@media (max-width: 760px) {
  #ratesbar { bottom: 8px; }
  .dock { gap: 10px; padding: 8px 8px 8px 12px; border-radius: 16px; }
  .dock-label { display: none; }
  .dock-rows { flex-direction: column; flex-wrap: nowrap; gap: 4px; align-items: stretch; }
  .dock-row { gap: 10px; justify-content: space-between; }
  .dock-cur { font-size: .78rem; flex: none; min-width: 74px; }
  .dock-cur em, .dock-cur .mx-flag:last-child { display: none; }
  .dock-p { grid-auto-flow: column; align-items: baseline; gap: 5px; }
  .dock-p small { font-size: .62rem; max-width: 52px; line-height: 1; }
  .dock-p strong { font-size: .92rem; }
  .dock-cta { padding: 10px 12px; font-size: .78rem; }
  .dock-cta svg { display: none; }
  .mx-bar-spacer { height: 110px; }
}

@media (prefers-reduced-motion: reduce) { .dock { animation: none; } }
.b-card .b-brand { display: flex; align-items: center; justify-content: flex-start; }
.b-card .b-brand .plogo, .b-card .b-brand .plogo.wu, .b-card .b-brand .plogo.metro { width: 150px; flex: none; }
@media (max-width: 760px) { .b-card .b-brand .plogo, .b-card .b-brand .plogo.wu, .b-card .b-brand .plogo.metro { width: 100%; flex: 1; } }

/* ===== v4: stacked provider cards with rate chips ===== */
#rates { padding: 64px 0 8px; background: var(--bg); }
#rateoffer.mx-offer { max-width: 1040px; margin: 0 auto; background: none; box-shadow: none; border-radius: 0; overflow: visible; text-align: left; }
.rc-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.rc-eyebrow { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.rc-top h2 { margin: 6px 0 0; color: var(--blue-dark); font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.rc-upd { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 600; }
.rc-upd i { width: 8px; height: 8px; border-radius: 50%; background: #20a967; box-shadow: 0 0 0 4px rgba(32,169,103,.18); }
.rc-list { display: grid; gap: 16px; }
.rc { position: relative; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 24px; padding: 20px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(18,41,106,.08); }
.rc.pick { border-color: rgba(252,196,25,.9); background: linear-gradient(100deg, #fffbe9, #fff 55%); box-shadow: 0 0 0 3px rgba(252,196,25,.22), 0 16px 36px rgba(18,41,106,.14); }
.rc-tag { position: absolute; top: -12px; left: 26px; background: var(--yellow); color: #3a2c00; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.rc-logo { display: grid; place-items: center; height: 92px; border-radius: 16px; background: #f4f7fc; padding: 8px; }
.rc.pick .rc-logo { background: #fff; box-shadow: inset 0 0 0 1px #f3e3a3; }
.rc-logo .plogo, .rc-logo .plogo.wu, .rc-logo .plogo.metro { width: 100%; height: 72px; margin: 0; aspect-ratio: auto; background-size: contain; background-position: center; background-repeat: no-repeat; }
.rc-logo .plogo.metro { background-size: auto 100px; background-position: center; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.rc-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #f4f7fc; border: 1px solid #e3e9f6; color: var(--blue-dark); }
.rc.pick .rc-chip { background: #fff4c7; border-color: #f4d96a; }
.rc-chip b { font-size: 1rem; }
.rc-chip em { font-style: normal; color: var(--red); font-weight: 800; }
.rc-chip strong { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.rc-chip span { color: var(--muted); font-size: .8rem; font-weight: 700; }
.rc-fee { display: grid; gap: 2px; justify-items: end; color: var(--ink); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.rc-fee small { color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.rc-fee b { color: var(--muted); font-size: .75rem; }
.rc-note { margin: 18px 4px 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.rc .mx-flag.big { width: 28px; height: 28px; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(9,25,83,.2); }
@media (max-width: 900px) { .rc { grid-template-columns: 150px 1fr; } .rc-fee { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; gap: 14px; align-items: baseline; } }
@media (max-width: 640px) {
  .rc { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }
  .rc-logo { height: 76px; justify-items: start; }
  .rc-logo .plogo, .rc-logo .plogo.wu, .rc-logo .plogo.metro { height: 60px; background-position: left center; }
  .rc-logo .plogo.metro { background-size: auto 84px; }
  .rc-chip { width: 100%; justify-content: flex-start; }
  .rc-chip span { margin-left: auto; }
  .rc-tag { left: 16px; }
}

/* v5: logos sit directly on the card, no tile or borders */
.rc { grid-template-columns: 270px 1fr auto; }
.rc-logo, .rc.pick .rc-logo { background: none; box-shadow: none; border: 0; padding: 0; height: 80px; place-items: center start; display: flex; align-items: center; }
.rc-logo .plogo, .rc-logo .plogo.wu, .rc-logo .plogo.metro { width: 100%; max-width: 250px; height: 76px; background-size: contain; background-position: left center; background-repeat: no-repeat; }
.rc-chip, .rc.pick .rc-chip { border: 0; }
.rc-chip { background: #f1f5fc; }
.rc.pick .rc-chip { background: #fff1b8; }
.rc, .rc.pick { border-color: transparent; }
.rc { box-shadow: 0 12px 32px rgba(18,41,106,.09); }
.rc.pick { box-shadow: 0 0 0 2px rgba(252,196,25,.55), 0 18px 40px rgba(18,41,106,.14); }
@media (max-width: 900px) { .rc { grid-template-columns: 230px 1fr; } }
@media (max-width: 640px) {
  .rc { grid-template-columns: 1fr; }
  .rc-logo { height: 64px; }
  .rc-logo .plogo, .rc-logo .plogo.wu, .rc-logo .plogo.metro { height: 56px; max-width: 220px; }
}
@media (max-width: 640px) { .rc-logo .plogo, .rc-logo .plogo.wu, .rc-logo .plogo.metro { background-size: contain; background-position: left center; width: 100%; } .rc-logo .plogo.metro { max-width: 250px; } .rc-logo .plogo.wu { max-width: 170px; } }
@media (min-width: 641px) { .rc-logo .plogo.wu { max-width: 190px; } .rc-logo .plogo.metro { max-width: 260px; } }

/* v6: logos drawn from trimmed bounds: same height, same left edge */
.rc { --lh: 52px; }
.rc-logo { justify-content: flex-start; align-items: center; height: 80px; }
.rc-logo .plogo, .rc-logo .plogo.wu, .rc-logo .plogo.metro { max-width: none !important; flex: none; background-repeat: no-repeat; margin: 0; }
@media (max-width: 640px) { .rc { --lh: 44px; } .rc-logo { height: 56px; } .rc-logo .plogo, .rc-logo .plogo.wu, .rc-logo .plogo.metro { width: auto; } }
@media (max-width: 900px) { .rc { --lh: 46px; grid-template-columns: 240px 1fr; } }
@media (max-width: 640px) { .rc { --lh: 44px; grid-template-columns: 1fr; } }
