.product-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0 0 20px;
  padding: 4px;
  border: 1px solid rgba(184, 138, 32, .4);
  border-radius: 14px;
  background: var(--surface-muted);
  isolation: isolate;
}
.product-switch::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 10px;
  background: linear-gradient(145deg, #b88a20, #825b0a);
  box-shadow: 0 3px 10px rgba(104, 72, 8, .25);
  transition: transform .25s ease;
}
.product-switch[data-current="gst"]::before { transform: translateX(100%); }
.product-switch a, .product-switch-current {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: .83rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .2s ease;
}
.product-switch-current { color: #fff; }
.product-switch a:focus-visible { outline: 2px solid #b88a20; outline-offset: 2px; }
.product-switch.is-switching a { color: #fff; }
.product-switch.is-switching .product-switch-current { color: var(--text-soft); }
.mobile-intro-top .product-switch {
  margin: 20px 0 0;
  border-color: rgba(255, 240, 180, .34);
  background: rgba(255,255,255,.1);
}
.mobile-intro-top .product-switch a,
.mobile-intro-top .product-switch.is-switching .product-switch-current { color: #d3e7e3; }
.mobile-intro-top .product-switch.is-switching a { color: #fff; }
.mobile-intro-top .product-switch a:focus-visible { outline-color: #fff; }
@media (max-width: 900px) {
  .auth-card .product-switch { display: none; }
}
.product-switch-loading {
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background: radial-gradient(circle at 50% 30%, #135a51, #0b2724 70%);
  text-align: center;
  animation: product-switch-appear .25s ease both;
}
.product-switch-loading[hidden] { display: none; }
.product-switch-loading-content { display: grid; justify-items: center; gap: 20px; }
.product-switch-loading img { width: min(180px, 55vw); max-height: 65px; object-fit: contain; }
.product-switch-loading strong { font-size: 1.15rem; }
.product-switch-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255,255,255,.2);
  border-top-color: #8de0ce;
  border-radius: 50%;
  animation: product-switch-spin .8s linear infinite;
}
.product-switch-cancel {
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.product-switch-cancel:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes product-switch-spin { to { transform: rotate(360deg); } }
@keyframes product-switch-appear { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .product-switch::before, .product-switch a, .product-switch-current { transition: none; }
  .product-switch-loading, .product-switch-spinner { animation: none; }
}