/* Currency bar. Sits above the site header on every public page.
   Layout offset (nav top, body padding) is applied by currency.js. */

.tw-currency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: env(safe-area-inset-top);
  background: #1B2838;
  color: #FAF8F4;
  box-shadow: inset 0 -1px 0 rgba(201, 169, 110, 0.45);
}

.tw-currency-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 38px;
  max-width: 100%;
  padding: 0 12px;
}

.tw-currency-label {
  font-family: Montserrat, "Helvetica Neue", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.72);
  white-space: nowrap;
}

.tw-currency-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(224, 207, 163, 0.5);
  border-radius: 999px;
  overflow: hidden;
}

.tw-currency-option {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #FAF8F4;
  font-family: Montserrat, "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  min-width: 46px;
  min-height: 26px;
  padding: 7px 11px;
  cursor: pointer;
}

.tw-currency-option + .tw-currency-option {
  border-left: 1px solid rgba(224, 207, 163, 0.35);
}

.tw-currency-option[aria-checked="true"] {
  background: #C9A96E;
  color: #1B2838;
}

.tw-currency-option:hover {
  background: rgba(201, 169, 110, 0.22);
}

.tw-currency-option[aria-checked="true"]:hover {
  background: #C9A96E;
}

.tw-currency-option:focus-visible {
  outline: 2px solid #E0CFA3;
  outline-offset: -2px;
}

.tw-charge-note {
  margin: 10px 0 0;
  font-family: Montserrat, "Helvetica Neue", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-align: center;
  color: #6d5b3a;
}

.tw-charge-note:empty,
.tw-charge-note[hidden] {
  display: none;
}

.support-card .tw-charge-note {
  color: rgba(245, 240, 232, 0.8);
}

.tw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Returning visitors who chose USD or EUR: hide prices until the
   script rewrites them, so the page never flashes the AUD default. */
html.tw-currency-boot [data-tw-price],
html.tw-currency-boot [data-tw-boot-text],
html.tw-currency-boot [data-tw-charge],
html.tw-currency-boot [data-tw-support],
html.tw-currency-boot [data-tw-amount],
html.tw-currency-boot [data-tw-template] {
  visibility: hidden;
}

@media (max-width: 420px) {
  .tw-currency-bar-inner { gap: 8px; padding: 0 8px; }
  .tw-currency-label { letter-spacing: 0.1em; }
  .tw-currency-option {
    min-width: 42px;
    padding: 7px 8px;
  }
}
