.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid #1f2937;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4rem;
}

.header__logo {
  height: 48px;
}

.header__search {
  flex: 1;
  max-width: 575px;
}

.search-field {
  position: relative;
  width: 100%;
}

.search-field__icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.search-field__icon svg {
  width: 20px;
  height: 20px;
}

.search-field__input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #111827;
  color: white;
}

.search-field__input::placeholder {
  color: #9ca3af;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__nav a,
.language-switcher__button,
.header__cart,
.header__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  font-size: 0.875rem;
  color: white;
  text-decoration: none;
  line-height: normal;
  transition: color 0.2s ease;
}

.header__nav a:hover,
.language-switcher__button:hover,
.header__cart:hover,
.header__profile:hover {
  color: #ff0098;
}

.language-switcher {
  position: relative;
}

.language-switcher__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.875rem;
  font-weight: 400;
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
  transform: none;
}

.language-switch-icon {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.language-switcher__current {
  display: inline-block;
  line-height: 1;
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 120px;
  display: none;
  padding: 0.35rem;
  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.language-switcher.is-open .language-switcher__menu {
  display: block;
}

.language-switcher__menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-radius: 6px;
  background: none;
  color: white;
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}

.language-switcher__menu button:hover {
  background: #1f2937;
  color: #ff0098;
}

.language-switcher__menu button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #9ca3af;
}

.header__cart,
.header__profile {
  position: relative;
}

.header__profile-icon,
.header__cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
}

.header__profile-icon svg{
  width: 16px;
  height: 16px;
  transform: translateY(-1px);

}



.header__cart-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff0099;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

/* Mobile menu button */
.header__menu-button {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Mobile search */
.header__search--mobile {
  display: none;
  padding-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header__search--desktop {
    display: none;
  }

  .header__right {
    display: none;
  }

  .header__menu-button {
    display: block;
  }

  .header__search--mobile {
    display: block;
  }
}

/* Login menu */
.header__login {
  position: relative;
}

.header__login-button {
  padding: 0;
  border: 0;
  background: none;
  color: white;
  cursor: pointer;
}

.header__login-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;

  width: 260px;
  display: none;

  padding: 1rem;

  background: #111827;
  border: 1px solid #374151;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);

  color: white;
}

.header__login.is-open .header__login-menu {
  display: block;
}

.header__login-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header__login-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;

  color: white;
  font-size: 0.875rem;
}

.header__login-form input {
  width: 100%;
  height: 38px;
  padding: 0 0.75rem;

  box-sizing: border-box;

  border: 1px solid #374151;
  border-radius: 6px;

  background: #1f2937;
  color: white;

  font: inherit;
  font-size: 0.875rem;
}

.header__login-form input:focus {
  outline: none;
  border-color: #ff0098;
}

.header__login-submit {
  margin-top: 0.5rem;

  width: 100%;
  height: 40px;

  border: 0;
  border-radius: 6px;

  background: #ff0098;
  color: white;

  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;

  cursor: pointer;
}

.header__login-submit:hover {
  background: #e00087;
}

.header__login-form p{
  margin-top: .5rem;
  margin-bottom: 0rem;

  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;

  text-align: center;
}

.header__login-form a {
  margin-bottom: 0.5rem;

  color: white;
  font-size: 0.875rem;
  text-align: center;
  text-decoration: underline;
}

.header__login-form a:hover {
  color: #ff0098;
}

/* Eingeloggt-Menü */

.header__customer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header__customer-menu .greeting-log {
  margin: 0 0 .9rem .6rem;

  color: white;
  font-size: 0.875rem;
  font-weight: 400;
}

.header__customer-menu .username-log {
  display: block;
  margin: 0.25rem 0 0 .6rem;

  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}

.header__customer-menu a {

  padding: 0 0.75rem;

  display: flex;
  align-items: center;

  color: white;

  font-size: 0.875rem;
  text-decoration: none;
}

.header__customer-menu a:hover {
  color: #ff0098;
}

.header__logout-button {
  margin-top: 0.5rem;

  width: 100%;
  height: 40px;

  border: 0;
  border-radius: 6px;

  background: #ff0098;
  color: white;

  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;

  cursor: pointer;
}

.header__logout-button:hover {
  background: #e00087;
}