.wcs-switcher-wrap {
  display: flex;
  width: 100%;
}

.wcs-switcher-wrap--left {
  justify-content: flex-start;
}

.wcs-switcher-wrap--center {
  justify-content: center;
}

.wcs-switcher-wrap--right {
  justify-content: flex-end;
}

.wcs-switcher {
  position: relative;
  display: inline-block;
  font-family: inherit;
  max-width: 100%;
  vertical-align: top;
}

.wcs-switcher--small { width: 140px; }
.wcs-switcher--medium { width: 220px; }
.wcs-switcher--large { width: 300px; }

.wcs-switcher__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
}

.wcs-switcher__toggle:focus-visible {
  outline: 2px solid #2271b1;
  outline-offset: 2px;
}

.wcs-switcher--rounded .wcs-switcher__toggle { border-radius: 999px; }
.wcs-switcher--bordered .wcs-switcher__toggle { border-width: 2px; }
.wcs-switcher--minimal .wcs-switcher__toggle { border: none; background: transparent; padding-inline: 0; }

.wcs-switcher__native {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
}

.wcs-switcher--rounded .wcs-switcher__native { border-radius: 999px; }
.wcs-switcher--bordered .wcs-switcher__native { border-width: 2px; }
.wcs-switcher--minimal .wcs-switcher__native {
  border: none;
  background: transparent;
  padding-inline: 0;
}

.wcs-switcher--js .wcs-switcher__native {
  display: none;
}

.wcs-switcher__toggle {
  display: none;
}

.wcs-switcher--js .wcs-switcher__toggle {
  display: flex;
}

.wcs-switcher__arrow::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.wcs-switcher__list {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 280px;
  overflow: auto;
}

.wcs-switcher__option,
.wcs-switcher__search-wrap {
  padding: 0.5rem 0.875rem;
}

.wcs-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.wcs-switcher__option:hover,
.wcs-switcher__option:focus-visible {
  background: #f6f7f7;
  outline: none;
}

.wcs-switcher__option.is-selected {
  font-weight: 600;
}

.wcs-switcher__search {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  box-sizing: border-box;
}

.wcs-switcher__flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.wcs-switcher__current {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
}

.wcs-switcher__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wcs-switcher.is-open .wcs-switcher__list {
  display: block;
}

.wcs-checkout-notice {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #f0f6fc;
  border-left: 4px solid #2271b1;
}
