/* Prices in another currency (js/site-currency.js): the header menu and the "≈ £88 (Rs. 31,950)" prices */
.ms-cur.is-on { white-space: nowrap; }
.ms-cur-o { margin-left: .35em; font-size: .72em; font-weight: 400; opacity: .7; letter-spacing: 0; }
.ms-cur-o::before { content: '('; } .ms-cur-o::after { content: ')'; }

.ms-cur-menu { position: relative; display: inline-flex; align-items: center; z-index: 60; }
.ms-cur-btn { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; margin: 0 10px 0 0; border-radius: 20px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; cursor: pointer; line-height: 1; opacity: .92; }
.ms-cur-btn:hover, .ms-cur-btn:focus-visible { opacity: 1; background: rgba(127, 127, 127, .14); }
.ms-cur-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ms-cur-btn i { font-style: normal; font-size: 10px; }
.ms-cur-list { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; max-height: 70vh; overflow: auto; background: #fff; color: #1d2b25; border: 1px solid #dfe5e2; border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .18); padding: 6px; display: grid; gap: 1px; text-align: left; }
.ms-cur-list[hidden] { display: none; }
.ms-cur-list button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 7px 9px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 13px; cursor: pointer; text-align: left; letter-spacing: 0; text-transform: none; }
.ms-cur-list button b { min-width: 62px; font-weight: 700; }
.ms-cur-list button span { color: #6b7470; font-size: 12px; }
.ms-cur-list button:hover { background: #f2f6f4; }
.ms-cur-list button[aria-checked="true"] { background: #e6f3ef; color: #0f6b60; }
.ms-cur-note { margin: 4px 6px 4px; padding-top: 6px; border-top: 1px solid #eef1f0; font-size: 11.5px; line-height: 1.4; color: #6b7470; }

/* the phone menu row and the corner pill of pages without a header */
.ms-cur-row { list-style: none; padding: 6px 0; }
.ms-cur-side .ms-cur-list { left: 0; right: auto; }
.ms-cur-float { position: fixed; left: 14px; bottom: 14px; z-index: 900; background: #fff; color: #0f6b60; border-radius: 20px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.ms-cur-float .ms-cur-btn { margin: 0; border-color: #cfe0d9; }
.ms-cur-float .ms-cur-list { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }

.ms-cur-paynote { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: #fff8e6; border: 1px solid #f0d58c; color: #5b4510; font-size: 13px; }

@media (max-width: 767px) {
    /* phones: the header has the logo, the weather and the menu button only; the currency is a row in the menu */
    .ms-cur-head { display: none !important; }
    .ms-cur-row .ms-cur-btn { color: inherit; }
    .ms-cur-list { width: min(240px, calc(100vw - 32px)); }
}

/* the phone menu cuts off anything floating outside it: there the list opens inside the menu, below the button */
.ms-cur-side { display: block; }
.ms-cur-side .ms-cur-list { position: static; width: 100%; max-width: 280px; max-height: none; margin-top: 8px; box-shadow: none; }

/* laptop header: phone number · currency · Sign in in one line, the same 22px apart (Sign in already sits 22px off) */
.ms-cur-head { align-self: center; margin-left: 22px; }
.ms-cur-head .ms-cur-btn { margin: 0; height: 30px; }

/* the header pill has no border: plain like the phone number and Sign in (the owner's choice) */
.ms-cur-head .ms-cur-btn { border-color: transparent; padding: 0 6px; }

/* the header currency reads like "Sign in": same size, capitals, spacing and colour (no grey, no bold) */
.ms-cur-head .ms-cur-btn { opacity: 1; font-family: var(--ms-font-body); font-size: calc(14px * var(--ms-k-text, 1)); font-weight: inherit; letter-spacing: .08em; text-transform: uppercase; gap: 7px; padding: 0; }
.ms-cur-head .ms-cur-btn svg { width: 16px; height: 16px; }
.ms-cur-head .ms-cur-btn i { font-size: 9px; margin-left: -2px; }
.ms-cur-head .ms-cur-btn:hover, .ms-cur-head .ms-cur-btn:focus-visible { background: none; color: var(--ms-gold); }
/* white on the photo header, dark on the solid / white header: the same rules as "Sign in" (.cms-account-nav) */
.ms-cur-head { color: #fff; }
body.cms-header-solid .ms-cur-head, #wrapper:not(.transparent) .ms-cur-head { color: var(--ms-ink); }
