
.my-account-dropdown {
    position: relative;
    display: none; /* Hide by default, show by JS */
    align-items: center;
}

.account-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 1000;
    display: none;
    margin-top: 8px;
    overflow: hidden;
}

.account-dropdown-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.account-dropdown-item:hover {
    background-color: #f8f8f8;
}

.account-dropdown-item:last-child {
    border-bottom: none;
}

.account-dropdown-item a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.account-dropdown-item:hover a {
    color: #000;
}

.account-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.account-dropdown-toggle:hover {
    opacity: 0.8;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
    width: 12px;
    height: 8px;
    flex-shrink: 0;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.Header-module__navSecondaryAnchor.my-account-dropdown {
    display: none;
    align-items: center;
    gap: 8px;
}

.sign-in-link {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .account-dropdown-menu {
        min-width: 200px;
        right: -10px;
    }
    
    .account-dropdown-item {
        padding: 14px 16px;
    }
    
    .account-dropdown-item a {
        font-size: 16px;
    }
}

.account-dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.account-dropdown-menu[style*="block"] {
    opacity: 1;
    transform: translateY(0);
}