.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 40px;
  padding: 3px;
  border: 1px solid #e5eaf1;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(20, 32, 57, .06);
}

.language-switcher-icon {
  width: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1;
}

.language-switcher-icon sup {
  margin-left: -2px;
  margin-top: -8px;
  font-size: 8px;
}

.language-switcher button {
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: color .18s, background .18s, box-shadow .18s;
}

.language-switcher button:hover:not(.active) {
  color: #26364d;
  background: #f3f6fa;
}

.language-switcher button.active {
  color: #fff;
  background: #111b2e;
  box-shadow: 0 3px 9px rgba(15, 23, 42, .22);
}

.language-switcher button:focus-visible {
  outline: 3px solid rgba(22, 141, 242, .22);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .top-actions { gap: 8px; }
  .support-link { display: none; }
}

@media (max-width: 600px) {
  .top-actions { gap: 6px; }
  .language-switcher { height: 36px; padding: 2px; }
  .language-switcher-icon { display: none; }
  .language-switcher button {
    min-width: 36px;
    height: 30px;
    padding: 0 7px;
    font-size: 12px;
  }
  .order-search { padding: 10px 12px; }
}

@media (max-width: 380px) {
  .topbar .brand { gap: 8px; }
  .topbar .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .topbar .brand small { display: none; }
}

body.store-loading {
  overflow: hidden;
}

.store-boot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 78% 8%, #c4f7fb 0, transparent 34%),
    radial-gradient(circle at 12% 78%, #d8eaff 0, transparent 38%),
    #eaf9ff;
  opacity: 1;
  visibility: visible;
  transition: opacity .18s ease, visibility 0s linear 0s;
}

.store-boot-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 55px rgba(26, 80, 125, .14);
  backdrop-filter: blur(12px);
}

.store-boot-card b {
  font-size: 14px;
}

.store-boot-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #cfe9fa;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: store-boot-spin .75s linear infinite;
}

.store-ready .store-boot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility 0s linear .18s;
}

@keyframes store-boot-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .store-boot,
  .store-ready .store-boot { transition: none; }
  .store-boot-spinner {
    animation: none;
    border-color: var(--blue);
  }
}
