/* ========================================
   USER ACCOUNT DROPDOWN
   ======================================== */
.ehc-user-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.user-header {
  width: unset !important;
  margin-bottom: 0 !important;
  color: #16163f;
}

/* Icon trigger */
.ehc-user-icon-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 10px;
  transition: all 0.3s ease;
  color: #16163f;
}

.ehc-user-icon-trigger:hover .ehc-user-icon, .ehc-user-icon-trigger:hover .ehc-dropdown-arrow-icon {
  color: #F9B223 !important;
}

.ehc-user-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.ehc-dropdown-arrow-icon {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.ehc-user-dropdown-wrapper.active .ehc-dropdown-arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown menu */
.ehc-user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 2px solid #16163f;
  border-radius: 3px;
  min-width: 280px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.ehc-user-dropdown-wrapper.active .ehc-user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown header */
.ehc-dropdown-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, #16163f 0%, #2a2a5f 100%);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border: 2px solid #16163f;
}

.ehc-dropdown-header strong {
  display: block;
  color: #F9B223;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ehc-user-email {
  display: block;
  color: #ffffff;
  font-size: 13px;
  opacity: 0.9;
}

/* Divider */
.ehc-dropdown-divider {
  height: 1px;
  background: #e0e0e0;
}

/* Dropdown items */
.ehc-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #16163f;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 500;
}

.ehc-dropdown-item svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.ehc-dropdown-item:hover {
  background-color: rgba(249, 178, 35, 0.1);
  color: #16163f;
  padding-left: 24px;
}

/* Login button special styling */
.ehc-dropdown-item.ehc-login-btn {
  background: #F9B223;
  color: #16163f;
  font-weight: 700;
  border-radius: 8px;
  margin: 8px 12px;
  padding: 14px 20px;
  justify-content: center;
}

.ehc-dropdown-item.ehc-login-btn:hover {
  background: #16163f;
  color: #F9B223;
  padding-left: 20px;
}

/* Logout special styling */
.ehc-dropdown-item.ehc-logout {
  color: #d32f2f;
}

.ehc-dropdown-item.ehc-logout:hover {
  background-color: rgba(211, 47, 47, 0.1);
  color: #d32f2f;
}

.warenkorb-header .elementor-menu-cart__toggle_button {
  border: none;
  background-color: transparent;
  box-shadow: none;
  font-size: 24px;
  padding: 12px;
}

.warenkorb-header .elementor-menu-cart__toggle .elementor-button:hover {
  background-color: rgba(249, 178, 35, 0.1);
  border-color: transparent;
}

.warenkorb-header .elementor-menu-cart__toggle .elementor-button:hover .elementor-button-icon {
  color: #16163f;
}

/* Responsive */
@media (max-width: 768px) {
  .ehc-user-dropdown-menu {
    right: -10px;
    min-width: 260px;
  }
}
@media (max-width: 480px) {
  .ehc-user-dropdown-menu {
    position: fixed;
    top: auto;
    right: 10px;
    left: 10px;
    bottom: 20px;
    transform: translateY(20px);
    min-width: auto;
  }
  .ehc-user-dropdown-wrapper.active .ehc-user-dropdown-menu {
    transform: translateY(0);
  }
}
