.mk-currency {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  color: #d3c2ac;
  font: 400 .8125rem/1.4 var(--sans, "DM Sans", Arial, sans-serif);
  text-align: start;
}
.mk-currency[hidden], .mk-currency [hidden], .mk-currency-list[hidden],
.mk-equivalent[hidden] { display: none !important; }

.mk-currency .mk-currency-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 44px;
  padding: 0 3px;
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.mk-currency-picker > span { font: inherit; color: inherit; letter-spacing: normal; }
.mk-currency-picker .mk-currency-code {
  color: #f0e4d3;
  font-weight: 500;
  letter-spacing: .04em;
}
.mk-currency-picker::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-inline: 1px 3px;
  border: solid #c9ae87;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.mk-currency-picker[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.mk-currency .mk-currency-picker:disabled { cursor: default; }
.mk-currency-picker:disabled::after { visibility: hidden; }
.mk-currency-picker:not(:disabled)::before {
  content: "";
  position: absolute;
  bottom: 6px;
  inset-inline: 3px;
  height: 1px;
  background: #806c54;
}
.mk-currency-picker:is(:hover, [aria-expanded="true"])::before { background: #cfb28a; }
.mk-currency-picker:focus-visible, .mk-currency-info:focus-visible {
  outline: 2px solid #d3b585;
  outline-offset: 1px;
}

.mk-currency-list {
  position: fixed;
  z-index: 1500;
  box-sizing: border-box;
  width: min(19rem, calc(100vw - 20px));
  max-height: 312px;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 4px 0;
  border: 1px solid #8e785c;
  border-radius: 0;
  list-style: none;
  background: #1e1a15;
  color: #efe6d8;
  box-shadow: 0 8px 24px rgb(12 10 8 / 28%);
  scrollbar-color: #887258 #241f19;
  scrollbar-width: thin;
  text-align: start;
}
.mk-currency-list .mk-currency-option {
  cursor: pointer;
  display: grid;
  position: relative;
  grid-template-columns: 2.45rem minmax(0, 1fr) .65rem;
  align-items: center;
  gap: .65rem;
  margin: 0;
  min-height: 44px;
  padding: 7px 15px;
  box-sizing: border-box;
  color: #eee3d2;
  background: transparent;
  font: 400 1.18rem/1.12 var(--serif, "Cormorant Garamond", Georgia, serif);
}
.mk-currency-option .mk-option-code {
  color: #d1b58d;
  font: 500 .75rem/1.2 var(--sans, "DM Sans", Arial, sans-serif);
  letter-spacing: .065em;
}
.mk-currency-option .mk-option-name { font: inherit; color: inherit; overflow-wrap: anywhere; }
.mk-currency-list .mk-currency-option[data-active] {
  background: #302820;
  box-shadow: inset 2px 0 #bda380;
}
.mk-currency-option[aria-selected="true"]::after {
  content: "";
  width: 5px;
  height: 9px;
  justify-self: center;
  border: solid #d4b88e;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-1px) rotate(45deg);
}
.mk-currency-info {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  width: 36px;
  min-height: 44px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.mk-currency-info span {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  box-sizing: border-box;
  border: 1px solid #9b876c;
  border-radius: 50%;
  font: italic 600 12px/1 var(--serif, "Cormorant Garamond", Georgia, serif);
  letter-spacing: 0;
  color: #e1c9a6;
}
.mk-currency-info:hover span,
.mk-currency-info[aria-expanded="true"] span { border-color: #e1c9a6; }
.mk-currency-note {
  position: absolute;
  z-index: 10;
  width: min(300px, calc(100vw - 20px));
  overflow: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  padding: 15px 17px;
  border: 1px solid #8e785c;
  background: #1e1a15;
  box-shadow: 0 8px 24px rgb(12 10 8 / 28%);
  text-align: start;
}
.mk-currency .mk-currency-note p {
  margin: 0;
  color: #e6dcca;
  font: 400 .8125rem/1.55 var(--sans, "DM Sans", Arial, sans-serif);
  letter-spacing: normal;
}
.mk-currency .mk-currency-note p + p {
  margin-top: 8px;
  color: #d4ba94;
  font-size: .75rem;
}

.work-v2-price .mk-equivalent, .work-data dd .mk-equivalent, .price .mk-equivalent {
  display: inline-block;
  color: inherit;
  font: inherit;
  font-variant-numeric: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}
.aw2-catalog .category > .mk-currency { margin-inline-end: auto; }
.aw2-catalog .state-price .price { text-align: end; white-space: normal; }
.work-v2 .work-v2-price { max-width: 100%; }
@media (max-width: 650px) {
  .aw2-catalog .category { flex-wrap: wrap; row-gap: 0; }
  .aw2-catalog .category:has(.mk-currency:not([hidden])) h2 { flex-basis: 100%; }
}
@media (max-width: 560px) {
  .work-v2 .work-v2-meta:has(.mk-currency:not([hidden])) { row-gap: 1px; }
  .work-v2 .work-v2-meta > .mk-currency {
    order: 1;
    flex-basis: 100%;
    width: 100%;
    justify-content: flex-start;
  }
}
@media (forced-colors: active) {
  .mk-currency-list .mk-currency-option[data-active] { outline: 1px solid Highlight; outline-offset: -2px; }
  .mk-currency-option[aria-selected="true"]::after { border-color: CanvasText; }
}
