.currency-switcher-vertical {
  position: fixed;
  top: 40%;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  pointer-events: none;
  transform: translateX(300px);
  transition: transform 0.35s cubic-bezier(.77, 0, .18, 1), opacity 0.2s;
}

.currency-switcher-vertical:has(.open) {
  transform: translateX(0);
}

.vertical-switcher-btn {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: #66C008;
  color: #fff;
  border: none;
  border-radius: 0px 8px 8px 0px;
  padding: 12px 8px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1002;
  pointer-events: auto;
}

.vertical-switcher-btn:hover {
  background: #66C008;
  color: #fff;
}


.currency-switcher-panel {
  position: relative;
  right: 0;
  max-width: 300px;
  min-width: 300px;
  min-height: 120px;
  max-height: 220px;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.10);
  padding: 32px 20px 20px 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: none;
}

.currency-switcher-panel.open {
  pointer-events: auto;
}

.close-switcher-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  z-index: 2;
}

.currency-switcher-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.18);
  z-index: 999;
}

.currency-switcher-overlay.active {
  display: block;
}

.currency-switcher-label {
  font-size: 1rem;
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

#farmdeck-currency-switcher-form {
  width: 100%;
}

#farmdeck-currency-switcher-select {
  width: 100%;
  max-width: 250px;
  padding: 8px 12px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fafbfc;
  margin-top: 4px;
  margin-bottom: 0;
  box-sizing: border-box;
}
