/* Wise-inspired currency pill. Flags are bundled locally; no third-party request. */
.pg-mpt-currency-selector { --pg-currency-bg: #f1f1ef; --pg-currency-ink: #171917; position: relative; display: inline-block; vertical-align: middle; color: var(--pg-currency-ink); text-align: left; font-family: inherit; }
.pg-mpt-currency-selector [hidden] { display: none !important; }
.pg-mpt-currency-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pg-mpt-currency-selector .pg-mpt-currency-trigger,
.pg-mpt-currency-selector .pg-mpt-currency-native { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 0; padding: 7px 12px 7px 8px; border: 0; border-radius: 9999px; background: var(--pg-currency-bg) !important; color: var(--pg-currency-ink) !important; -webkit-text-fill-color: var(--pg-currency-ink); box-shadow: none; font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
.pg-mpt-currency-selector img { display: block; flex: 0 0 28px; width: 28px; height: 28px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; }
.pg-mpt-currency-selector .pg-mpt-currency-chevron { flex: 0 0 18px; margin-left: 1px; color: #163300; }
.pg-mpt-currency-selector .pg-mpt-currency-trigger:hover { background: #e4e6df !important; }
.pg-mpt-currency-selector .pg-mpt-currency-trigger:active { background: #d8ded0 !important; }
.pg-mpt-currency-selector button:focus-visible,
.pg-mpt-currency-native:focus-within { outline: 3px solid #edc031; outline-offset: 3px; }
.pg-mpt-currency-selector .pg-mpt-currency-trigger:disabled { opacity: .65; cursor: wait; }
.pg-mpt-currency-selector .pg-mpt-currency-trigger[aria-expanded="true"] .pg-mpt-currency-chevron { transform: rotate(180deg); }
.pg-mpt-currency-selector .pg-mpt-currency-native select { width: auto; min-width: 62px; min-height: 30px; margin: 0; padding: 0; border: 0; background: transparent !important; color: #171917 !important; font: inherit; color-scheme: light; }
.pg-mpt-currency-selector .pg-mpt-currency-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 110; width: 280px; max-width: calc(100vw - 32px); margin: 0; padding: 6px; border: 1px solid #dedfd9; border-radius: 16px; background: #fff; color: #171917; box-shadow: 0 8px 32px #0003; list-style: none; }
.pg-mpt-currency-menu li { margin: 0; padding: 0; list-style: none; }
.pg-mpt-currency-selector .pg-mpt-currency-menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; margin: 0; padding: 10px; border: 0; border-radius: 10px; background: transparent !important; color: #171917 !important; -webkit-text-fill-color: #171917; box-shadow: none; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.3; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.pg-mpt-currency-selector .pg-mpt-currency-menu button:hover,
.pg-mpt-currency-selector .pg-mpt-currency-menu button:focus-visible { background: #f1f1ef !important; }
.pg-mpt-currency-selector .pg-mpt-currency-menu button[aria-selected="true"] { background: #eff3e9 !important; }
.pg-mpt-currency-option-code { min-width: 36px; font-weight: 700; }
.pg-mpt-currency-name { flex: 1; }
.pg-mpt-currency-check { visibility: hidden; font-size: 18px; font-weight: 700; }
[aria-selected="true"] > .pg-mpt-currency-check { visibility: visible; }
.pg-mpt-currency-selector button:focus-visible,
.pg-mpt-currency-selector .pg-mpt-currency-menu button:focus-visible,
.pg-mpt-currency-native:focus-within { outline: 3px solid #edc031; outline-offset: 3px; box-shadow: 0 0 0 3px #163300; }
.pg-mpt-currency-selector p { position: relative; max-width: 30rem; margin: 8px 0 0; color: inherit; font-size: 14px; font-weight: 400; line-height: 1.45; white-space: normal; }
body.pg-mpt-product-page .summary > .pg-mpt-currency-selector { margin: 4px 0 12px; color: #fff6c9; }
.pg-mpt-currency-commerce { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 0 0 18px; }
.pg-mpt-currency-commerce > span { font-size: 14px; }
.pg-mpt-currency-commerce .pg-mpt-currency-menu { left: auto; right: 0; }
.pg-mpt-price-pill { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 14px 0 0; border: 1px solid #d8dad5; border-radius: 9999px; box-sizing: border-box; background: #fff; color: #171917; white-space: nowrap; }
/* Joined purchase control: square seam, rounded outer ends. */
.pg-mpt-sticky-summary {
  --pg-mpt-purchase-foreground: #fff6c9;
  --pg-mpt-purchase-pressed-bg: #171717;
  --pg-mpt-purchase-pressed-label: var(--pg-mpt-purchase-foreground);
  --pg-mpt-flag-red: #f0263c;
  --pg-mpt-flag-blue: #191977;
  --pg-mpt-flag-us-blue: #231d9a;
  column-gap: 0;
}
/* Match the bundled flags, including their wide-gamut colour on Retina. */
@supports (color: color(display-p3 1 0 0)) {
  .pg-mpt-sticky-summary {
    --pg-mpt-flag-red: color(display-p3 .9412 .149 .2353);
    --pg-mpt-flag-blue: color(display-p3 .098 .098 .4667);
    --pg-mpt-flag-us-blue: color(display-p3 .1373 .1137 .6039);
  }
}
.pg-mpt-sticky-summary:has([data-pg-mpt-currency-option="CHF"][aria-selected="true"]),
.pg-mpt-sticky-summary:has([data-pg-mpt-currency-option="JPY"][aria-selected="true"]) {
  --pg-mpt-purchase-pressed-bg: var(--pg-mpt-flag-red);
  --pg-mpt-purchase-pressed-label: #000;
}
.pg-mpt-sticky-summary:has([data-pg-mpt-currency-option="EUR"][aria-selected="true"]),
.pg-mpt-sticky-summary:has([data-pg-mpt-currency-option="GBP"][aria-selected="true"]) { --pg-mpt-purchase-pressed-bg: var(--pg-mpt-flag-blue); }
.pg-mpt-sticky-summary:has([data-pg-mpt-currency-option="USD"][aria-selected="true"]) { --pg-mpt-purchase-pressed-bg: var(--pg-mpt-flag-us-blue); }
.pg-mpt-sticky-summary .pg-mpt-sticky-products { padding-right: 12px; box-sizing: border-box; }
.pg-mpt-sticky-summary .pg-mpt-price-pill { gap: 0; padding-right: 0; border-right: 0; border-radius: 9999px 0 0 9999px; }
.pg-mpt-sticky-summary .pg-mpt-sticky-price,
.pg-mpt-sticky-summary.is-in-cart .pg-mpt-sticky-price { align-self: end; }
body.pg-mpt-product-page .pg-mpt-sticky-summary .pg-mpt-sticky-action { align-self: end; height: 46px; min-height: 46px; margin: 0 0 0 -1px; border: 1px solid #d8dad5; border-left: 0; border-radius: 0 9999px 9999px 0; background: #fff !important; color: #171717 !important; -webkit-text-fill-color: #171717; }
.pg-mpt-price-pill > .pg-mpt-currency-selector { grid-column: auto; grid-row: auto; margin: 0; color: #171917; }
.pg-mpt-price-pill .pg-mpt-currency-trigger,
.pg-mpt-price-pill .pg-mpt-currency-native { background: transparent !important; }
.pg-mpt-price-pill .pg-mpt-currency-trigger:hover { background: #e4e6df !important; }
.pg-mpt-price-pill .pg-mpt-currency-trigger { box-shadow: inset 0 0 0 2px #fff; }
.pg-mpt-price-pill .pg-mpt-currency-trigger:focus-visible { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px #163300; }
.pg-mpt-summary .pg-mpt-price-pill > .pg-mpt-currency-selector { display: flex; align-self: stretch; }
.pg-mpt-summary .pg-mpt-price-pill .pg-mpt-currency-custom { display: flex; align-items: stretch; }
.pg-mpt-price-pill .pg-mpt-total { padding: 5px 0; }
.pg-mpt-price-pill output { display: block; line-height: 1.2; }
body.pg-mpt-product-page .pg-mpt-sticky-summary .pg-mpt-sticky-price-action { appearance: none; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; align-self: stretch; min-width: 0; margin: 0; padding: 0 14px 0 8px; border: 0; border-radius: 0; background: #fff !important; color: #171717 !important; -webkit-text-fill-color: #171717; box-shadow: none; font: inherit; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; }
/* Paint across fractional-pixel seams without changing either click target. */
body.pg-mpt-product-page .pg-mpt-sticky-summary .pg-mpt-sticky-price-action::after { content: ""; position: absolute; top: 0; bottom: 0; right: -2px; width: 4px; border: 0; border-radius: 0; background: inherit; pointer-events: none; }
.pg-mpt-sticky-summary .pg-mpt-price-pill output { font-size: 1.75rem; }
.pg-mpt-sticky-summary .pg-mpt-sticky-price-action output { color: inherit; -webkit-text-fill-color: inherit; }
body.pg-mpt-product-page .pg-mpt-sticky-summary .pg-mpt-sticky-price-action:disabled { cursor: default; }
/* Shared hover/focus; the currency colour is reserved for the actual press. */
body.pg-mpt-product-page .pg-mpt-sticky-summary :is([data-pg-mpt-sticky-price-action],[data-pg-mpt-sticky-action]):focus-visible { outline: none; box-shadow: none; }
body.pg-mpt-product-page .pg-mpt-sticky-summary:has(:is([data-pg-mpt-sticky-price-action],[data-pg-mpt-sticky-action]):not(:disabled):is(:hover,:focus-visible)) :is([data-pg-mpt-sticky-price-action],[data-pg-mpt-sticky-action]):not(:disabled) { background: #242111 !important; color: var(--pg-mpt-purchase-foreground) !important; -webkit-text-fill-color: var(--pg-mpt-purchase-foreground) !important; }
body.pg-mpt-product-page .pg-mpt-sticky-summary:has(:is([data-pg-mpt-sticky-price-action],[data-pg-mpt-sticky-action]):not(:disabled):active) :is([data-pg-mpt-sticky-price-action],[data-pg-mpt-sticky-action]):not(:disabled) { background: var(--pg-mpt-purchase-pressed-bg) !important; color: var(--pg-mpt-purchase-foreground) !important; -webkit-text-fill-color: var(--pg-mpt-purchase-foreground) !important; }
/* The small edit label needs stronger contrast than the large price/icon on red. */
body.pg-mpt-product-page .pg-mpt-sticky-summary:has(:is([data-pg-mpt-sticky-price-action],[data-pg-mpt-sticky-action]):not(:disabled):active) [data-pg-mpt-sticky-action]:not(.pg-mpt-sticky-action-cart):not(:disabled) { color: var(--pg-mpt-purchase-pressed-label) !important; -webkit-text-fill-color: var(--pg-mpt-purchase-pressed-label) !important; }
@media (forced-colors: active) {
  body.pg-mpt-product-page .pg-mpt-sticky-summary :is([data-pg-mpt-sticky-price-action],[data-pg-mpt-sticky-action]):focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
.pg-mpt-summary .pg-mpt-total-row { align-items: center; }
.pg-mpt-sticky-summary .pg-mpt-sticky-price,
.pg-mpt-sticky-summary.is-in-cart .pg-mpt-sticky-price { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.pg-mpt-sticky-summary .pg-mpt-currency-menu { position: fixed; top: auto; bottom: calc(100% + 8px); left: auto; right: 12px; }
.pg-mpt-summary .pg-mpt-currency-menu { left: auto; right: 0; }
.pg-mpt-price-pill .pg-mpt-currency-selector p { position: absolute; right: 0; top: calc(100% + 8px); z-index: 110; width: min(320px, calc(100vw - 32px)); padding: 12px; border-radius: 12px; background: #fff; color: #171917; box-shadow: 0 4px 24px #0003; }
.pg-mpt-sticky-summary .pg-mpt-currency-selector p { position: absolute; right: 0; top: auto; bottom: calc(100% + 12px); width: min(320px, calc(100vw - 32px)); padding: 12px; border-radius: 12px; background: #fff; color: #171917; box-shadow: 0 4px 24px #0003; }
@media (min-width: 601px) and (max-width: 900px) {
  .pg-mpt-sticky-summary .pg-mpt-price-pill output { font-size: 1.4rem; }
}
@media (max-width: 600px) {
  .pg-mpt-sticky-summary:not([hidden]),
  .pg-mpt-sticky-summary.is-in-cart:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; row-gap: 6px; column-gap: 0; }
  .pg-mpt-sticky-summary .pg-mpt-sticky-products,
  .pg-mpt-sticky-summary.is-in-cart .pg-mpt-sticky-products { grid-column: 1 / -1; width: 100%; padding-right: 0; }
  .pg-mpt-sticky-summary .pg-mpt-sticky-price,
  .pg-mpt-sticky-summary.is-in-cart .pg-mpt-sticky-price { grid-column: 1; justify-content: flex-end; }
  .pg-mpt-sticky-summary .pg-mpt-sticky-action { grid-column: 2; margin: 0; }
  body.pg-mpt-product-page .pg-mpt-sticky-summary .pg-mpt-sticky-action { height: 42px; min-height: 42px; }
  .pg-mpt-price-pill { gap: 6px; padding-right: 12px; }
  body.pg-mpt-product-page .pg-mpt-sticky-summary .pg-mpt-sticky-price-action { padding-right: 12px; padding-left: 6px; }
  .pg-mpt-price-pill .pg-mpt-currency-trigger,
  .pg-mpt-price-pill .pg-mpt-currency-native { gap: 5px; min-height: 40px; padding: 6px 8px 6px 6px; font-size: 15px; }
  .pg-mpt-price-pill .pg-mpt-currency-native select { min-height: 28px; }
  .pg-mpt-price-pill .pg-mpt-currency-trigger img,
  .pg-mpt-price-pill .pg-mpt-currency-native img { flex-basis: 24px; width: 24px; height: 24px; }
  .pg-mpt-price-pill .pg-mpt-currency-trigger svg { width: 14px; flex-basis: 14px; }
  body.pg-mpt-layout-v2 .pg-mpt-price-pill .pg-mpt-total output { font-size: 1.35rem; }
  .pg-mpt-sticky-summary .pg-mpt-price-pill output { font-size: 1.25rem; }
  .pg-mpt-summary .pg-mpt-total-row { align-items: flex-start; }
}
