.tc-dual-price {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.08rem;
  max-width: 100%;
  line-height: 1.22;
  vertical-align: middle;
}

.tc-dual-price .tc-dual-local {
  color: inherit;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

.tc-dual-price .tc-dual-secondary {
  display: block;
  color: #35506f;
  font-size: 0.72em;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.94;
  white-space: nowrap;
}

.tc-dual-price .tc-dual-secondary .tc-dual-inr,
.tc-dual-price > .tc-dual-inr {
  color: inherit;
  font: inherit;
}

.tc-dual-price .tc-dual-code {
  font-size: 0.76em;
  font-weight: 750;
}

.tc-dual-price .tc-dual-caption {
  display: block;
  color: #63758c;
  font-size: 0.58em;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
}

/* Custom React/service prices are decorated with pseudo-elements so React's
   own text nodes remain untouched and continue updating safely. */
.tc-dual-decorated {
  display: inline-flex !important;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.08rem;
  max-width: 100%;
  vertical-align: middle;
}

.tc-dual-decorated::before {
  content: attr(data-tc-local);
  color: var(--tc-dual-original-color, currentColor);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.tc-dual-decorated::after {
  content: attr(data-tc-caption);
  color: #63758c;
  font-size: 0.58em;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
}

.tc-dual-decorated.tc-dual-local-after::before {
  content: none;
}

.tc-dual-decorated.tc-dual-local-after::after {
  content: attr(data-tc-local) "\A" attr(data-tc-caption);
  color: var(--tc-dual-original-color, currentColor);
  font-size: 0.72em;
  line-height: 1.25;
  white-space: pre;
}

.tc-dual-decorated.tc-dual-hide-inr {
  color: transparent !important;
  line-height: 0;
}

.tc-dual-decorated.tc-dual-hide-inr::before,
.tc-dual-decorated.tc-dual-hide-inr::after {
  color: var(--tc-dual-original-color, #0b2345);
  line-height: 1.25;
}

.tc-dual-inline-text::after {
  content: " · " attr(data-tc-inline-local);
  font-size: 0.82em;
  font-weight: 750;
  opacity: 0.92;
}

del.tc-dual-price {
  text-decoration: none;
}

del.tc-dual-price .tc-dual-local,
del.tc-dual-price .tc-dual-secondary {
  text-decoration: line-through;
}

.tc-dual-input-note {
  display: block;
  margin-top: 0.35rem;
  color: #425d7d;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.tc-currency-selector {
  box-sizing: border-box;
  color: #0b2345;
  font-family: inherit;
}

.tc-currency-selector label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: inherit;
  font-weight: 750;
}

.tc-currency-selector select {
  min-height: 36px;
  max-width: 180px;
  margin: 0;
  padding: 0.35rem 2rem 0.35rem 0.65rem;
  border: 1px solid #a9bdd3;
  border-radius: 10px;
  background-color: #fff;
  color: #0b2345;
  font: 700 0.78rem/1.2 inherit;
}

.tc-currency-selector > small {
  display: block;
  margin-top: 0.2rem;
  color: #526b89;
  font-size: 0.66rem;
  font-weight: 650;
  text-align: right;
}

.tc-currency-selector-floating {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 90;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(108, 132, 163, 0.48);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.96);
  box-shadow: 0 12px 32px rgba(8, 31, 66, 0.16);
  backdrop-filter: blur(10px);
}

.tc-currency-selector-header {
  position: static;
  inset: auto;
  z-index: auto;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(0) scale(1);
  transition: filter 160ms ease, transform 160ms ease;
}

.tc-site-chrome .tc-currency-selector-header label {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  gap: 5px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.tc-currency-selector-header label::before {
  content: "¤";
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.tc-currency-selector-header label::after {
  content: "⌄";
  position: absolute;
  right: 7px;
  top: 50%;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-58%);
  transition: transform 160ms ease;
}

.tc-currency-selector-header label > span,
.tc-currency-selector-header > small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.tc-currency-selector-header select {
  appearance: none;
  width: 58px;
  height: 28px;
  min-height: 28px;
  max-width: 58px;
  margin: 0;
  padding: 0 17px 0 8px;
  border-color: rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 28px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tc-currency-selector-header:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.tc-currency-selector-header:active {
  transform: translateY(0) scale(0.97);
}

.tc-currency-selector-header:focus-within label::before {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(-8deg);
}

.tc-currency-selector-header:focus-within label::after {
  transform: translateY(-42%) rotate(180deg);
}

.tc-currency-selector-header select:hover,
.tc-currency-selector-header select:focus-visible {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.24);
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 1px;
}

.tc-currency-selector-header select option {
  background: #fff;
  color: #0b2345;
}

.tc-inr-payment-notice {
  margin: 0.8rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #b9cce2;
  border-left: 4px solid #2164db;
  border-radius: 9px;
  background: #eef6ff;
  color: #173859;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 782px) {
  .tc-currency-selector-floating:not(.tc-currency-selector-header) {
    right: 12px;
    bottom: 72px;
    padding: 0.42rem 0.5rem;
  }

  .tc-currency-selector-floating:not(.tc-currency-selector-header) label > span,
  .tc-currency-selector-floating:not(.tc-currency-selector-header) > small {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .tc-currency-selector-floating:not(.tc-currency-selector-header) select {
    width: 88px;
    max-width: 88px;
  }

  .tc-currency-selector-header select {
    width: 56px;
    max-width: 56px;
  }

  .tc-dual-price .tc-dual-caption {
    white-space: normal;
  }
}

@media (min-width: 783px) and (max-width: 1260px) {
  .tc-currency-selector-header select {
    width: 56px;
    max-width: 56px;
  }
}

@media (max-width: 520px) {
  body .tc-site-chrome.tc-site-chrome .tc-utility-inner {
    gap: 8px;
  }

  body .tc-site-chrome.tc-site-chrome .tc-header-search {
    flex: 1 1 160px;
    min-width: 0;
  }

  body .tc-site-chrome.tc-site-chrome .tc-utility-actions {
    display: flex !important;
    flex: 0 0 auto;
    gap: 6px;
  }

  .tc-currency-selector-header label::before {
    display: none;
  }

  .tc-currency-selector-header select {
    width: 55px;
    max-width: 55px;
    padding-left: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-currency-selector-header,
  .tc-currency-selector-header label::before,
  .tc-currency-selector-header label::after,
  .tc-currency-selector-header select {
    transition: none;
  }
}

@media print {
  .tc-currency-selector,
  .tc-dual-caption {
    display: none !important;
  }

  .tc-dual-price {
    display: inline;
  }

  .tc-dual-price .tc-dual-secondary {
    display: block;
  }
}
