.gfa-tax-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #222;
  white-space: nowrap;
  user-select: none;
}

.elementor-16010000 .header-nav-row .elementor-element-nujsruq .elementor-widget-wrap > .gfa-tax-toggle {
  margin-left: auto;
  padding-right: 6px;
}

.gfa-tax-toggle__label {
  font-weight: 600;
}

.gfa-tax-toggle__switch {
  display: inline-flex;
  align-items: center;
  background: #efefef;
  border: 1px solid #9b9b9b;
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
  transition: opacity 0.18s ease;
}

.gfa-tax-toggle__btn {
  border: 0;
  background: transparent;
  color: #1f1f1f;
  border-radius: 999px;
  min-width: 34px;
  height: 24px;
  line-height: 24px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.gfa-tax-toggle__btn.is-active {
  background: #111;
  color: #fff;
}

.gfa-tax-toggle__btn:focus-visible {
  outline: 2px solid #1f1f1f;
  outline-offset: 1px;
}

.gfa-tax-toggle.is-pending .gfa-tax-toggle__switch {
  opacity: 0.72;
}

.gfa-tax-toggle__btn:disabled {
  cursor: wait;
}

body.gfa-tax-toggle-pending .product-miniature .product-price-and-shipping .price:not(.regular-price):not(.old-price),
body.gfa-tax-toggle-pending .product-prices .current-price-value {
  opacity: 0.84;
}

@media (max-width: 991px) {
  .gfa-tax-toggle {
    display: none !important;
  }
}

/* Tax mode label near prices */
body.gfa-tax-mode-ht .product-miniature .product-price-and-shipping .price:not(.regular-price):not(.old-price)::after {
  content: " HT";
  font-size: 0.82em;
  font-weight: 700;
  color: #5f6368;
}

body.gfa-tax-mode-ttc .product-miniature .product-price-and-shipping .price:not(.regular-price):not(.old-price)::after {
  content: " TTC";
  font-size: 0.82em;
  font-weight: 700;
  color: #5f6368;
}

body.gfa-tax-mode-ht .product-prices .current-price-value::after {
  content: " HT";
  font-size: 0.82em;
  font-weight: 700;
  color: #5f6368;
}

body.gfa-tax-mode-ttc .product-prices .current-price-value::after {
  content: " TTC";
  font-size: 0.82em;
  font-weight: 700;
  color: #5f6368;
}
